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.

Bug 891637

Summary: pywbem client can not invoke methods on pegasus providers
Product: Red Hat Enterprise Linux 7 Reporter: Michal Minar <miminar>
Component: pywbemAssignee: Tony Asleson <tasleson>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: david, dmalcolm, miminar
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 870046 Environment:
Last Closed: 2013-02-11 21:54:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 870046    
Bug Blocks:    
Attachments:
Description Flags
patch to solve this issue none

Description Michal Minar 2013-01-03 13:27:10 UTC
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

Comment 1 Michal Minar 2013-01-03 13:29:38 UTC
Version-Release of pywbem: 0.7.0-8.el7

Comment 3 Tony Asleson 2013-02-11 21:54:27 UTC
Fix in: pywbem-0.7.0-9.el7