Bug 454590 - CMPI MI factories that return errors are unsupported
CMPI MI factories that return errors are unsupported
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: tog-pegasus (Show other bugs)
5.3
All Linux
low Severity medium
: rc
: ---
Assigned To: Vitezslav Crhonek
SanityOnly
: OtherQA
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-09 02:52 EDT by Tim Potter
Modified: 2009-06-20 00:47 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-01-20 17:19:11 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Tim Potter 2008-07-09 02:52:57 EDT
Description of problem:

From OpenPegasus bugzilla 7525 at:

http://cvs.opengroup.org/bugzilla/show_bug.cgi?id=7525

"The CMPI spec states that MI factories "may return a NULL pointer indicating
that a particular MI type is not supported, despite the fact that the factory is
found".  The current code in src/Pegasus/ProviderManager2/CMPI/CMPIProvider.cpp
does not reflect this condition.

Currently, if any provider MI functions return NULL or set the CMPIStatus output
parameter to anything other than OK, a CIM exception is generated:

CIM_ERR_FAILED: Error initializing CMPI MI SMXProfileRegistration, the 
following MI factory function(s) returned an error: _Generic_Create_MethodMI;
 _Generic_Create_IndicationMI."

This bug causes CMPI providers that return errors as per the CMPI standard to be
unloadable under tog-pegasus.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 RHEL Product and Program Management 2008-09-10 07:27:14 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.
Comment 4 Chris Ward 2008-11-28 02:14:52 EST
Partners, this bug should be fixed in the latest RHEL 5.3 Snapshot. We believe that you have some interest in its correct functionality, so we're making a friendly request to send us some testing feedback. 

If you have a chance to test it, please share with us your findings. If you have successfully VERIFIED the fix, please add PartnerVerified to the Bugzilla keywords, along with a description of the results. Thanks!
Comment 5 Miroslav Vadkerti 2008-12-12 07:59:57 EST
Verified from partners, adding SanityOnly, as I couldn't test this bug.
Comment 7 errata-xmlrpc 2009-01-20 17:19:11 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-0250.html

Note You need to log in before you can comment on or make changes to this bug.