[Libvirt-cim] [PATCH] [TEST] Add "AllocationCapabilities" to associate with ECTP
Kaitlin Rupert
kaitlin at linux.vnet.ibm.com
Tue Mar 3 23:02:55 UTC 2009
Guo Lian Yun wrote:
>
> libvirt-cim-bounces at redhat.com wrote on 2009-03-03 01:09:57:
>
> > yunguol at cn.ibm.com wrote:
> > > # HG changeset patch
> > > # User Yun Guo Lian <yunguol at cn.ibm.com>
> > > # Date 1235982224 28800
> > > # Node ID d5a5a5558a89acac972e1620fc4d737bab8c0334
> > > # Parent a26791e2890e59a1f02e5d7050da3d75f8f4e0e2
> > > [TEST] Add "AllocationCapabilities" to associate with ECTP
> > >
> > >
> > > Tested for KVM/LXC with current sources on Pegsus
> > >
> > > Signed-off-by: Guolian Yun<yunguol at cn.ibm.com>
> > >
> > > diff -r a26791e2890e -r d5a5a5558a89 suites/libvirt-
> > cim/cimtest/ElementConforms/01_forward.py
> > > --- a/suites/libvirt-cim/cimtest/ElementConforms/01_forward.py
> > Fri Feb 27 03:17:05 2009 -0800
> > > +++ b/suites/libvirt-cim/cimtest/ElementConforms/01_forward.py
> > Mon Mar 02 00:23:44 2009 -0800
> > > @@ -63,7 +63,7 @@
> >
> > This test will need to be branched, because it'll fail on the most
> > recent version of the F10 rpm:
> >
> > ElementConforms - 01_forward.py: FAIL
> > ERROR - Exception: 'KVM_ElementConformsToProfile' returned (0)
> > 'KVM_RegisteredProfile' objects
> > CIM_ERR_INVALID_CLASS: Linux_ComputerSystem
> > CIM_ERR_FAILED: Upcall enumInstances to target class failed
>
> This failure because of the unsupported association of
> CIM:DSP1041-ResourceAllocation-1.1.0c" to ECTP.
> Below is the error output on F10 rpm:
>
> [root@ cimtest]# wbemcli ain -ac KVM_ElementConformsToProfile
> 'http://root:password@localhost/root/virt:KVM_RegisteredProfile.InstanceID="CIM:DSP1041-ResourceAllocation-1.1.0c"'
>
> *
> * wbemcli: Cim: (1) CIM_ERR_FAILED: Upcall enumInstances to target class
> failed
> *
>
> We can't get expected result by ECTP from
> KVM__RegisteredProfile.InstanceID="CIM:DSP1041-ResourceAllocation-1.1.0c".
>
> With the latest src, I can get expected output on F10 current src.
>
> [root@ ~]# wbemcli ain -ac KVM_ElementConformsToProfile
> http://root:password@localhost/root/virt:KVM_RegisteredProfile.InstanceID='"CIM:DSP1041-ResourceAllocation-1.1.0c_d"'
>
> localhost/root/virt:KVM_ComputerSystem.CreationClassName="KVM_ComputerSystem",Name="domguest"
>
>
> To fix this, I have to skip this association query on F10 rpm. Thoughts?
>
Right, you don't want to skip the whole test. Instead, you want to skip
over passing the
localhost/root/virt:KVM_RegisteredProfile.InstanceID="CIM:DSP1041-ResourceAllocation-1.1.0c"
reference to the ECTP association.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com
More information about the Libvirt-cim
mailing list