Bug 509261
| Summary: | nodedev-dumpxml can hang libvirtd | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Dave Allan <dallan> | ||||
| Component: | libvirt | Assignee: | Daniel Veillard <veillard> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.4 | CC: | nzhang, sghosh, shaohui.zheng, syeghiay, virt-maint, xen-maint, yoyzhang | ||||
| Target Milestone: | rc | Keywords: | Regression | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2009-09-02 09:21:03 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: | |||||||
| Attachments: |
|
||||||
Fix is a two liner already commited upstream. this is a rather critical bug, which consume a full CPU loop and can be activated by non-root users. https://www.redhat.com/archives/libvir-list/2009-July/msg00023.html Daniel libvirt-0.6.3-14.el5 was built in dist-5E-qu-candidate with the fix, Daniel *** Bug 509500 has been marked as a duplicate of this bug. *** Sorry, please ignore Comment #9. This bug has been fixed with libvirt 0.6.3-14.el5 on RHEL-5.4. Set status to VERIFIED. # virsh nodedev-dumpxml computer <device> <name>computer</name> <capability type='system'> <product>OptiPlex 740 Enhanced </product> <hardware> <vendor>Dell Inc.</vendor> <serial>F77GM2X</serial> <uuid>44454c4c-3700-1037-8047-c6c04f4d3258</uuid> </hardware> <firmware> <vendor>Dell Inc.</vendor> <version>2.1.9</version> <release_date>12/04/2008</release_date> </firmware> </capability> </device> *** Bug 510681 has been marked as a duplicate of this bug. *** 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/RHEA-2009-1269.html |
Created attachment 350202 [details] Fix by Cole Robinson Description of problem: Executing virsh nodedev-dumpxml for any device other than a scsi host will cause libvirt to go into an infinite loop. Version-Release number of selected component (if applicable): libvirt-0.6.3-13.el5 How reproducible: 100% Steps to Reproduce: 1. execute: virsh nodedev-dumpxml computer Actual results: hang Expected results: XML should be displayed