2026-10-09 17:47:36,319 - DEBUG - Parsing Test data successful
2026-10-09 17:47:36,319 - DEBUG - Payload: {'account': 'admin', 'command': 'listUsers', 'response': 'json'}
2026-10-09 17:47:36,319 - DEBUG - ========Sending GET Cmd : listUsers=======
2026-10-09 17:47:36,332 - DEBUG - Response : [{id : 'a672c44f-c3f0-11f1-975d-1e002100023e', username : 'admin', firstname : 'admin', lastname : 'cloud', created : '2026-10-09T14:49:37+0000', state : 'enabled', account : 'admin', accounttype : 1, usersource : 'native', roleid : '728a7b63-c3f0-11f1-975d-1e002100023e', roletype : 'Admin', rolename : 'Root Admin', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domain : 'ROOT', apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', accountid : 'a6719d11-c3f0-11f1-975d-1e002100023e', iscallerchilddomain : False, isdefault : True, is2faenabled : False, is2famandated : False, apikeyaccess : 'INHERIT'}]
2026-10-09 17:47:36,333 - DEBUG - Payload: {'id': 'a672c44f-c3f0-11f1-975d-1e002100023e', 'command': 'getUserKeys', 'response': 'json'}
2026-10-09 17:47:36,333 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-09 17:47:36,365 - DEBUG - Response : {apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', secretkey : 'R6QPwRUz09TVXBjXNwZk7grTjcPtsFRphH6xhN1oPvnc12YUk296t4KHytg8zRLczDA0X5NsLVi4d8rfMMx3yg', apikeyaccess : True}
2026-10-09 17:47:36,366 - DEBUG - ==== Test Client Creation Successful ====
2026-10-09 17:47:36,469 - DEBUG - ::::::::::::STARTED : TC: test_01_host_ping_on_alert :::::::::::
2026-10-09 17:47:36,471 - DEBUG - Payload: {'name': 'pr147-n88-kvm-ubuntu26', 'command': 'listZones', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'g81kcaAPnol/n3AJ8Uiu1h6VYvI='}
2026-10-09 17:47:36,471 - DEBUG - ========Sending GET Cmd : listZones=======
2026-10-09 17:47:36,510 - DEBUG - Response : [{id : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', name : 'pr147-n88-kvm-ubuntu26', dns1 : '10.0.32.1', dns2 : '8.8.8.8', internaldns1 : '10.0.32.1', internaldns2 : '8.8.4.4', guestcidraddress : '10.1.1.0/24', networktype : 'Advanced', securitygroupsenabled : False, gputotal : 0, gpuused : 0, allocationstate : 'Enabled', zonetoken : '9caf6485-ba87-3697-812a-b093fa5469f5', dhcpprovider : 'VirtualRouter', localstorageenabled : False, tags : [], allowuserspecifyvrmtu : False, routerprivateinterfacemaxmtu : 1500, routerpublicinterfacemaxmtu : 1500, type : 'Core', isnsxenabled : False, ismultiarch : False, asnrange : '', routedmodeenabled : True, hasannotations : False}]
2026-10-09 17:47:36,510 - DEBUG - Payload: {'zoneid': 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', 'command': 'listPods', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'AtMB1K9Ucogm1vucBXaSxl8Ut+c='}
2026-10-09 17:47:36,511 - DEBUG - ========Sending GET Cmd : listPods=======
2026-10-09 17:47:36,543 - DEBUG - Response : [{id : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', name : 'Pod1', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', gateway : '10.0.32.1', netmask : '255.255.240.0', ipranges : [{startip : '10.0.40.21', endip : '10.0.40.40', forsystemvms : '0', vlanid : 'vlan://untagged'}], startip : ['10.0.40.21'], endip : ['10.0.40.40'], forsystemvms : ['0'], vlanid : ['vlan://untagged'], allocationstate : 'Enabled', hasannotations : False}]
2026-10-09 17:47:36,544 - DEBUG - Payload: {'podid': 'f33f2408-f76d-46a7-86a9-ec8b493fd418', 'type': 'Routing', 'zoneid': 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'aW9fzU9KdFeimKrUT2UsyBrfOiQ='}
2026-10-09 17:47:36,544 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 17:47:36,592 - DEBUG - Response : [{id : 'b96d77c4-b4e4-4312-b4cc-605d40b9e03d', name : 'pr147-n88-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.167', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '39.95%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.72, networkkbsread : 24819, networkkbswrite : 0, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 2490933248, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : 'a4ee800f-a5d4-4d74-bbba-6f1148e2f85e', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:05:29+0000', events : 'Remove; HostDown; AgentConnected; AgentDisconnected; ManagementServerDown; PingTimeout; Ping; StartAgentRebalance; ShutdownRequested', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr147-n88-kvm-ubuntu26-kvm1 (b96d77c4-b4e4-4312-b4cc-605d40b9e03d) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-09T17:46:57+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '47317fb1-436d-4246-ac16-2f1df6787333', name : 'pr147-n88-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.170', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.02%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.0, networkkbsread : 25047, networkkbswrite : 1, memorytotal : 6711345152, memorywithoverprovisioning : '6711345152', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 983109632, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:37+0000', managementserverid : 'a4ee800f-a5d4-4d74-bbba-6f1148e2f85e', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:06:48+0000', events : 'Remove; HostDown; AgentConnected; AgentDisconnected; ManagementServerDown; PingTimeout; Ping; StartAgentRebalance; ShutdownRequested', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', Host.OS : 'Ubuntu'}, ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : False}]
2026-10-09 17:48:06,641 - DEBUG - Payload: {'id': 'b96d77c4-b4e4-4312-b4cc-605d40b9e03d', 'podid': 'f33f2408-f76d-46a7-86a9-ec8b493fd418', 'type': 'Routing', 'zoneid': 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'k2UH47KrrAW94p9aawUtUIcKWMo='}
2026-10-09 17:48:06,641 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 17:48:06,691 - DEBUG - Response : [{id : 'b96d77c4-b4e4-4312-b4cc-605d40b9e03d', name : 'pr147-n88-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.167', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '39.95%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.72, networkkbsread : 24819, networkkbswrite : 0, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 2490933248, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:05:29+0000', events : 'Remove; HostDown; AgentConnected; AgentDisconnected; ManagementServerDown; PingTimeout; Ping; StartAgentRebalance; ShutdownRequested', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr147-n88-kvm-ubuntu26-kvm1 (b96d77c4-b4e4-4312-b4cc-605d40b9e03d) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-09T17:46:57+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}]
2026-10-09 17:48:06,709 - DEBUG - Cleaning up the resources
2026-10-09 17:48:06,710 - DEBUG - TestCaseName: test_01_host_ping_on_alert; Time Taken: 30 Seconds; StartTime: Fri Oct  9 17:47:36 2026; EndTime: Fri Oct  9 17:48:06 2026; Result: SUCCESS
2026-10-09 17:48:06,710 - DEBUG - Cleaning up the resources
