Bug 796191 - Issue with empty string values in the embedded instances
Summary: Issue with empty string values in the embedded instances
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: tog-pegasus
Version: 6.3
Hardware: All
OS: All
urgent
high
Target Milestone: rc
: 6.3
Assignee: Vitezslav Crhonek
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 704634 705085
TreeView+ depends on / blocked
 
Reported: 2012-02-22 13:01 UTC by IBM Bug Proxy
Modified: 2012-06-20 14:47 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-20 14:47:29 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 78987 0 None None None Never
Red Hat Product Errata RHBA-2012:0953 0 normal SHIPPED_LIVE tog-pegasus bug fix update 2012-06-19 21:12:24 UTC

Description IBM Bug Proxy 2012-02-22 13:01:27 UTC
This fixes the bug in tog-pegasus, which enables the embedded instanaces to have correct empty string values .

libvirt-cim requires this feature (which worked in tog-pegasus 2.9) to "unset" numerous settings for storage volumes, VCPU limits, and networking ACLs. For
example, without this fix, clients can set VCPU limits on a VM but could not remove them. That breaks all of our existing clients like Director/VMControl
and zHelix.

4. Primary contact at Red Hat:
John Jarvis, jjarvis

5. Primary contacts at Partner:
Project Management Contact:
Stephanie A. Glass, sglass.com

Technical contact(s):
VENKATESWARA R. PUVVADA, vpuvvada.com

Comment 1 IBM Bug Proxy 2012-02-22 13:10:25 UTC
------- Comment From sglass.com 2012-02-22 08:04 EDT-------
With SCMO implementation empty string values in embedded instances are
converted to null values during the embedded CIMInstance to SCMOInstance
conversion. This problem is happening because of the _setString() usage which
sets the string size to 0 if the string is empty. This breaks existing
providers. Proposed patch uses _SetBinary() function which is already used
while setting the string values on the normal SCMOInstance.

http://bugzilla.openpegasus.org/show_bug.cgi?id=9053

------- Comment From sglass.com 2012-02-22 08:07 EDT-------
John,
Here is the bug fix only to replace the feature request found in 739118.

Comment 2 John Jarvis 2012-02-28 19:41:46 UTC
IBM is signed up to test and provide feedback.

Comment 10 errata-xmlrpc 2012-06-20 14:47:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0953.html


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