[Libvirt-cim] [PATCH 6 of 9] [TEST] Update HostedResourcePool tests to expect instance from get_host_info()

Deepti B Kalakeri deeptik at linux.vnet.ibm.com
Fri Nov 21 06:40:50 UTC 2008



Kaitlin Rupert wrote:
> Deepti B Kalakeri wrote:
>>
>>
>> Kaitlin Rupert wrote:
>>> # HG changeset patch
>>> # User Kaitlin Rupert <karupert at us.ibm.com>
>>> # Date 1226705451 28800
>>> # Node ID 5f39bb761dcb4526e8b43fb6a89a3a7e61589fb1
>>> # Parent 5466028a80608d44d61b06c3e38d5ef395cad169
>>> [TEST] Update HostedResourcePool tests to expect instance from 
>>> get_host_info().
>>>
>>> Also remove XFAILs as these tests should pass now.
>>>
>>> Signed-off-by: Kaitlin Rupert <karupert at us.ibm.com>
>>>
>>> diff -r 5466028a8060 -r 5f39bb761dcb 
>>> suites/libvirt-cim/cimtest/HostedResourcePool/01_forward.py
>>> --- a/suites/libvirt-cim/cimtest/HostedResourcePool/01_forward.py 
>>> Fri Nov 14 15:30:50 2008 -0800
>>> +++ b/suites/libvirt-cim/cimtest/HostedResourcePool/01_forward.py 
>>> Fri Nov 14 15:30:51 2008 -0800
>> This tc fails with the sblim-base-provider installed:
>> --------------------------------------------------------------------
>> HostedResourcePool - 01_forward.py: FAIL
>> ERROR - No pool returned
>> CIM_ERR_INVALID_PARAMETER: Xen_HostedResourcePool
>> --------------------------------------------------------------------
>
> This looks like a registration issue. Can you run:
>
> wbemcli ecn http://@localhost:5988/root/cimv2:KVM_HostedResourcePool
>
> If this fails for you, you'll need to be sure to uninstall the 
> providers and then run "sudo make preinstall". Then restart Pegasus 
> and reinstall the providers.
>
> The Pegasus repository on my system had some issues, so I had to 
> remove the repository directory, remove Pegasus, and then reinstall 
> Pegasus / sblim-cmpi-base.
>
>
yes this was because of the provider registration problem.
This passes now.

Thanks and Regards,
Deepti.




More information about the Libvirt-cim mailing list