Deepti B Kalakeri wrote:
This tc failed with on F10 with KVM and current source.
--------------------------------------------------------------------
RedirectionService - 01_enum_crs.py: FAIL
01_enum_crs.py:29: DeprecationWarning: the sets module is deprecated
from sets import Set
ERROR - TypeError : __call__() takes exactly 1 argument (2 given)
Traceback (most recent call last):
File "./lib/XenKvmLib/const.py", line 139, in do_try
File "01_enum_crs.py", line 113, in main
if res_val != exp_val:
TypeError: __call__() takes exactly 1 argument (2 given)
ERROR - None
CIM_ERR_INVALID_CLASS: Linux_ComputerSystem
--------------------------------------------------------------------
This patch should fix this issue.. is it possible that the schema wasn't
registered on the system properly?
I recently upgraded the schema, so you'll need to do a full provider
install:
1) make preuinstall
2) make uninstall
3) configure
4) make
5) make preinstall
6) restart the CIMOM
7) make postinstall
This will pick up the new schema changes.
The bug here is that the CRS attribute MaxConcurrentEnabledSAPs has
changed to MaxCurrentEnabledSAPs in the 2.21 schema.
So you can do a EnumerateInstances() query on your system to see what
the value is. If you have current sources, but you see
MaxConcurrentEnabledSAPs, then the schema update wasn't updated properly.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com