GitHub user alsko-icom added a comment to the discussion: Starting instances in 
a domain other than root fails,

Thanks for ponting it out, I hope you can make something of the output. The log 
lines containing the logid of the failure are the below.

[root@cloudstack1 ~]# cat /var/log/cloudstack/management/management-server.log 
|grep 'logid:738bcad5'
2025-03-06 09:17:08,584 DEBUG [c.c.a.ApiServlet] 
(qtp1390913202-168842:[ctx-8e9f0fbc]) (logid:738bcad5) ===START===  
10.200.54.67 -- GET  
listall=true&details=group,nics,secgrp,tmpl,servoff,diskoff,iso,volume,affgrp,backoff&isvnf=false&id=68cbdc53-28f2-4a9a-8e97-54796be4ed19&page=1&pagesize=20&showIcon=true&command=listVirtualMachines&response=json&sessionkey=wUWgcVxiOrrrNRhNC1Cn5oNndBs
2025-03-06 09:17:08,584 DEBUG [c.c.a.ApiServlet] 
(qtp1390913202-168842:[ctx-8e9f0fbc]) (logid:738bcad5) Two factor 
authentication is already verified for the user 12, so skipping
2025-03-06 09:17:08,586 DEBUG [c.c.a.ApiServer] 
(qtp1390913202-168842:[ctx-8e9f0fbc, ctx-2e9d9008]) (logid:738bcad5) CIDRs from 
which account 'Account 
[{"accountName":"alsko-VF9","id":15,"uuid":"b0f41028-9b78-4d71-bac2-ef0bcedb8d26"}]'
 is allowed to perform API calls: 0.0.0.0/0,::/0
2025-03-06 09:17:08,589 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] 
(qtp1390913202-168842:[ctx-8e9f0fbc, ctx-2e9d9008]) (logid:738bcad5) 
RoleService is enabled. We will use it instead of 
StaticRoleBasedAPIAccessChecker.
2025-03-06 09:17:08,589 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] 
(qtp1390913202-168842:[ctx-8e9f0fbc, ctx-2e9d9008]) (logid:738bcad5) API rate 
limiting is disabled. We will not use ApiRateLimitService.
2025-03-06 09:17:08,589 DEBUG [o.a.c.a.c.u.v.ListVMsCmd] 
(qtp1390913202-168842:[ctx-8e9f0fbc, ctx-2e9d9008]) (logid:738bcad5) Ignoring 
parameter displayvm as the caller is not authorized to pass it in
2025-03-06 09:17:08,590 DEBUG [o.a.c.a.c.u.v.ListVMsCmd] 
(qtp1390913202-168842:[ctx-8e9f0fbc, ctx-2e9d9008]) (logid:738bcad5) Ignoring 
parameter displayvm as the caller is not authorized to pass it in
2025-03-06 09:17:08,601 INFO  [c.c.a.ApiServlet] 
(qtp1390913202-168842:[ctx-8e9f0fbc, ctx-2e9d9008]) (logid:738bcad5) (userId=12 
accountId=15 sessionId=node01sy0k5s5ah5381r0d33lrgmh7f14) 10.200.54.67 -- GET 
listall=true&details=group,nics,secgrp,tmpl,servoff,diskoff,iso,volume,affgrp,backoff&isvnf=false&id=68cbdc53-28f2-4a9a-8e97-54796be4ed19&page=1&pagesize=20&showIcon=true&command=listVirtualMachines&response=json&sessionkey=wUWgcVxiOrrrNRhNC1Cn5oNndBs
 200 
{"listvirtualmachinesresponse":{"count":1,"virtualmachine":[{"id":"68cbdc53-28f2-4a9a-8e97-54796be4ed19","name":"alsko-debi-vf9","displayname":"alsko-debi-vf9","account":"alsko-VF9","userid":"7a8769e9-8124-4468-a16c-8ab0a4d6b956","username":"alsko","domainid":"3796f13c-747c-46c8-b536-0cf018806957","domain":"VF0000999sub","domainpath":"/VodafoneVCS/VF0000999sub/","created":"2025-03-05T18:00:22+0200","state":"Stopped","haenable":false,"zoneid":"d5043dad-92b7-4307-a3b7-36b7db2a7e36","zonename":"A5-Zone1","templateid":"520cbcdb-7ec8-
 4aa1-a611-74aafb9bc81e","templatename":"TPL-Debian 12.9.0 Standard for KVM 
02.2025","templatetype":"USER","templateformat":"QCOW2","templatedisplaytext":"TPL-Debian
 12.9.0 Standard for KVM 
02.2025","passwordenabled":false,"serviceofferingid":"05d19b92-eaba-43a0-94d8-d13803b9c14c","serviceofferingname":"Medium
 
Instance","cpunumber":1,"cpuspeed":1000,"memory":1024,"guestosid":"7596006d-d507-46d7-88be-0dd160efb5c4","rootdeviceid":0,"rootdevicetype":"ROOT","securitygroup":[],"nic":[{"id":"f3b2f3b7-8e62-43a5-b183-267e1f2c89f0","networkid":"b38568fe-5367-44a9-851b-c9fcf7749e92","networkname":"COL-462-P2P","isolationuri":"vlan://462","broadcasturi":"vlan://462","traffictype":"Guest","type":"L2","isdefault":true,"macaddress":"02:01:00:da:00:0a","secondaryip":[],"extradhcpoption":[],"deviceid":"0"}],"hypervisor":"KVM","details":{"deployvm":"true","UEFI":"SECURE"},"readonlydetails":"dataDiskController,
 
rootDiskController","affinitygroup":[],"isdynamicallyscalable":false,"deleteprotection":fal
 se,"ostypeid":"7596006d-d507-46d7-88be-0dd160efb5c4","osdisplayname":"Debian 
GNU/Linux 12 
(64-bit)","bootmode":"secure","boottype":"Uefi","receivedbytes":0,"sentbytes":0,"tags":[],"hasannotations":false}]}}
2025-03-06 09:17:08,601 DEBUG [c.c.a.ApiServlet] 
(qtp1390913202-168842:[ctx-8e9f0fbc, ctx-2e9d9008]) (logid:738bcad5) ===END===  
10.200.54.67 -- GET  
listall=true&details=group,nics,secgrp,tmpl,servoff,diskoff,iso,volume,affgrp,backoff&isvnf=false&id=68cbdc53-28f2-4a9a-8e97-54796be4ed19&page=1&pagesize=20&showIcon=true&command=listVirtualMachines&response=json&sessionkey=wUWgcVxiOrrrNRhNC1Cn5oNndBs
[root@cloudstack1 ~]#


GitHub link: 
https://github.com/apache/cloudstack/discussions/10430#discussioncomment-12410481

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to