Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 512233

Summary: [LTC 5.5 FEAT] libvirt-cim to include new features in RHEL 5.5 [201943]
Product: Red Hat Enterprise Linux 5 Reporter: IBM Bug Proxy <bugproxy>
Component: libvirt-cimAssignee: Daniel Veillard <veillard>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 5.5CC: jjarvis, jyang, llim, nobody+PNT0273897, virt-maint, xen-maint
Target Milestone: betaKeywords: FutureFeature
Target Release: 5.5   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 540843 (view as bug list) Environment:
Last Closed: 2010-03-30 08:11:48 UTC Type: ---
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:    
Bug Blocks: 481160, 533941, 540843, 557291    

Description IBM Bug Proxy 2009-07-16 19:01:13 UTC
=Comment: #0=================================================
Emily J. Ratliff <ratliff.com> - 
1. Feature Overview:
Feature Id:	[201943]
a. Name of Feature:	libvirt-cim to include new features in RHEL 5.5
b. Feature Description
Representing a guest's console (and available /  active / inactive sessions) via CIM objects
 Provide CIM APIs for defining / destroying virtual network pools and storage pools within libvirt

2. Feature Details:
Sponsor:	Xen
Architectures:
x86_64

Arch Specificity: Both
Delivery Mechanism: Request Red Hat development assistance
Category:	Xen
Request Type:	Package - Feature from Upstream
d. Upstream Acceptance:	Accepted
Sponsor Priority	
IBM Confidential:	no
Code Contribution:	IBM code
g. Component Version Target:	

3. Business Case
IBM Systems Director will use these features.

4. Primary contact at Red Hat: 
John Jarvis
jjarvis

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

Technical contact(s):
Kaitlin Rupert, karupert.com

IBM Manager:
Warren Grunbok II, grunbok.com

Comment 2 IBM Bug Proxy 2009-08-26 21:21:32 UTC
------- Comment From karupert.com 2009-08-26 17:17 EDT-------
For 5.5, we would like to rebase libvirt-cim if possible,  The current version
is 0.5.6.  This version does not require a libvirt base - it works as is with
libvirt 0.6.3.

libvirt-cim version 0.5.6 has the follow features we'd like to have picked up:
-Storage pool creation support
-Support for additional guest interface options:
-Specifying NIC model type for virtual NICs
-Specifying bridge type interface
- Support for a list of boot devices instead of just one device

This also has a corresponding libcmpiutil update - 0.5.

Comment 3 Subhendu Ghosh 2009-09-23 05:16:14 UTC
Is there a libcmpiutil request?

Comment 4 IBM Bug Proxy 2009-09-24 16:50:44 UTC
------- Comment From karupert.com 2009-09-24 12:46 EDT-------
A feature request wasn't filed for libcmpiutil, but there should have been.  If it is possible, it would be nice to update libcmpiutil to version 0.5.

Comment 5 John Jarvis 2009-11-02 12:58:59 UTC
This enhancement request was evaluated by the full Red Hat Enterprise Linux 
team for inclusion in a Red Hat Enterprise Linux minor release.   As a 
result of this evaluation, Red Hat has tentatively approved inclusion of 
this feature in the next Red Hat Enterprise Linux Update minor release.   
While it is a goal to include this enhancement in the next minor release 
of Red Hat Enterprise Linux, the enhancement is not yet committed for 
inclusion in the next minor release pending the next phase of actual 
code integration and successful Red Hat and partner testing.

Comment 6 IBM Bug Proxy 2009-11-24 16:20:30 UTC
------- Comment From karupert.com 2009-11-24 11:13 EDT-------
Version 0.5.7 is the current version.  The tip has some patches to fixes a few connection leaks, some memory leaks, a seg fault, and a mof registration failure.  It would be good if these patches could be included:

Fix connection leaks: http://libvirt.org/hg/libvirt-cim/rev/44a7fbb87be6
Fix seg fault:  http://libvirt.org/hg/libvirt-cim/rev/b9ee6fd16113
Mof registration failure:  http://libvirt.org/hg/libvirt-cim/rev/0edafcdbee2e
Fix memory leaks:  http://libvirt.org/hg/libvirt-cim/rev/a804ea345a48
http://libvirt.org/hg/libvirt-cim/rev/33a6a50f64e0

It would also be great to get the ACPI, PAE, and APIC support in, but that's a new feature, not a bug fix.  So it's understandable if this is left out.
http://libvirt.org/hg/libvirt-cim/rev/2a194008eef8
http://libvirt.org/hg/libvirt-cim/rev/897250876e27
http://libvirt.org/hg/libvirt-cim/rev/fe05476dd71b
http://libvirt.org/hg/libvirt-cim/rev/90bc60da8178

Comment 7 Daniel Veillard 2009-11-25 13:22:57 UTC
Hum, let's see, the mof registration patch
http://libvirt.org/hg/libvirt-cim/rev/0edafcdbee2e
is already present in 0.5.7, are you sure ti was the right patch ?
The 4 others bug fixes apply well as long as the pae patch is the last one

I have built libvirt-cim-0.5.7-1.el5 in dist-5E-qu-candidate with the 8
patches and an updated spec file (mostly based on Fedora).
However if we have a new release of libvirt-cim soon, then it may be cleaner
to push the new version keep me posted,

  thanks,

Daniel

Comment 8 IBM Bug Proxy 2009-11-25 16:10:45 UTC
------- Comment From karupert.com 2009-11-25 11:07 EDT-------
Ah, yes.  The regression that caused the need for the MOF fix was introduced after 0.5.7.  This is the patch that causes the regression:  http://libvirt.org/hg/libvirt-cim/rev/3430e95189e3.

Yes, I hope to do a new release fix thing next week.  I'll update this defect when we get a new release out.

Comment 9 IBM Bug Proxy 2009-12-03 15:50:59 UTC
------- Comment From karupert.com 2009-12-03 10:45 EDT-------
There was a new version of libvirt-cim released yesterday.  The latest version is 0.5.8.  This version contains the patches for the memory leaks, connection leaks, and new ACPI (etc) features.

Comment 11 Daniel Veillard 2009-12-07 17:16:35 UTC
libvirt-cim-0.5.8-1.el5 has been built in dist-5E-qu-candidate so I'm updating 
to the latest version, 

  thanks !

Daniel

Comment 12 IBM Bug Proxy 2009-12-14 13:51:58 UTC
------- Comment From sglass.com 2009-12-14 08:42 EDT-------
In RH cvs tree moving to Acceped state

Comment 13 Osier Yang 2010-01-07 12:42:09 UTC
same reason as I commented in https://errata.devel.redhat.com/errata/show/9171

think libvirt-cim need respin.

Comment 14 Osier Yang 2010-01-07 12:43:00 UTC
BTW: the operating system is RHEL5.5, and current libvirt-cim version is 0.5.8-2

Comment 15 Daniel Veillard 2010-01-20 21:07:44 UTC
libvirt-cim-0.5.8-3.el5 has been built in dist-5E-qu-candidate whith
the change to try to make sure schemas gets properly registered

Daniel

Comment 18 IBM Bug Proxy 2010-02-11 19:00:40 UTC
------- Comment From karupert.com 2010-02-11 13:59 EDT-------
Verified this feature in the latest RHEL 5.5 beta.

Comment 19 errata-xmlrpc 2010-03-30 08:11:48 UTC
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-2010-0206.html