[Libvirt-cim] [PATCH] [TEST] Fix HostSystem/02_hostsystem_to_rasd.py for LXC

Deepti B Kalakeri deeptik at linux.vnet.ibm.com
Wed Nov 12 11:14:49 UTC 2008



yunguol at cn.ibm.com wrote:
> # HG changeset patch
> # User Guolian Yun <yunguol at cn.ibm.com>
> # Date 1226458889 28800
> # Node ID d97222cfb717a382136108c319dee64cc2466716
> # Parent  8d6f2db22eda9bda08ff26caa8982f137a3d4486
> [TEST] Fix HostSystem/02_hostsystem_to_rasd.py for LXC
>
> Signed-off-by: Guolian Yun <yunguol at cn.ibm.com>
>
> diff -r 8d6f2db22eda -r d97222cfb717 suites/libvirt-cim/cimtest/HostSystem/02_hostsystem_to_rasd.py
> --- a/suites/libvirt-cim/cimtest/HostSystem/02_hostsystem_to_rasd.py	Tue Nov 11 00:19:20 2008 -0800
> +++ b/suites/libvirt-cim/cimtest/HostSystem/02_hostsystem_to_rasd.py	Tue Nov 11 19:01:29 2008 -0800
> @@ -75,6 +75,8 @@
>      global test_disk
>      if virt == "Xen":
>          test_disk = "xvda"
> +    if virt == "LXC":
> +        test_disk = "/tmp"
>      else: 
>          test_disk = "hda"
>      virt_xml =  get_class(virt)
>   
This tc fails with the following error for LXC:

--------------------------------------------------------------------
HostSystem - 02_hostsystem_to_rasd.py: FAIL
ERROR - DEBUG an is LXC_HostedDependency, cn is LXC_HostSystem, qcn is 
LXC_ComputerSystem
ERROR - Failed to get associators information for LXC_SettingsDefineState
ERROR - Exception: u'LXC_DisplayController'
Class not found
--------------------------------------------------------------------


> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
>   




More information about the Libvirt-cim mailing list