discussion on class list for LXC support

Kaitlin, I'm not sure whether below test case have to update for LXC support. 1) Domain state change -- Container guest doesn't make state change, right? ComputerSystem - 06_paused_active_suspend.py: SKIP ComputerSystem - 22_define_suspend.py: PASS ComputerSystem - 23_suspend_suspend.py: SKIP ComputerSystem - 27_define_suspend_errs.py: SKIP ComputerSystem - 32_start_reboot.py: SKIP ComputerSystem - 33_suspend_reboot.py: SKIP ComputerSystem - 35_start_reset.py: SKIP ComputerSystem - 40_RSC_start.py: SKIP ComputerSystem - 41_cs_to_settingdefinestate.py: SKIP HostedDependency - 03_enabledstate.py: SKIP 2) Device support now -- Container guest can only support memory now? LogicalDisk - 01_disk.py: SKIP LogicalDisk - 02_nodevs.py: SKIP LogicalDisk - 03_ld_gi_errs.py: SKIP NetworkPort - 01_netport.py: SKIP NetworkPort - 02_np_gi_errors.py: SKIP NetworkPort - 03_user_netport.py: SKIP Processor - 01_processor.py: SKIP Processor - 02_definesys_get_procs.py: SKIP Processor - 03_proc_gi_errs.py: SKIP 3) ResourcePool operation ResourcePoolConfigurationService - 03_CreateResourcePool.py: SKIP ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: SKIP ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: SKIP ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP 4) VirtualSystemMigrationService VirtualSystemMigrationService - 01_migratable_host.py: SKIP VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP If all of the list tc can be skip, we can say that nearly all of test case support LXC now. On the next, I will focus on cimtest running on F9 and try to fix bugs. Kaitlin - any suggestion on the next work besides cimtest running? And what's your plan on the next month? Thanks! Best, Regards Daisy (运国莲) VSM Team, China Systems & Technology Labs (CSTL) E-mail: yunguol@cn.ibm.com TEL: (86)-21-60922144 Building 10, 399 Ke Yuan Rd, Pudong Shanghai, 201203

GY> 1) Domain state change -- Container guest doesn't make state GY> change, right? Do you mean you're not able to call RequestStateChange() on an LXC domain? You should be able to, but if it's not working, I'll take a look at it. GY> 2) Device support now -- Container guest can only support memory GY> now? Correct. GY> 3) ResourcePool operation GY> ・ ResourcePoolConfigurationService - 03_CreateResourcePool.py: SKIP GY> ・ ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP GY> ・ ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: SKIP GY> ・ ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: GY> SKIP GY> ・ ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP These should SKIP on all domain types, right? GY> 4) VirtualSystemMigrationService GY> ・ VirtualSystemMigrationService - 01_migratable_host.py: SKIP GY> ・ VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP GY> ・ VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP This is correct, yes. -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com

GY> 3) ResourcePool operation
GY> ・ ResourcePoolConfigurationService - 03_CreateResourcePool.py: SKIP GY> ・ ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP GY> ・ ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: SKIP GY> ・ ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: GY> SKIP GY> ・ ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP
These should SKIP on all domain types, right?
All these tests do at the moment is make sure the method call returns CIM_ERR_NOT_SUPPORTED. So it should be possible to have these support LXC. -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com

libvirt-cim-bounces@redhat.com wrote on 2008-06-17 22:08:58:
GY> 1) Domain state change -- Container guest doesn't make state GY> change, right?
Do you mean you're not able to call RequestStateChange() on an LXC domain? You should be able to, but if it's not working, I'll take a look at it.
The RequestStateChange() doesn't work for me on LXC domain now, for an example, if I update ComputerSystem.06_paused_active_suspend.py for LXC support, the tc will report error below: Test with SFCB: InvokeMethod(RequestStateChange): Domain Operation Failed Test with Pegasus: ERROR - Exception: (1, u'CIM_ERR_FAILED: Domain not running') ERROR - Unable to suspend dom DomST1 using RequestedStateChange() InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Domain not running On the other test case, the domain's state can't be changed to expected, yet. Would you please take a look at this? Thanks!
GY> 2) Device support now -- Container guest can only support memory GY> now?
Correct.
GY> 3) ResourcePool operation
GY> ・ ResourcePoolConfigurationService - 03_CreateResourcePool.py: SKIP GY> ・ ResourcePoolConfigurationService - 04_CreateChildResourcePool.py: SKIP GY> ・ ResourcePoolConfigurationService - 05_AddResourcesToResourcePool.py: SKIP GY> ・ ResourcePoolConfigurationService - 06_RemoveResourcesFromResourcePool.py: GY> SKIP GY> ・ ResourcePoolConfigurationService - 07_DeleteResourcePool.py: SKIP
These should SKIP on all domain types, right?
GY> 4) VirtualSystemMigrationService
GY> ・ VirtualSystemMigrationService - 01_migratable_host.py: SKIP GY> ・ VirtualSystemMigrationService - 02_host_migrate_type.py: SKIP GY> ・ VirtualSystemMigrationService - 05_migratable_host_errs.py: SKIP
This is correct, yes.
-- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com [attachment "att5igos.dat" deleted by Guo Lian Yun/China/IBM] _______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim

GY> The RequestStateChange() doesn't work for me on LXC domain now, GY> for an example, if I update GY> ComputerSystem.06_paused_active_suspend.py for LXC support, the GY> tc will report error below: For which states? All of them? GY> Test with Pegasus: GY> ERROR - Exception: (1, u'CIM_ERR_FAILED: Domain not running') GY> ERROR - Unable to suspend dom DomST1 using RequestedStateChange() GY> InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Domain not running LXC certainly doesn't support the paused state. All you should be able to do is go from disabled to enabled and back to disabled. Does this not work for you? The code path for Xen and LXC should be identical here. -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com
participants (3)
-
Dan Smith
-
Guo Lian Yun
-
Kaitlin Rupert