Created attachment 633317 [details] fixed CIMInstanceName rendering to string Description of problem: Due to the bug in CIMInstanceName rendering, it's impossible to invoke methods on pegasus providers, when this object path is referring to other objects or is containing pywbem.CIMInt as a key value. Version-Release number of selected component (if applicable): 0.7.0-0.7.fc18 How reproducible: ALWAYS Steps to Reproduce: 1. yum install -y tog-pegasus pywbem openlmi-software 2. download a python test script (pywbem client) from https://fedorahosted.org/openlmi/browser/openlmi-providers/src/software/cli/software.py?format=txt 3. select arbitrary available package through yum (note its NEVRA) 4. try to install it with downloaded script: python software.py install slv2-0:0.6.6-8.fc17.x86_64 Actual results: Client blocks, tog-pegasus shows in trace log: HTTP/1.1 400 Bad Request CIMError: header-mismatch PGErrorDetail: ... Expected results: Client exits and broker does not print error message. Additional info: Running the same script with same parameters on sfcb broker ends up find. To enable tracing for tog-pegasus: cimconfig -s traceLevel=5 cimconfig -s traceComponents=Xml,XmlIO To watch the trace output: tail -n 100 -f /var/lib/Pegasus/cache/trace/cimserver.trc Attached is a patch to solve this issue. The bug has been reported to upstream with the same attached patch. The bug report can be found here: https://sourceforge.net/tracker/?func=detail&aid=3580081&group_id=133883&atid=728404
Created attachment 647642 [details] updated version of patch I've found, that types affected with this problem include also bool and float. Attached is an updated version of original patch to solve this.
I've pushed the patch upstream, as SVN rev. 611.
pywbem-0.7.0-8.20130128svn613.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/pywbem-0.7.0-8.20130128svn613.fc18
pywbem-0.7.0-8.20130128svn613.fc18 has been pushed to the Fedora 18 testing repository.
pywbem-0.7.0-8.20130128svn613.fc18 has been pushed to the Fedora 18 stable repository.