Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Created attachment 672090[details]
patch to solve this issue
+++ This bug was initially created as a clone of Bug #870046 +++
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, bool or float 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
OR
3. choose arbitrary installed package and try to verify it:
python software.py verify tar
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 fine.
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