Bug 796191

Summary: Issue with empty string values in the embedded instances
Product: Red Hat Enterprise Linux 6 Reporter: IBM Bug Proxy <bugproxy>
Component: tog-pegasusAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: high Docs Contact:
Priority: urgent    
Version: 6.3CC: azelinka, jjarvis, jsafrane, nobody+PNT0273897, ovasik, psklenar, sbest, sglass
Target Milestone: rcKeywords: OtherQA
Target Release: 6.3   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 14:47:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 704634, 705085    

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