libvirt-cim-bounces@redhat.com wrote on 2008-06-11 23:16:59:

> yunguol@cn.ibm.com wrote:
> > # HG changeset patch
> > # User Guolian Yun <yunguol@cn.ibm.com>
> > # Date 1213262003 -28800
> > # Node ID 7a8e2732d1281077c9dbaac0e8a3eb056e44fafa
> > # Parent  254bc5464030a03b6f791fd49acd208f6ec1db23
> > [TEST] Update ElementCapabilities.05 for LXC support
> >
> > Signed-off-by: Guolian Yun <yunguol@cn.ibm.com>
> >
> > diff -r 254bc5464030 -r 7a8e2732d128 suites/libvirt-
> cim/cimtest/ElementCapabilities/05_hostsystem_cap.py
> > --- a/suites/libvirt-
> cim/cimtest/ElementCapabilities/05_hostsystem_cap.py   Wed Jun 11
> 20:56:07 2008 +0800
> > +++ b/suites/libvirt-
> cim/cimtest/ElementCapabilities/05_hostsystem_cap.py   Thu Jun 12
> 17:13:23 2008 +0800
>
> This failed for me:
>
> Testing LXC hypervisor
> ElementCapabilities - 05_hostsystem_cap.py: FAIL
> ERROR   - LXC_ElementCapabilities returned 0 Capabilities objects
> ERROR   - ManagementCapabilities Verification failed
>

  This fails because we can't get anything by querying below:

wbemcli ein http://root:password@localhost/root/virt:LXC_VirtualSystemManagementService
localhost:5988/root/virt:LXC_VirtualSystemManagementService.SystemCreationClassName="LXC_HostSystem",SystemName="nine",CreationClassName="LXC_VirtualSystemManagementService",Name="Management Service"
 
I think we have to fix it in provider. Below is part code of Virt_ElementCapabilities.c.
...
 static char* service[] = {
        "Xen_VirtualSystemManagementService",
        "KVM_VirtualSystemManagementService",
        "Xen_VirtualSystemMigrationService",
        "KVM_VirtualSystemMigrationService",
        "LXC_VirtualSystemMigrationService",
        NULL
};
...

We have to add LXC_VirtualSystemManagementService to the structure.



> --
> Kaitlin Rupert
> IBM Linux Technology Center
> kaitlin@linux.vnet.ibm.com
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim@redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim