kiranchavala commented on issue #12921: URL: https://github.com/apache/cloudstack/issues/12921#issuecomment-4196976972
@TimServers Could you please provide us the management server logs I think the oobm is not correctly configured on your kvm host from the database please check select * from oobm Please find the logs that i had tested with the emulator https://github.com/HewlettPackard/ilo-redfish-emulator ``` 2026-04-07 06:21:52,400 DEBUG [c.c.a.ApiServlet] (qtp1390913202-19:[ctx-97ebc32c]) (logid:d8636a40) ===START=== 10.0.3.251 -- POST command=issueOutOfBandManagementPowerAction response=json action=RESET hostid=2ee21e48-324c-4ff4-a15b-25cc4dab6f15 sessionkey=S2O_d1rRWsnra_6qsJgRLI0KTOA 2026-04-07 06:21:52,400 DEBUG [c.c.a.ApiServlet] (qtp1390913202-19:[ctx-97ebc32c]) (logid:d8636a40) Two factor authentication is already verified for the user 2, so skipping 2026-04-07 06:21:52,408 DEBUG [c.c.a.ApiServer] (qtp1390913202-19:[ctx-97ebc32c, ctx-83d31001]) (logid:d8636a40) CIDRs from which account 'Account [{"accountName":"admin","id":2,"uuid":"acc418c4-2137-11f1-b16a-1e00190002a8"}]' is allowed to perform API calls: 0.0.0.0/0,::/0 2026-04-07 06:21:52,411 INFO [o.a.c.a.DynamicRoleBasedAPIAccessChecker] (qtp1390913202-19:[ctx-97ebc32c, ctx-83d31001]) (logid:d8636a40) Account for user id acc4d966-2137-11f1-b16a-1e00190002a8 is Root Admin or Domain Admin, all APIs are allowed. 2026-04-07 06:21:52,411 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] (qtp1390913202-19:[ctx-97ebc32c, ctx-83d31001]) (logid:d8636a40) RoleService is enabled. We will use it instead of StaticRoleBasedAPIAccessChecker. 2026-04-07 06:21:52,411 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] (qtp1390913202-19:[ctx-97ebc32c, ctx-83d31001]) (logid:d8636a40) API rate limiting is disabled. We will not use ApiRateLimitService. 2026-04-07 06:21:52,439 DEBUG [c.c.a.ApiServer] (qtp1390913202-19:[ctx-97ebc32c, ctx-83d31001]) (logid:d8636a40) Retrieved cmdEventType from job info: HOST.OOBM.ACTION 2026-04-07 06:21:52,445 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (qtp1390913202-19:[ctx-97ebc32c, ctx-83d31001]) (logid:d8636a40) submit async job-190, details: AsyncJob {"accountId":2,"cmd":"org.apache.cloudstack.api.command.admin.outofbandmanagement.IssueOutOfBandManagementPowerActionCmd","cmdInfo":"{\"response\":\"json\",\"ctxUserId\":\"2\",\"sessionkey\":\"S2O_d1rRWsnra_6qsJgRLI0KTOA\",\"action\":\"RESET\",\"hostid\":\"2ee21e48-324c-4ff4-a15b-25cc4dab6f15\",\"httpmethod\":\"POST\",\"ctxStartEventId\":\"683\",\"ctxDetails\":\"{\\\"interface com.cloud.host.Host\\\":\\\"2ee21e48-324c-4ff4-a15b-25cc4dab6f15\\\"}\",\"ctxAccountId\":\"2\",\"cmdEventType\":\"HOST.OOBM.ACTION\"}","cmdVersion":0,"completeMsid":null,"created":null,"id":190,"initMsid":32985768264360,"instanceId":1,"instanceType":"Host","lastPolled":null,"lastUpdated":null,"processStatus":0,"removed":null,"result":null,"resultCode":0,"status":"IN_PROGRESS","userId":2,"uuid":"fde13926-0e0f-42f7-a138-ca8a2e261c59"} 2026-04-07 06:21:52,446 INFO [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-2:[ctx-21440db8, job-190]) (logid:77f3723a) Add job-190 into job monitoring 2026-04-07 06:21:52,450 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl$5] (API-Job-Executor-2:[ctx-21440db8, job-190]) (logid:fde13926) Executing AsyncJob {"accountId":2,"cmd":"org.apache.cloudstack.api.command.admin.outofbandmanagement.IssueOutOfBandManagementPowerActionCmd","cmdInfo":"{\"response\":\"json\",\"ctxUserId\":\"2\",\"sessionkey\":\"S2O_d1rRWsnra_6qsJgRLI0KTOA\",\"action\":\"RESET\",\"hostid\":\"2ee21e48-324c-4ff4-a15b-25cc4dab6f15\",\"httpmethod\":\"POST\",\"ctxStartEventId\":\"683\",\"ctxDetails\":\"{\\\"interface com.cloud.host.Host\\\":\\\"2ee21e48-324c-4ff4-a15b-25cc4dab6f15\\\"}\",\"ctxAccountId\":\"2\",\"cmdEventType\":\"HOST.OOBM.ACTION\"}","cmdVersion":0,"completeMsid":null,"created":null,"id":190,"initMsid":32985768264360,"instanceId":1,"instanceType":"Host","lastPolled":null,"lastUpdated":null,"processStatus":0,"removed":null,"result":null,"resultCode":0,"status":"IN_PROGRESS","userId":2,"uuid":"fde13926-0e0f-42f7-a138-ca8a2e261c59"} 2026-04-07 06:21:52,453 DEBUG [c.c.a.ApiServlet] (qtp1390913202-19:[ctx-97ebc32c, ctx-83d31001]) (logid:d8636a40) ===END=== 10.0.3.251 -- POST command=issueOutOfBandManagementPowerAction response=json action=RESET hostid=2ee21e48-324c-4ff4-a15b-25cc4dab6f15 sessionkey=S2O_d1rRWsnra_6qsJgRLI0KTOA 2026-04-07 06:21:52,499 DEBUG [o.a.c.u.r.RedfishClient] (API-Job-Executor-2:[ctx-21440db8, job-190, ctx-01dd7951]) (logid:fde13926) Retrieved System ID '1' with request 'GET: http://10.0.35.131/redfish/v1/Systems' 2026-04-07 06:21:52,510 DEBUG [o.a.c.u.r.RedfishClient] (API-Job-Executor-2:[ctx-21440db8, job-190, ctx-01dd7951]) (logid:fde13926) Sending ComputerSystem.Reset Command 'ForceRestart' to host '10.0.35.131' with request 'POST http://10.0.35.131/redfish/v1/Systems/1/Actions/ComputerSystem.Reset' 2026-04-07 06:21:52,522 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-2:[ctx-21440db8, job-190, ctx-01dd7951]) (logid:fde13926) Complete async job-190, jobStatus: SUCCEEDED, resultCode: 0, result: org.apache.cloudstack.api.response.OutOfBandManagementResponse/outofbandmanagement/{"hostid":"2ee21e48-324c-4ff4-a15b-25cc4dab6f15","powerstate":"On","enabled":"true","driver":"redfish","address":"10.0.35.131","port":"80","username":"root","password":"r*****","action":"RESET","description":"200","status":"true"} ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
