2026-10-27 17:56:36,923 - DEBUG - Parsing Test data successful
2026-10-27 17:56:36,923 - DEBUG - Payload: {'account': 'admin', 'command': 'listUsers', 'response': 'json'}
2026-10-27 17:56:36,923 - DEBUG - ========Sending GET Cmd : listUsers=======
2026-10-27 17:56:36,938 - DEBUG - Response : [{id : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', username : 'admin', firstname : 'admin', lastname : 'cloud', created : '2026-10-27T12:05:51+0000', state : 'enabled', account : 'admin', accounttype : 1, usersource : 'native', roleid : '87d83eed-d1fe-11f1-81aa-1e0044000301', roletype : 'Admin', rolename : 'Root Admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', iscallerchilddomain : False, isdefault : True, is2faenabled : False, is2famandated : False, apikeyaccess : 'INHERIT'}]
2026-10-27 17:56:36,938 - DEBUG - Payload: {'id': 'c1166b9d-d1fe-11f1-81aa-1e0044000301', 'command': 'getUserKeys', 'response': 'json'}
2026-10-27 17:56:36,938 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-27 17:56:36,963 - DEBUG - Response : {apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', secretkey : 'R6QPwRUz09TVXBjXNwZk7grTjcPtsFRphH6xhN1oPvnc12YUk296t4KHytg8zRLczDA0X5NsLVi4d8rfMMx3yg', apikeyaccess : True}
2026-10-27 17:56:36,963 - DEBUG - ==== Test Client Creation Successful ====
2026-10-27 17:56:37,106 - DEBUG - Payload: {'command': 'listZones', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Lf5dPhrChM3cD/o680FpR5v2At0='}
2026-10-27 17:56:37,106 - DEBUG - ========Sending GET Cmd : listZones=======
2026-10-27 17:56:37,135 - DEBUG - Response : [{id : 'f630bd38-52a4-422f-9829-a3efc24896fe', name : 'pr14320-n151-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 : '0808943c-497a-3662-b9bc-14ca6b8458e6', dhcpprovider : 'VirtualRouter', localstorageenabled : False, tags : [], allowuserspecifyvrmtu : False, routerprivateinterfacemaxmtu : 1500, routerpublicinterfacemaxmtu : 1500, type : 'Core', isnsxenabled : False, ismultiarch : False, asnrange : '', routedmodeenabled : True, hasannotations : False}]
2026-10-27 17:56:37,136 - DEBUG - Payload: {'command': 'listClusters', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'alLSeQPPL0YJCD404g9yz6L/GyA='}
2026-10-27 17:56:37,136 - DEBUG - ========Sending GET Cmd : listClusters=======
2026-10-27 17:56:37,160 - DEBUG - Response : [{id : 'ffdd3b07-c822-42a2-8129-17846ce57325', name : 'p1-c1', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-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-27 17:56:37,160 - DEBUG - Payload: {'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'BYVU5RhMdLyIIO33ThMJS7BwqWk='}
2026-10-27 17:56:37,160 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,191 - DEBUG - Response : [{id : '80d731b4-ac5c-457c-b85b-9ea8ed9dbf93', name : 'pr14320-n151-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.34.112', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '4.93%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.1, networkkbsread : 60459, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 2239717376, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:40+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:22:21+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hosttags : 's1,s2', explicithosttags : 's1,s2', istagarule : False, hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm1 (80d731b4-ac5c-457c-b85b-9ea8ed9dbf93) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:51+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '19c60089-31f8-4069-95d1-fb9bad066625', name : 'pr14320-n151-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.34.113', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.44%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.06, networkkbsread : 62896, networkkbswrite : 0, memorytotal : 6711353344, memorywithoverprovisioning : '6711353344', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 914337792, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:39+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:23:59+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm2 (19c60089-31f8-4069-95d1-fb9bad066625) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:59+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '3f86d14b-da7f-4735-8d8b-76ae488aa622', name : 'v-1-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.45.129', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', memoryallocated : 0, lastpinged : '2026-10-27T15:29:40+0000', virtualmachineid : '012ba427-df1a-4588-a643-689e9f90ddad', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-27T12:32:11+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : 'c2f65634-a2b8-4a7c-939a-f2d20cf13bb0', name : 's-2-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.45.131', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', memoryallocated : 0, lastpinged : '2026-10-27T15:29:40+0000', virtualmachineid : '3a885c8e-72ed-441c-b2cb-aed0fa699edf', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-27T12:32:19+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-27 17:56:37,191 - DEBUG - ::::::::::::STARTED : TC: test_01_list_hosts_no_filter :::::::::::
2026-10-27 17:56:37,192 - DEBUG - Payload: {'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'BYVU5RhMdLyIIO33ThMJS7BwqWk='}
2026-10-27 17:56:37,193 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,224 - DEBUG - Response : [{id : '80d731b4-ac5c-457c-b85b-9ea8ed9dbf93', name : 'pr14320-n151-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.34.112', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '4.93%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.1, networkkbsread : 60459, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 2239717376, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:40+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:22:21+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hosttags : 's1,s2', explicithosttags : 's1,s2', istagarule : False, hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm1 (80d731b4-ac5c-457c-b85b-9ea8ed9dbf93) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:51+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '19c60089-31f8-4069-95d1-fb9bad066625', name : 'pr14320-n151-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.34.113', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.44%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.06, networkkbsread : 62896, networkkbswrite : 0, memorytotal : 6711353344, memorywithoverprovisioning : '6711353344', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 914337792, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:39+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:23:59+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm2 (19c60089-31f8-4069-95d1-fb9bad066625) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:59+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '3f86d14b-da7f-4735-8d8b-76ae488aa622', name : 'v-1-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.45.129', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', memoryallocated : 0, lastpinged : '2026-10-27T15:29:40+0000', virtualmachineid : '012ba427-df1a-4588-a643-689e9f90ddad', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-27T12:32:11+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : 'c2f65634-a2b8-4a7c-939a-f2d20cf13bb0', name : 's-2-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.45.131', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', memoryallocated : 0, lastpinged : '2026-10-27T15:29:40+0000', virtualmachineid : '3a885c8e-72ed-441c-b2cb-aed0fa699edf', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-27T12:32:19+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-27 17:56:37,224 - DEBUG - Cleaning up the resources
2026-10-27 17:56:37,225 - DEBUG - TestCaseName: test_01_list_hosts_no_filter; Time Taken: 0 Seconds; StartTime: Tue Oct 27 17:56:37 2026; EndTime: Tue Oct 27 17:56:37 2026; Result: SUCCESS
2026-10-27 17:56:37,225 - DEBUG - ::::::::::::STARTED : TC: test_02_list_hosts_clusterid_filter :::::::::::
2026-10-27 17:56:37,226 - DEBUG - Payload: {'clusterid': 'ffdd3b07-c822-42a2-8129-17846ce57325', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'4KPQ/ZShJtxqLPT8GaZV2wFxYjA='}
2026-10-27 17:56:37,226 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,256 - DEBUG - Response : [{id : '80d731b4-ac5c-457c-b85b-9ea8ed9dbf93', name : 'pr14320-n151-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.34.112', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '4.93%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.1, networkkbsread : 60459, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 2239717376, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:40+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:22:21+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hosttags : 's1,s2', explicithosttags : 's1,s2', istagarule : False, hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm1 (80d731b4-ac5c-457c-b85b-9ea8ed9dbf93) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:51+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '19c60089-31f8-4069-95d1-fb9bad066625', name : 'pr14320-n151-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.34.113', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.44%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.06, networkkbsread : 62896, networkkbswrite : 0, memorytotal : 6711353344, memorywithoverprovisioning : '6711353344', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 914337792, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:39+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:23:59+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm2 (19c60089-31f8-4069-95d1-fb9bad066625) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:59+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}]
2026-10-27 17:56:37,257 - DEBUG - Payload: {'clusterid': 'invalidclusterid', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'CL2oGq510D7Q7/3T+iVYHs7q8po='}
2026-10-27 17:56:37,257 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,274 - 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-27 17:56:37,275 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.listHosts.listHostsCmd object at 0x7fbb1d7524f0> 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-27 17:56:37,275 - DEBUG - Cleaning up the resources
2026-10-27 17:56:37,275 - DEBUG - TestCaseName: test_02_list_hosts_clusterid_filter; Time Taken: 0 Seconds; StartTime: Tue Oct 27 17:56:37 2026; EndTime: Tue Oct 27 17:56:37 2026; Result: SUCCESS
2026-10-27 17:56:37,276 - DEBUG - ::::::::::::STARTED : TC: test_03_list_hosts_hahost_filter :::::::::::
2026-10-27 17:56:37,276 - DEBUG - Payload: {'name': 'ha.tag', 'command': 'listConfigurations', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Unllb/CGuTYeMIqDwLtyGEzyx94='}
2026-10-27 17:56:37,276 - DEBUG - ========Sending GET Cmd : listConfigurations=======
2026-10-27 17:56:37,309 - 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-27 17:56:37,309 - DEBUG - HA is not enabled in the setup
2026-10-27 17:56:37,310 - DEBUG - Payload: {'hahost': 'invalidvalue', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'nxT8EeOIRPj53CTkmwgj7GnXob4='}
2026-10-27 17:56:37,310 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,336 - DEBUG - Response : [{id : '80d731b4-ac5c-457c-b85b-9ea8ed9dbf93', name : 'pr14320-n151-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.34.112', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '4.93%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.1, networkkbsread : 60459, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 2239717376, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:40+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:22:21+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hosttags : 's1,s2', explicithosttags : 's1,s2', istagarule : False, hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm1 (80d731b4-ac5c-457c-b85b-9ea8ed9dbf93) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:51+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '19c60089-31f8-4069-95d1-fb9bad066625', name : 'pr14320-n151-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.34.113', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.44%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.06, networkkbsread : 62896, networkkbswrite : 0, memorytotal : 6711353344, memorywithoverprovisioning : '6711353344', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 914337792, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:39+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:23:59+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm2 (19c60089-31f8-4069-95d1-fb9bad066625) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:59+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '3f86d14b-da7f-4735-8d8b-76ae488aa622', name : 'v-1-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.45.129', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', memoryallocated : 0, lastpinged : '2026-10-27T15:29:40+0000', virtualmachineid : '012ba427-df1a-4588-a643-689e9f90ddad', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-27T12:32:11+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : 'c2f65634-a2b8-4a7c-939a-f2d20cf13bb0', name : 's-2-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.45.131', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', memoryallocated : 0, lastpinged : '2026-10-27T15:29:40+0000', virtualmachineid : '3a885c8e-72ed-441c-b2cb-aed0fa699edf', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-27T12:32:19+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-27 17:56:37,336 - DEBUG - Cleaning up the resources
2026-10-27 17:56:37,337 - DEBUG - TestCaseName: test_03_list_hosts_hahost_filter; Time Taken: 0 Seconds; StartTime: Tue Oct 27 17:56:37 2026; EndTime: Tue Oct 27 17:56:37 2026; Result: SUCCESS
2026-10-27 17:56:37,337 - DEBUG - ::::::::::::STARTED : TC: test_04_list_hosts_hypervisor_filter :::::::::::
2026-10-27 17:56:37,338 - DEBUG - Payload: {'hypervisor': 'kvm', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'XoF44qWWyZYldE1MMiSWVteSCvE='}
2026-10-27 17:56:37,338 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,364 - DEBUG - Response : [{id : '80d731b4-ac5c-457c-b85b-9ea8ed9dbf93', name : 'pr14320-n151-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.34.112', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '4.93%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.1, networkkbsread : 60459, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 2239717376, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:40+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:22:21+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hosttags : 's1,s2', explicithosttags : 's1,s2', istagarule : False, hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm1 (80d731b4-ac5c-457c-b85b-9ea8ed9dbf93) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:51+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '19c60089-31f8-4069-95d1-fb9bad066625', name : 'pr14320-n151-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.34.113', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.44%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.06, networkkbsread : 62896, networkkbswrite : 0, memorytotal : 6711353344, memorywithoverprovisioning : '6711353344', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 914337792, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:39+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:23:59+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm2 (19c60089-31f8-4069-95d1-fb9bad066625) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:59+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}]
2026-10-27 17:56:37,365 - DEBUG - Payload: {'hypervisor': 'invalidhypervisor', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'hemZXjlEGcsMKSvIo8PJgLtw8IM='}
2026-10-27 17:56:37,365 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,392 - DEBUG - Response : [{id : '80d731b4-ac5c-457c-b85b-9ea8ed9dbf93', name : 'pr14320-n151-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.34.112', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '4.93%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.1, networkkbsread : 60459, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 2239717376, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:40+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:22:21+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hosttags : 's1,s2', explicithosttags : 's1,s2', istagarule : False, hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm1 (80d731b4-ac5c-457c-b85b-9ea8ed9dbf93) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:51+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '19c60089-31f8-4069-95d1-fb9bad066625', name : 'pr14320-n151-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.34.113', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.44%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.06, networkkbsread : 62896, networkkbswrite : 0, memorytotal : 6711353344, memorywithoverprovisioning : '6711353344', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 914337792, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:39+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:23:59+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm2 (19c60089-31f8-4069-95d1-fb9bad066625) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:59+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '3f86d14b-da7f-4735-8d8b-76ae488aa622', name : 'v-1-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.45.129', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', memoryallocated : 0, lastpinged : '2026-10-27T15:29:40+0000', virtualmachineid : '012ba427-df1a-4588-a643-689e9f90ddad', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-27T12:32:11+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : 'c2f65634-a2b8-4a7c-939a-f2d20cf13bb0', name : 's-2-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.45.131', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', memoryallocated : 0, lastpinged : '2026-10-27T15:29:40+0000', virtualmachineid : '3a885c8e-72ed-441c-b2cb-aed0fa699edf', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-27T12:32:19+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-27 17:56:37,393 - DEBUG - Cleaning up the resources
2026-10-27 17:56:37,393 - DEBUG - TestCaseName: test_04_list_hosts_hypervisor_filter; Time Taken: 0 Seconds; StartTime: Tue Oct 27 17:56:37 2026; EndTime: Tue Oct 27 17:56:37 2026; Result: SUCCESS
2026-10-27 17:56:37,393 - DEBUG - ::::::::::::STARTED : TC: test_05_list_hosts_id_filter :::::::::::
2026-10-27 17:56:37,394 - DEBUG - Payload: {'id': '80d731b4-ac5c-457c-b85b-9ea8ed9dbf93', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'leCI8MGG87vjNzNw1z3vKD4OWCk='}
2026-10-27 17:56:37,394 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,421 - DEBUG - Response : [{id : '80d731b4-ac5c-457c-b85b-9ea8ed9dbf93', name : 'pr14320-n151-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.34.112', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '4.93%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.1, networkkbsread : 60459, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 2239717376, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:40+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:22:21+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hosttags : 's1,s2', explicithosttags : 's1,s2', istagarule : False, hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm1 (80d731b4-ac5c-457c-b85b-9ea8ed9dbf93) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:51+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}]
2026-10-27 17:56:37,422 - DEBUG - Payload: {'id': 'invalidid', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'gavK3wcsa+ZupTXjskT9WdjuN0A='}
2026-10-27 17:56:37,423 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,440 - 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-27 17:56:37,440 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.listHosts.listHostsCmd object at 0x7fbb1d752280> 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-27 17:56:37,441 - DEBUG - Cleaning up the resources
2026-10-27 17:56:37,441 - DEBUG - TestCaseName: test_05_list_hosts_id_filter; Time Taken: 0 Seconds; StartTime: Tue Oct 27 17:56:37 2026; EndTime: Tue Oct 27 17:56:37 2026; Result: SUCCESS
2026-10-27 17:56:37,441 - DEBUG - ::::::::::::STARTED : TC: test_06_list_hosts_keyword_filter :::::::::::
2026-10-27 17:56:37,442 - DEBUG - Payload: {'keyword': 'pr14320-n151-kvm-ubuntu26-kvm1', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'FoHhQtEpcElIUawnfIobVFtMAh0='}
2026-10-27 17:56:37,442 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,466 - DEBUG - Response : [{id : '80d731b4-ac5c-457c-b85b-9ea8ed9dbf93', name : 'pr14320-n151-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.34.112', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '4.93%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.1, networkkbsread : 60459, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 2239717376, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:40+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:22:21+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hosttags : 's1,s2', explicithosttags : 's1,s2', istagarule : False, hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm1 (80d731b4-ac5c-457c-b85b-9ea8ed9dbf93) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:51+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}]
2026-10-27 17:56:37,467 - DEBUG - Payload: {'keyword': 'invalidkeyword', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'4qgWgzQ7ZqXNBlo9jlCbeWxI6Kg='}
2026-10-27 17:56:37,467 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,484 - DEBUG - Response : None
2026-10-27 17:56:37,485 - DEBUG - Cleaning up the resources
2026-10-27 17:56:37,485 - DEBUG - TestCaseName: test_06_list_hosts_keyword_filter; Time Taken: 0 Seconds; StartTime: Tue Oct 27 17:56:37 2026; EndTime: Tue Oct 27 17:56:37 2026; Result: SUCCESS
2026-10-27 17:56:37,485 - DEBUG - ::::::::::::STARTED : TC: test_07_list_hosts_name_filter :::::::::::
2026-10-27 17:56:37,486 - DEBUG - Payload: {'name': 'pr14320-n151-kvm-ubuntu26-kvm1', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'RANoS0BhcDYfpKlOFyFSX/ZJ7YM='}
2026-10-27 17:56:37,486 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,508 - DEBUG - Response : [{id : '80d731b4-ac5c-457c-b85b-9ea8ed9dbf93', name : 'pr14320-n151-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.34.112', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '4.93%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.1, networkkbsread : 60459, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 2239717376, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:40+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:22:21+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hosttags : 's1,s2', explicithosttags : 's1,s2', istagarule : False, hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm1 (80d731b4-ac5c-457c-b85b-9ea8ed9dbf93) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:51+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}]
2026-10-27 17:56:37,508 - DEBUG - Payload: {'name': 'invalidname', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'wiK+F5M7iyVuxnYQaNPKAMCIM8k='}
2026-10-27 17:56:37,509 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,526 - DEBUG - Response : None
2026-10-27 17:56:37,527 - DEBUG - Cleaning up the resources
2026-10-27 17:56:37,527 - DEBUG - TestCaseName: test_07_list_hosts_name_filter; Time Taken: 0 Seconds; StartTime: Tue Oct 27 17:56:37 2026; EndTime: Tue Oct 27 17:56:37 2026; Result: SUCCESS
2026-10-27 17:56:37,528 - DEBUG - ::::::::::::STARTED : TC: test_08_list_hosts_podid_filter :::::::::::
2026-10-27 17:56:37,528 - DEBUG - Payload: {'podid': '648498a4-97c5-4440-b5e3-f8b13a31c09e', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'MWWnRb4UF0SELhSFW6LtHDOuamo='}
2026-10-27 17:56:37,528 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,558 - DEBUG - Response : [{id : '80d731b4-ac5c-457c-b85b-9ea8ed9dbf93', name : 'pr14320-n151-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.34.112', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '4.93%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.1, networkkbsread : 60459, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 2239717376, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:40+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:22:21+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hosttags : 's1,s2', explicithosttags : 's1,s2', istagarule : False, hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm1 (80d731b4-ac5c-457c-b85b-9ea8ed9dbf93) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:51+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '19c60089-31f8-4069-95d1-fb9bad066625', name : 'pr14320-n151-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.34.113', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.44%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.06, networkkbsread : 62896, networkkbswrite : 0, memorytotal : 6711353344, memorywithoverprovisioning : '6711353344', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 914337792, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:39+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:23:59+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm2 (19c60089-31f8-4069-95d1-fb9bad066625) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:59+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '3f86d14b-da7f-4735-8d8b-76ae488aa622', name : 'v-1-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.45.129', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', memoryallocated : 0, lastpinged : '2026-10-27T15:29:40+0000', virtualmachineid : '012ba427-df1a-4588-a643-689e9f90ddad', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-27T12:32:11+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : 'c2f65634-a2b8-4a7c-939a-f2d20cf13bb0', name : 's-2-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.45.131', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', memoryallocated : 0, lastpinged : '2026-10-27T15:29:40+0000', virtualmachineid : '3a885c8e-72ed-441c-b2cb-aed0fa699edf', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-27T12:32:19+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-27 17:56:37,558 - DEBUG - Payload: {'podid': 'invalidpodid', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'qF/TG7nntF/W6TWS2bxsdD0BqDg='}
2026-10-27 17:56:37,559 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,579 - 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-27 17:56:37,579 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.listHosts.listHostsCmd object at 0x7fbb1d752e50> 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-27 17:56:37,580 - DEBUG - Cleaning up the resources
2026-10-27 17:56:37,580 - DEBUG - TestCaseName: test_08_list_hosts_podid_filter; Time Taken: 0 Seconds; StartTime: Tue Oct 27 17:56:37 2026; EndTime: Tue Oct 27 17:56:37 2026; Result: SUCCESS
2026-10-27 17:56:37,581 - DEBUG - ::::::::::::STARTED : TC: test_09_list_hosts_resourcestate_filter :::::::::::
2026-10-27 17:56:37,581 - DEBUG - Payload: {'resourcestate': 'Enabled', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'3LDIQwZN1Zn0OnTfPcFGSP5pggY='}
2026-10-27 17:56:37,581 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,608 - DEBUG - Response : [{id : '80d731b4-ac5c-457c-b85b-9ea8ed9dbf93', name : 'pr14320-n151-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.34.112', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '4.93%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.1, networkkbsread : 60459, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 2239717376, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:40+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:22:21+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hosttags : 's1,s2', explicithosttags : 's1,s2', istagarule : False, hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm1 (80d731b4-ac5c-457c-b85b-9ea8ed9dbf93) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:51+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '19c60089-31f8-4069-95d1-fb9bad066625', name : 'pr14320-n151-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.34.113', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.44%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.06, networkkbsread : 62896, networkkbswrite : 0, memorytotal : 6711353344, memorywithoverprovisioning : '6711353344', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 914337792, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:39+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:23:59+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm2 (19c60089-31f8-4069-95d1-fb9bad066625) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:59+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '3f86d14b-da7f-4735-8d8b-76ae488aa622', name : 'v-1-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.45.129', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', memoryallocated : 0, lastpinged : '2026-10-27T15:29:40+0000', virtualmachineid : '012ba427-df1a-4588-a643-689e9f90ddad', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-27T12:32:11+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : 'c2f65634-a2b8-4a7c-939a-f2d20cf13bb0', name : 's-2-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.45.131', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', memoryallocated : 0, lastpinged : '2026-10-27T15:29:40+0000', virtualmachineid : '3a885c8e-72ed-441c-b2cb-aed0fa699edf', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-27T12:32:19+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-27 17:56:37,609 - DEBUG - Payload: {'resourcestate': 'invalidresourcestate', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'O38e6/k/HYXOMAxHvEfE8rv+H9Q='}
2026-10-27 17:56:37,609 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,627 - DEBUG - Response : None
2026-10-27 17:56:37,628 - DEBUG - Cleaning up the resources
2026-10-27 17:56:37,628 - DEBUG - TestCaseName: test_09_list_hosts_resourcestate_filter; Time Taken: 0 Seconds; StartTime: Tue Oct 27 17:56:37 2026; EndTime: Tue Oct 27 17:56:37 2026; Result: SUCCESS
2026-10-27 17:56:37,628 - DEBUG - ::::::::::::STARTED : TC: test_10_list_hosts_state_filter :::::::::::
2026-10-27 17:56:37,629 - DEBUG - Payload: {'state': 'Up', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'vlWwGV17u6ZLXfDJ+0lBqHEwj20='}
2026-10-27 17:56:37,629 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,664 - DEBUG - Response : [{id : '80d731b4-ac5c-457c-b85b-9ea8ed9dbf93', name : 'pr14320-n151-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.34.112', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '4.93%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.1, networkkbsread : 60459, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 2239717376, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:40+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:22:21+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hosttags : 's1,s2', explicithosttags : 's1,s2', istagarule : False, hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm1 (80d731b4-ac5c-457c-b85b-9ea8ed9dbf93) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:51+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '19c60089-31f8-4069-95d1-fb9bad066625', name : 'pr14320-n151-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.34.113', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.44%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.06, networkkbsread : 62896, networkkbswrite : 0, memorytotal : 6711353344, memorywithoverprovisioning : '6711353344', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 914337792, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:39+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:23:59+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm2 (19c60089-31f8-4069-95d1-fb9bad066625) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:59+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '3f86d14b-da7f-4735-8d8b-76ae488aa622', name : 'v-1-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.45.129', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', memoryallocated : 0, lastpinged : '2026-10-27T15:29:40+0000', virtualmachineid : '012ba427-df1a-4588-a643-689e9f90ddad', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-27T12:32:11+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : 'c2f65634-a2b8-4a7c-939a-f2d20cf13bb0', name : 's-2-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.45.131', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', memoryallocated : 0, lastpinged : '2026-10-27T15:29:40+0000', virtualmachineid : '3a885c8e-72ed-441c-b2cb-aed0fa699edf', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-27T12:32:19+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-27 17:56:37,665 - DEBUG - Payload: {'state': 'invalidstate', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'PEZOhLriP/IuTxyeBGkwuEO/V1I='}
2026-10-27 17:56:37,665 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,685 - DEBUG - Response : None
2026-10-27 17:56:37,686 - DEBUG - Cleaning up the resources
2026-10-27 17:56:37,686 - DEBUG - TestCaseName: test_10_list_hosts_state_filter; Time Taken: 0 Seconds; StartTime: Tue Oct 27 17:56:37 2026; EndTime: Tue Oct 27 17:56:37 2026; Result: SUCCESS
2026-10-27 17:56:37,686 - DEBUG - ::::::::::::STARTED : TC: test_11_list_hosts_type_filter :::::::::::
2026-10-27 17:56:37,687 - DEBUG - Payload: {'type': 'Routing', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'9KlWSNY7yvCwHu/EybCc015LIWE='}
2026-10-27 17:56:37,687 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,719 - DEBUG - Response : [{id : '80d731b4-ac5c-457c-b85b-9ea8ed9dbf93', name : 'pr14320-n151-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.34.112', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '4.93%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.1, networkkbsread : 60459, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 2239717376, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:40+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:22:21+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hosttags : 's1,s2', explicithosttags : 's1,s2', istagarule : False, hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm1 (80d731b4-ac5c-457c-b85b-9ea8ed9dbf93) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:51+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '19c60089-31f8-4069-95d1-fb9bad066625', name : 'pr14320-n151-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.34.113', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.44%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.06, networkkbsread : 62896, networkkbswrite : 0, memorytotal : 6711353344, memorywithoverprovisioning : '6711353344', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 914337792, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:39+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:23:59+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm2 (19c60089-31f8-4069-95d1-fb9bad066625) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:59+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}]
2026-10-27 17:56:37,720 - DEBUG - Payload: {'type': 'invalidtype', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'f1gwI2LFo+XiCF5HlRaiH8L6wcg='}
2026-10-27 17:56:37,720 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,739 - DEBUG - Response : None
2026-10-27 17:56:37,739 - DEBUG - Cleaning up the resources
2026-10-27 17:56:37,739 - DEBUG - TestCaseName: test_11_list_hosts_type_filter; Time Taken: 0 Seconds; StartTime: Tue Oct 27 17:56:37 2026; EndTime: Tue Oct 27 17:56:37 2026; Result: SUCCESS
2026-10-27 17:56:37,740 - DEBUG - ::::::::::::STARTED : TC: test_12_list_hosts_zoneid_filter :::::::::::
2026-10-27 17:56:37,740 - DEBUG - Payload: {'zoneid': 'f630bd38-52a4-422f-9829-a3efc24896fe', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b't1QJ3au1Bay/41GGGf2kJIMH0YY='}
2026-10-27 17:56:37,740 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,779 - DEBUG - Response : [{id : '80d731b4-ac5c-457c-b85b-9ea8ed9dbf93', name : 'pr14320-n151-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.34.112', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '4.93%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.1, networkkbsread : 60459, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 2239717376, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:40+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:22:21+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hosttags : 's1,s2', explicithosttags : 's1,s2', istagarule : False, hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm1 (80d731b4-ac5c-457c-b85b-9ea8ed9dbf93) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:51+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '19c60089-31f8-4069-95d1-fb9bad066625', name : 'pr14320-n151-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.34.113', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.44%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.06, networkkbsread : 62896, networkkbswrite : 0, memorytotal : 6711353344, memorywithoverprovisioning : '6711353344', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 914337792, capabilities : 'hvm,snapshot', lastpinged : '2026-10-27T15:29:39+0000', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : 'ffdd3b07-c822-42a2-8129-17846ce57325', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-27T12:23:59+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {host.virtv2v.inplace.support : 'false', Host.OS.Version : '26.04', host.qemu.io.version : '10.2.1', host.vddk.blockcopy.support : 'false', host.vddk.blockcopy.inplace.finalization.support : 'false', host.vddk.support : 'false', host.qemu.nbd.version : 'qemu-nbd 10.2.1 (Debian 1:10.2.1+ds-1ubuntu3.3)', host.uefi.enable : 'true', host.vddk.blockcopy.rbd.support : 'false', host.vddk.rbd.direct.import.support : 'false', host.qemu.rbd.support : 'true', host.cdrom.max.count : '2', host.kvm.diskonlyvmsnapshot.nvram : 'true', host.volume.encryption.rbd : 'true', host.qemu.img.version : '10.2.1', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr14320-n151-kvm-ubuntu26-kvm2 (19c60089-31f8-4069-95d1-fb9bad066625) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-27T15:25:59+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '3f86d14b-da7f-4735-8d8b-76ae488aa622', name : 'v-1-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.45.129', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', memoryallocated : 0, lastpinged : '2026-10-27T15:29:40+0000', virtualmachineid : '012ba427-df1a-4588-a643-689e9f90ddad', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-27T12:32:11+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : 'c2f65634-a2b8-4a7c-939a-f2d20cf13bb0', name : 's-2-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.45.131', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', podid : '648498a4-97c5-4440-b5e3-f8b13a31c09e', podname : 'Pod1', version : '24.0.0-shapeblue20748', memoryallocated : 0, lastpinged : '2026-10-27T15:29:40+0000', virtualmachineid : '3a885c8e-72ed-441c-b2cb-aed0fa699edf', managementserverid : '21495c3e-32c8-46cb-b726-007fe770141f', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-27T12:32:19+0000', events : 'Remove; Ping; PingTimeout; ShutdownRequested; StartAgentRebalance; AgentDisconnected; ManagementServerDown; AgentConnected; HostDown', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-27 17:56:37,780 - DEBUG - Payload: {'zoneid': 'invalidzoneid', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'vxS+pjHlG1Hkb1R/Ot1xb9rG+80='}
2026-10-27 17:56:37,780 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-27 17:56:37,794 - 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-27 17:56:37,794 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.listHosts.listHostsCmd object at 0x7fbb1d752c40> 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-27 17:56:37,795 - DEBUG - Cleaning up the resources
2026-10-27 17:56:37,795 - DEBUG - TestCaseName: test_12_list_hosts_zoneid_filter; Time Taken: 0 Seconds; StartTime: Tue Oct 27 17:56:37 2026; EndTime: Tue Oct 27 17:56:37 2026; Result: SUCCESS
2026-10-27 17:56:37,796 - DEBUG - Cleaning up the resources
