Hide Forgot
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 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.
IBM is signed up to test and provide feedback.
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