[Libvirt-cim] [PATCH 2 of 2] [TEST] Update tests to use get_exp_template_rasd_len()

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Wed Apr 22 00:09:37 UTC 2009


Oops.. I read your +1 on the first patch in the set, and thought you 
were signing off on the whole set.  I missed this mail.   I applied the 
patches, but let me know if you encounter a bug or have suggestions for 
changes.


>>
>>   
> ------------------------------------------------------------------------------------------------------------------------------- 
> 
> ERROR - 'KVM_SettingsDefineCapabilities' returned 0 RASD objects instead 
> of 16
> CIM_ERR_INVALID_CLASS: Linux_ComputerSystem
> CIM_ERR_FAILED: Unable to get volume information: cannot open volume 
> '/tmp/tmpnsIv8q': No such file or directory
> ------------------------------------------------------------------------------------------------------------------------------- 
> 


>> +            exp_len = get_exp_template_rasd_len(virt, server, instid)
>>
>>              if len(assoc_info) != exp_len:
>>                  logger.error("%s returned %i ResourcePool objects 
>> instead"
>>
>>   
> This tc failed with the following err:
> -------------------------------------------------------------------
> libvir: Storage error : cannot open volume '/tmp/cimtest.uuid': No such 
> file or directory
> SettingsDefineCapabilities - 01_forward.py: FAIL
> CIM_ERR_FAILED: Unable to get volume information: cannot open volume 
> '/tmp/cimtest.uuid': No such file or directory
> --------------------------------------------------------------------

These errors should be fixed upstream (see previous mail).  Let me know 
if you are seeing these errors with the most recent version of the 
providers.

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list