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

Guo Lian Yun yunguol at cn.ibm.com
Thu Nov 13 01:55:36 UTC 2008


libvirt-cim-bounces at redhat.com wrote on 2008-11-12 19:14:49:

> 
> 
> 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

  What's your cimon's type and src info?
  I tested this with sfcb with latest src for F10, and it passes for me.
 
 
> --------------------------------------------------------------------
> 
> 
> > _______________________________________________
> > Libvirt-cim mailing list
> > Libvirt-cim at redhat.com
> > https://www.redhat.com/mailman/listinfo/libvirt-cim
> > 
> 
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20081113/16fbdcdd/attachment.htm>


More information about the Libvirt-cim mailing list