2026-10-08 03:53:11,353 - DEBUG - Parsing Test data successful
2026-10-08 03:53:11,353 - DEBUG - Payload: {'account': 'admin', 'command': 'listUsers', 'response': 'json'}
2026-10-08 03:53:11,353 - DEBUG - ========Sending GET Cmd : listUsers=======
2026-10-08 03:53:11,365 - DEBUG - Response : [{id : '0a3b4d10-c29a-11f1-8e09-1e005a000279', username : 'admin', firstname : 'admin', lastname : 'cloud', created : '2026-10-07T21:57:07+0000', state : 'enabled', account : 'admin', accounttype : 1, usersource : 'native', roleid : 'd453bee1-c299-11f1-8e09-1e005a000279', roletype : 'Admin', rolename : 'Root Admin', domainid : '9ba0f638-c299-11f1-8e09-1e005a000279', domain : 'ROOT', apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', accountid : '0a3a4637-c29a-11f1-8e09-1e005a000279', iscallerchilddomain : False, isdefault : True, is2faenabled : False, is2famandated : False, apikeyaccess : 'INHERIT'}]
2026-10-08 03:53:11,365 - DEBUG - Payload: {'id': '0a3b4d10-c29a-11f1-8e09-1e005a000279', 'command': 'getUserKeys', 'response': 'json'}
2026-10-08 03:53:11,365 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-08 03:53:11,376 - DEBUG - Response : {apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', secretkey : 'R6QPwRUz09TVXBjXNwZk7grTjcPtsFRphH6xhN1oPvnc12YUk296t4KHytg8zRLczDA0X5NsLVi4d8rfMMx3yg', apikeyaccess : True}
2026-10-08 03:53:11,377 - DEBUG - ==== Test Client Creation Successful ====
2026-10-08 03:53:11,476 - DEBUG - Payload: {'command': 'listZones', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Lf5dPhrChM3cD/o680FpR5v2At0='}
2026-10-08 03:53:11,476 - DEBUG - ========Sending GET Cmd : listZones=======
2026-10-08 03:53:11,514 - DEBUG - Response : [{id : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', name : 'pr147-n78-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 : 'e59019c6-4b5e-3fee-8185-9cd1fc28cd96', dhcpprovider : 'VirtualRouter', localstorageenabled : False, tags : [], allowuserspecifyvrmtu : False, routerprivateinterfacemaxmtu : 1500, routerpublicinterfacemaxmtu : 1500, type : 'Core', isnsxenabled : False, ismultiarch : False, asnrange : '', routedmodeenabled : True, hasannotations : False}]
2026-10-08 03:53:11,515 - DEBUG - Payload: {'command': 'listClusters', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'alLSeQPPL0YJCD404g9yz6L/GyA='}
2026-10-08 03:53:11,515 - DEBUG - ========Sending GET Cmd : listClusters=======
2026-10-08 03:53:11,535 - DEBUG - Response : [{id : '2533b094-5bc3-4177-a58c-cda33af7937a', name : 'p1-c1', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', hypervisortype : 'KVM', clustertype : 'CloudManaged', allocationstate : 'Enabled', managedstate : 'Managed', cpuovercommitratio : '2.0', memoryovercommitratio : '1.0', resourcedetails : {cpuOvercommitRatio : '2.0', drs.imbalance : '1.0', memoryOvercommitRatio : '1.0', drs.algorithm : 'balanced'}, arch : 'x86_64', hasannotations : False}]
2026-10-08 03:53:11,536 - DEBUG - Payload: {'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'BYVU5RhMdLyIIO33ThMJS7BwqWk='}
2026-10-08 03:53:11,536 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:11,586 - DEBUG - Response : [{id : '5823d941-4a36-4c4a-959c-3fea2df4abb9', name : 'pr147-n78-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.121', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.09%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.34, networkkbsread : 57942, networkkbswrite : 1, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1859272704, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:15:36+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm1 (5823d941-4a36-4c4a-959c-3fea2df4abb9) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:09+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'b1379480-77bb-4f02-baa5-3e07201a3272', name : 'pr147-n78-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.225', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.38%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.08, networkkbsread : 58453, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 972718080, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:16:52+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm2 (b1379480-77bb-4f02-baa5-3e07201a3272) is disabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:01+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'e137eff6-0b5b-4005-b7f5-c270f21e9ed4', name : 'v-2-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.43.189', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', memoryallocated : 0, lastpinged : '1970-01-21T05:57:17+0000', virtualmachineid : 'e760a3c9-cfc9-4fab-89ad-832fdcb8b9ab', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-07T22:24:00+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : 'e4ac0a29-a845-4cb2-aa14-41e8e1f72d00', name : 's-1-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.43.200', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', memoryallocated : 0, lastpinged : '1970-01-21T05:57:17+0000', virtualmachineid : 'b96eb5d2-30a6-451f-9495-3af20362657e', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-07T22:24:05+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-08 03:53:11,587 - DEBUG - ::::::::::::STARTED : TC: test_01_list_hosts_no_filter :::::::::::
2026-10-08 03:53:11,587 - DEBUG - Payload: {'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'BYVU5RhMdLyIIO33ThMJS7BwqWk='}
2026-10-08 03:53:11,587 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:11,623 - DEBUG - Response : [{id : '5823d941-4a36-4c4a-959c-3fea2df4abb9', name : 'pr147-n78-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.121', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.09%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.34, networkkbsread : 57942, networkkbswrite : 1, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1859272704, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:15:36+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm1 (5823d941-4a36-4c4a-959c-3fea2df4abb9) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:09+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'b1379480-77bb-4f02-baa5-3e07201a3272', name : 'pr147-n78-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.225', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.38%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.08, networkkbsread : 58453, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 972718080, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:16:52+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm2 (b1379480-77bb-4f02-baa5-3e07201a3272) is disabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:01+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'e137eff6-0b5b-4005-b7f5-c270f21e9ed4', name : 'v-2-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.43.189', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', memoryallocated : 0, lastpinged : '1970-01-21T05:57:17+0000', virtualmachineid : 'e760a3c9-cfc9-4fab-89ad-832fdcb8b9ab', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-07T22:24:00+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : 'e4ac0a29-a845-4cb2-aa14-41e8e1f72d00', name : 's-1-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.43.200', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', memoryallocated : 0, lastpinged : '1970-01-21T05:57:17+0000', virtualmachineid : 'b96eb5d2-30a6-451f-9495-3af20362657e', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-07T22:24:05+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-08 03:53:11,624 - DEBUG - Cleaning up the resources
2026-10-08 03:53:11,624 - DEBUG - TestCaseName: test_01_list_hosts_no_filter; Time Taken: 0 Seconds; StartTime: Thu Oct  8 03:53:11 2026; EndTime: Thu Oct  8 03:53:11 2026; Result: SUCCESS
2026-10-08 03:53:11,624 - DEBUG - ::::::::::::STARTED : TC: test_02_list_hosts_clusterid_filter :::::::::::
2026-10-08 03:53:11,625 - DEBUG - Payload: {'clusterid': '2533b094-5bc3-4177-a58c-cda33af7937a', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'frsNGa+DEVo7UWGXEZGt8RRlN70='}
2026-10-08 03:53:11,625 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:11,664 - DEBUG - Response : [{id : '5823d941-4a36-4c4a-959c-3fea2df4abb9', name : 'pr147-n78-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.121', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.09%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.34, networkkbsread : 57942, networkkbswrite : 1, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1859272704, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:15:36+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm1 (5823d941-4a36-4c4a-959c-3fea2df4abb9) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:09+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'b1379480-77bb-4f02-baa5-3e07201a3272', name : 'pr147-n78-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.225', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.38%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.08, networkkbsread : 58453, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 972718080, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:16:52+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm2 (b1379480-77bb-4f02-baa5-3e07201a3272) is disabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:01+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}]
2026-10-08 03:53:11,665 - DEBUG - Payload: {'clusterid': 'invalidclusterid', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'CL2oGq510D7Q7/3T+iVYHs7q8po='}
2026-10-08 03:53:11,665 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:11,683 - ERROR - Exception:['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter clusterid value=invalidclusterid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter clusterid value=invalidclusterid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.
2026-10-08 03:53:11,683 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.listHosts.listHostsCmd object at 0x7f11cd36c8b0> Exception: ['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest\n    raise self.__lastError\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter clusterid value=invalidclusterid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest
    raise self.__lastError
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter clusterid value=invalidclusterid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.
2026-10-08 03:53:11,683 - DEBUG - Cleaning up the resources
2026-10-08 03:53:11,684 - DEBUG - TestCaseName: test_02_list_hosts_clusterid_filter; Time Taken: 0 Seconds; StartTime: Thu Oct  8 03:53:11 2026; EndTime: Thu Oct  8 03:53:11 2026; Result: SUCCESS
2026-10-08 03:53:11,684 - DEBUG - ::::::::::::STARTED : TC: test_03_list_hosts_hahost_filter :::::::::::
2026-10-08 03:53:11,684 - DEBUG - Payload: {'name': 'ha.tag', 'command': 'listConfigurations', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Unllb/CGuTYeMIqDwLtyGEzyx94='}
2026-10-08 03:53:11,684 - DEBUG - ========Sending GET Cmd : listConfigurations=======
2026-10-08 03:53:11,713 - DEBUG - Response : [{category : 'Advanced', group : 'Compute', subgroup : 'High Availability', name : 'ha.tag', description : 'HA tag defining that the host marked with this tag can be used for HA purposes only', isdynamic : False, component : 'management-server', displaytext : 'Ha tag', type : 'String'}]
2026-10-08 03:53:11,713 - DEBUG - HA is not enabled in the setup
2026-10-08 03:53:11,714 - DEBUG - Payload: {'hahost': 'invalidvalue', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'nxT8EeOIRPj53CTkmwgj7GnXob4='}
2026-10-08 03:53:11,714 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:11,756 - DEBUG - Response : [{id : '5823d941-4a36-4c4a-959c-3fea2df4abb9', name : 'pr147-n78-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.121', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.09%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.34, networkkbsread : 57942, networkkbswrite : 1, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1859272704, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:15:36+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm1 (5823d941-4a36-4c4a-959c-3fea2df4abb9) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:09+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'b1379480-77bb-4f02-baa5-3e07201a3272', name : 'pr147-n78-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.225', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.38%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.08, networkkbsread : 58453, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 972718080, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:16:52+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm2 (b1379480-77bb-4f02-baa5-3e07201a3272) is disabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:01+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'e137eff6-0b5b-4005-b7f5-c270f21e9ed4', name : 'v-2-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.43.189', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', memoryallocated : 0, lastpinged : '1970-01-21T05:57:17+0000', virtualmachineid : 'e760a3c9-cfc9-4fab-89ad-832fdcb8b9ab', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-07T22:24:00+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : 'e4ac0a29-a845-4cb2-aa14-41e8e1f72d00', name : 's-1-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.43.200', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', memoryallocated : 0, lastpinged : '1970-01-21T05:57:17+0000', virtualmachineid : 'b96eb5d2-30a6-451f-9495-3af20362657e', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-07T22:24:05+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-08 03:53:11,757 - DEBUG - Cleaning up the resources
2026-10-08 03:53:11,757 - DEBUG - TestCaseName: test_03_list_hosts_hahost_filter; Time Taken: 0 Seconds; StartTime: Thu Oct  8 03:53:11 2026; EndTime: Thu Oct  8 03:53:11 2026; Result: SUCCESS
2026-10-08 03:53:11,757 - DEBUG - ::::::::::::STARTED : TC: test_04_list_hosts_hypervisor_filter :::::::::::
2026-10-08 03:53:11,758 - DEBUG - Payload: {'hypervisor': 'kvm', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'XoF44qWWyZYldE1MMiSWVteSCvE='}
2026-10-08 03:53:11,758 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:11,800 - DEBUG - Response : [{id : '5823d941-4a36-4c4a-959c-3fea2df4abb9', name : 'pr147-n78-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.121', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.09%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.34, networkkbsread : 57942, networkkbswrite : 1, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1859272704, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:15:36+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm1 (5823d941-4a36-4c4a-959c-3fea2df4abb9) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:09+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'b1379480-77bb-4f02-baa5-3e07201a3272', name : 'pr147-n78-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.225', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.38%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.08, networkkbsread : 58453, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 972718080, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:16:52+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm2 (b1379480-77bb-4f02-baa5-3e07201a3272) is disabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:01+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}]
2026-10-08 03:53:11,801 - DEBUG - Payload: {'hypervisor': 'invalidhypervisor', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'hemZXjlEGcsMKSvIo8PJgLtw8IM='}
2026-10-08 03:53:11,801 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:11,842 - DEBUG - Response : [{id : '5823d941-4a36-4c4a-959c-3fea2df4abb9', name : 'pr147-n78-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.121', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.09%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.34, networkkbsread : 57942, networkkbswrite : 1, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1859272704, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:15:36+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm1 (5823d941-4a36-4c4a-959c-3fea2df4abb9) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:09+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'b1379480-77bb-4f02-baa5-3e07201a3272', name : 'pr147-n78-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.225', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.38%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.08, networkkbsread : 58453, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 972718080, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:16:52+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm2 (b1379480-77bb-4f02-baa5-3e07201a3272) is disabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:01+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'e137eff6-0b5b-4005-b7f5-c270f21e9ed4', name : 'v-2-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.43.189', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', memoryallocated : 0, lastpinged : '1970-01-21T05:57:17+0000', virtualmachineid : 'e760a3c9-cfc9-4fab-89ad-832fdcb8b9ab', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-07T22:24:00+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : 'e4ac0a29-a845-4cb2-aa14-41e8e1f72d00', name : 's-1-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.43.200', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', memoryallocated : 0, lastpinged : '1970-01-21T05:57:17+0000', virtualmachineid : 'b96eb5d2-30a6-451f-9495-3af20362657e', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-07T22:24:05+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-08 03:53:11,843 - DEBUG - Cleaning up the resources
2026-10-08 03:53:11,843 - DEBUG - TestCaseName: test_04_list_hosts_hypervisor_filter; Time Taken: 0 Seconds; StartTime: Thu Oct  8 03:53:11 2026; EndTime: Thu Oct  8 03:53:11 2026; Result: SUCCESS
2026-10-08 03:53:11,843 - DEBUG - ::::::::::::STARTED : TC: test_05_list_hosts_id_filter :::::::::::
2026-10-08 03:53:11,844 - DEBUG - Payload: {'id': '5823d941-4a36-4c4a-959c-3fea2df4abb9', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'IX0+/dJA5yrh5BuhRJ8FLJ6CMtk='}
2026-10-08 03:53:11,844 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:11,873 - DEBUG - Response : [{id : '5823d941-4a36-4c4a-959c-3fea2df4abb9', name : 'pr147-n78-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.121', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.09%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.34, networkkbsread : 57942, networkkbswrite : 1, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1859272704, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:15:36+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm1 (5823d941-4a36-4c4a-959c-3fea2df4abb9) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:09+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}]
2026-10-08 03:53:11,874 - DEBUG - Payload: {'id': 'invalidid', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'gavK3wcsa+ZupTXjskT9WdjuN0A='}
2026-10-08 03:53:11,874 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:11,891 - ERROR - Exception:['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter id value=invalidid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter id value=invalidid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.
2026-10-08 03:53:11,891 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.listHosts.listHostsCmd object at 0x7f11cd36cd90> Exception: ['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest\n    raise self.__lastError\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter id value=invalidid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest
    raise self.__lastError
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter id value=invalidid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.
2026-10-08 03:53:11,892 - DEBUG - Cleaning up the resources
2026-10-08 03:53:11,892 - DEBUG - TestCaseName: test_05_list_hosts_id_filter; Time Taken: 0 Seconds; StartTime: Thu Oct  8 03:53:11 2026; EndTime: Thu Oct  8 03:53:11 2026; Result: SUCCESS
2026-10-08 03:53:11,892 - DEBUG - ::::::::::::STARTED : TC: test_06_list_hosts_keyword_filter :::::::::::
2026-10-08 03:53:11,893 - DEBUG - Payload: {'keyword': 'pr147-n78-kvm-ubuntu26-kvm1', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'U97jqOkz2eP5zp7UEhGfKJUF8hk='}
2026-10-08 03:53:11,893 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:11,922 - DEBUG - Response : [{id : '5823d941-4a36-4c4a-959c-3fea2df4abb9', name : 'pr147-n78-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.121', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.09%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.34, networkkbsread : 57942, networkkbswrite : 1, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1859272704, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:15:36+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm1 (5823d941-4a36-4c4a-959c-3fea2df4abb9) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:09+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}]
2026-10-08 03:53:11,922 - DEBUG - Payload: {'keyword': 'invalidkeyword', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'4qgWgzQ7ZqXNBlo9jlCbeWxI6Kg='}
2026-10-08 03:53:11,922 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:11,938 - DEBUG - Response : None
2026-10-08 03:53:11,938 - DEBUG - Cleaning up the resources
2026-10-08 03:53:11,938 - DEBUG - TestCaseName: test_06_list_hosts_keyword_filter; Time Taken: 0 Seconds; StartTime: Thu Oct  8 03:53:11 2026; EndTime: Thu Oct  8 03:53:11 2026; Result: SUCCESS
2026-10-08 03:53:11,938 - DEBUG - ::::::::::::STARTED : TC: test_07_list_hosts_name_filter :::::::::::
2026-10-08 03:53:11,939 - DEBUG - Payload: {'name': 'pr147-n78-kvm-ubuntu26-kvm1', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'J+kdrmzNlV5mgbFvNQj7VmKwVcg='}
2026-10-08 03:53:11,939 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:11,964 - DEBUG - Response : [{id : '5823d941-4a36-4c4a-959c-3fea2df4abb9', name : 'pr147-n78-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.121', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.09%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.34, networkkbsread : 57942, networkkbswrite : 1, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1859272704, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:15:36+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm1 (5823d941-4a36-4c4a-959c-3fea2df4abb9) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:09+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}]
2026-10-08 03:53:11,965 - DEBUG - Payload: {'name': 'invalidname', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'wiK+F5M7iyVuxnYQaNPKAMCIM8k='}
2026-10-08 03:53:11,965 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:11,982 - DEBUG - Response : None
2026-10-08 03:53:11,983 - DEBUG - Cleaning up the resources
2026-10-08 03:53:11,983 - DEBUG - TestCaseName: test_07_list_hosts_name_filter; Time Taken: 0 Seconds; StartTime: Thu Oct  8 03:53:11 2026; EndTime: Thu Oct  8 03:53:11 2026; Result: SUCCESS
2026-10-08 03:53:11,984 - DEBUG - ::::::::::::STARTED : TC: test_08_list_hosts_podid_filter :::::::::::
2026-10-08 03:53:11,984 - DEBUG - Payload: {'podid': 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'AIFGOo5fpU80H1R6POu7qZiDdFU='}
2026-10-08 03:53:11,984 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:12,023 - DEBUG - Response : [{id : '5823d941-4a36-4c4a-959c-3fea2df4abb9', name : 'pr147-n78-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.121', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.09%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.34, networkkbsread : 57942, networkkbswrite : 1, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1859272704, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:15:36+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm1 (5823d941-4a36-4c4a-959c-3fea2df4abb9) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:09+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'b1379480-77bb-4f02-baa5-3e07201a3272', name : 'pr147-n78-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.225', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.38%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.08, networkkbsread : 58453, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 972718080, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:16:52+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm2 (b1379480-77bb-4f02-baa5-3e07201a3272) is disabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:01+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'e137eff6-0b5b-4005-b7f5-c270f21e9ed4', name : 'v-2-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.43.189', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', memoryallocated : 0, lastpinged : '1970-01-21T05:57:17+0000', virtualmachineid : 'e760a3c9-cfc9-4fab-89ad-832fdcb8b9ab', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-07T22:24:00+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : 'e4ac0a29-a845-4cb2-aa14-41e8e1f72d00', name : 's-1-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.43.200', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', memoryallocated : 0, lastpinged : '1970-01-21T05:57:17+0000', virtualmachineid : 'b96eb5d2-30a6-451f-9495-3af20362657e', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-07T22:24:05+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-08 03:53:12,023 - DEBUG - Payload: {'podid': 'invalidpodid', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'qF/TG7nntF/W6TWS2bxsdD0BqDg='}
2026-10-08 03:53:12,023 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:12,042 - ERROR - Exception:['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter podid value=invalidpodid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter podid value=invalidpodid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.
2026-10-08 03:53:12,043 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.listHosts.listHostsCmd object at 0x7f11cd36cdf0> Exception: ['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest\n    raise self.__lastError\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter podid value=invalidpodid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest
    raise self.__lastError
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter podid value=invalidpodid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.
2026-10-08 03:53:12,043 - DEBUG - Cleaning up the resources
2026-10-08 03:53:12,043 - DEBUG - TestCaseName: test_08_list_hosts_podid_filter; Time Taken: 0 Seconds; StartTime: Thu Oct  8 03:53:11 2026; EndTime: Thu Oct  8 03:53:12 2026; Result: SUCCESS
2026-10-08 03:53:12,043 - DEBUG - ::::::::::::STARTED : TC: test_09_list_hosts_resourcestate_filter :::::::::::
2026-10-08 03:53:12,044 - DEBUG - Payload: {'resourcestate': 'Enabled', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'3LDIQwZN1Zn0OnTfPcFGSP5pggY='}
2026-10-08 03:53:12,044 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:12,085 - DEBUG - Response : [{id : '5823d941-4a36-4c4a-959c-3fea2df4abb9', name : 'pr147-n78-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.121', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.09%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.34, networkkbsread : 57942, networkkbswrite : 1, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1859272704, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:15:36+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm1 (5823d941-4a36-4c4a-959c-3fea2df4abb9) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:09+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'b1379480-77bb-4f02-baa5-3e07201a3272', name : 'pr147-n78-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.225', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.38%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.08, networkkbsread : 58453, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 972718080, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:16:52+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm2 (b1379480-77bb-4f02-baa5-3e07201a3272) is disabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:01+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'e137eff6-0b5b-4005-b7f5-c270f21e9ed4', name : 'v-2-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.43.189', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', memoryallocated : 0, lastpinged : '1970-01-21T05:57:17+0000', virtualmachineid : 'e760a3c9-cfc9-4fab-89ad-832fdcb8b9ab', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-07T22:24:00+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : 'e4ac0a29-a845-4cb2-aa14-41e8e1f72d00', name : 's-1-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.43.200', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', memoryallocated : 0, lastpinged : '1970-01-21T05:57:17+0000', virtualmachineid : 'b96eb5d2-30a6-451f-9495-3af20362657e', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-07T22:24:05+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-08 03:53:12,085 - DEBUG - Payload: {'resourcestate': 'invalidresourcestate', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'O38e6/k/HYXOMAxHvEfE8rv+H9Q='}
2026-10-08 03:53:12,085 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:12,103 - DEBUG - Response : None
2026-10-08 03:53:12,104 - DEBUG - Cleaning up the resources
2026-10-08 03:53:12,104 - DEBUG - TestCaseName: test_09_list_hosts_resourcestate_filter; Time Taken: 0 Seconds; StartTime: Thu Oct  8 03:53:12 2026; EndTime: Thu Oct  8 03:53:12 2026; Result: SUCCESS
2026-10-08 03:53:12,104 - DEBUG - ::::::::::::STARTED : TC: test_10_list_hosts_state_filter :::::::::::
2026-10-08 03:53:12,105 - DEBUG - Payload: {'state': 'Up', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'vlWwGV17u6ZLXfDJ+0lBqHEwj20='}
2026-10-08 03:53:12,105 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:12,147 - DEBUG - Response : [{id : '5823d941-4a36-4c4a-959c-3fea2df4abb9', name : 'pr147-n78-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.121', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.09%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.34, networkkbsread : 57942, networkkbswrite : 1, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1859272704, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:15:36+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm1 (5823d941-4a36-4c4a-959c-3fea2df4abb9) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:09+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'b1379480-77bb-4f02-baa5-3e07201a3272', name : 'pr147-n78-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.225', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.38%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.08, networkkbsread : 58453, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 972718080, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:16:52+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm2 (b1379480-77bb-4f02-baa5-3e07201a3272) is disabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:01+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'e137eff6-0b5b-4005-b7f5-c270f21e9ed4', name : 'v-2-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.43.189', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', memoryallocated : 0, lastpinged : '1970-01-21T05:57:17+0000', virtualmachineid : 'e760a3c9-cfc9-4fab-89ad-832fdcb8b9ab', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-07T22:24:00+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : 'e4ac0a29-a845-4cb2-aa14-41e8e1f72d00', name : 's-1-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.43.200', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', memoryallocated : 0, lastpinged : '1970-01-21T05:57:17+0000', virtualmachineid : 'b96eb5d2-30a6-451f-9495-3af20362657e', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-07T22:24:05+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-08 03:53:12,147 - DEBUG - Payload: {'state': 'invalidstate', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'PEZOhLriP/IuTxyeBGkwuEO/V1I='}
2026-10-08 03:53:12,147 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:12,168 - DEBUG - Response : None
2026-10-08 03:53:12,169 - DEBUG - Cleaning up the resources
2026-10-08 03:53:12,169 - DEBUG - TestCaseName: test_10_list_hosts_state_filter; Time Taken: 0 Seconds; StartTime: Thu Oct  8 03:53:12 2026; EndTime: Thu Oct  8 03:53:12 2026; Result: SUCCESS
2026-10-08 03:53:12,169 - DEBUG - ::::::::::::STARTED : TC: test_11_list_hosts_type_filter :::::::::::
2026-10-08 03:53:12,169 - DEBUG - Payload: {'type': 'Routing', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'9KlWSNY7yvCwHu/EybCc015LIWE='}
2026-10-08 03:53:12,169 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:12,206 - DEBUG - Response : [{id : '5823d941-4a36-4c4a-959c-3fea2df4abb9', name : 'pr147-n78-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.121', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.09%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.34, networkkbsread : 57942, networkkbswrite : 1, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1859272704, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:15:36+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm1 (5823d941-4a36-4c4a-959c-3fea2df4abb9) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:09+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'b1379480-77bb-4f02-baa5-3e07201a3272', name : 'pr147-n78-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.225', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.38%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.08, networkkbsread : 58453, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 972718080, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:16:52+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm2 (b1379480-77bb-4f02-baa5-3e07201a3272) is disabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:01+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}]
2026-10-08 03:53:12,206 - DEBUG - Payload: {'type': 'invalidtype', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'f1gwI2LFo+XiCF5HlRaiH8L6wcg='}
2026-10-08 03:53:12,206 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:12,237 - DEBUG - Response : None
2026-10-08 03:53:12,238 - DEBUG - Cleaning up the resources
2026-10-08 03:53:12,238 - DEBUG - TestCaseName: test_11_list_hosts_type_filter; Time Taken: 0 Seconds; StartTime: Thu Oct  8 03:53:12 2026; EndTime: Thu Oct  8 03:53:12 2026; Result: SUCCESS
2026-10-08 03:53:12,238 - DEBUG - ::::::::::::STARTED : TC: test_12_list_hosts_zoneid_filter :::::::::::
2026-10-08 03:53:12,239 - DEBUG - Payload: {'zoneid': 'b40df8dc-0593-4871-a92d-b035d18aa0c4', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'FIuhqwrwGHhsl3fmaPHG9vxVz/Y='}
2026-10-08 03:53:12,239 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:12,282 - DEBUG - Response : [{id : '5823d941-4a36-4c4a-959c-3fea2df4abb9', name : 'pr147-n78-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.121', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.09%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.34, networkkbsread : 57942, networkkbswrite : 1, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1859272704, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:15:36+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm1 (5823d941-4a36-4c4a-959c-3fea2df4abb9) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:09+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'b1379480-77bb-4f02-baa5-3e07201a3272', name : 'pr147-n78-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.225', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.38%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.08, networkkbsread : 58453, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 972718080, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:17+0000', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:16:52+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', 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-n78-kvm-ubuntu26-kvm2 (b1379480-77bb-4f02-baa5-3e07201a3272) is disabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-08T01:48:01+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : 'e137eff6-0b5b-4005-b7f5-c270f21e9ed4', name : 'v-2-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.43.189', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', memoryallocated : 0, lastpinged : '1970-01-21T05:57:17+0000', virtualmachineid : 'e760a3c9-cfc9-4fab-89ad-832fdcb8b9ab', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-07T22:24:00+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : 'e4ac0a29-a845-4cb2-aa14-41e8e1f72d00', name : 's-1-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.43.200', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', memoryallocated : 0, lastpinged : '1970-01-21T05:57:17+0000', virtualmachineid : 'b96eb5d2-30a6-451f-9495-3af20362657e', managementserverid : 'ec19d08a-2c1a-4e91-910a-c35b6350f992', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-07T22:24:05+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-08 03:53:12,282 - DEBUG - Payload: {'zoneid': 'invalidzoneid', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'vxS+pjHlG1Hkb1R/Ot1xb9rG+80='}
2026-10-08 03:53:12,283 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 03:53:12,304 - ERROR - Exception:['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter zoneid value=invalidzoneid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter zoneid value=invalidzoneid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.
2026-10-08 03:53:12,304 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.listHosts.listHostsCmd object at 0x7f11cd36cdf0> Exception: ['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest\n    raise self.__lastError\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter zoneid value=invalidzoneid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest
    raise self.__lastError
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter zoneid value=invalidzoneid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.
2026-10-08 03:53:12,305 - DEBUG - Cleaning up the resources
2026-10-08 03:53:12,305 - DEBUG - TestCaseName: test_12_list_hosts_zoneid_filter; Time Taken: 0 Seconds; StartTime: Thu Oct  8 03:53:12 2026; EndTime: Thu Oct  8 03:53:12 2026; Result: SUCCESS
2026-10-08 03:53:12,305 - DEBUG - Cleaning up the resources
