Bug 509500 - nodedev-list can hang libvirtd
Summary: nodedev-list can hang libvirtd
Keywords:
Status: CLOSED DUPLICATE of bug 509261
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libvirt
Version: 5.4
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Daniel Veillard
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 509952 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-03 05:48 UTC by zhanghaiyan
Modified: 2009-12-14 21:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-08 11:31:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description zhanghaiyan 2009-07-03 05:48:09 UTC
Description of problem:
Executing virsh nodedev-list will cause libvirt to go into an infinite loop.


Version-Release number of selected component (if applicable):
libvirt-0.6.3-13.el5
RHEL5.4-Server/Client-KVM
RHEL5.4-Server-Xen

How reproducible:
100%

Steps to Reproduce:
execute: 
# virsh nodedev-list computer

  
Actual results:
hang

Expected results:
List out all node devices

Additional info:

Comment 1 zhanghaiyan 2009-07-03 05:54:01 UTC
Update
Steps to Reproduce:
execute: 
# virsh nodedev-list --tree

Comment 2 Daniel Veillard 2009-07-07 14:21:53 UTC
I really can't reproduce this:

[root@test2 ~]# virsh nodedev-list --tree  
computer
  |
  +-pci_8086_104c
  |   |
  |   +-net_00_19_d1_2d_c0_45
  |     
  +-pci_8086_244e
  +-pci_8086_2812
  +-pci_8086_2822
  |   |
  |   +-pci_8086_2822_scsi_host
  |   +-pci_8086_2822_scsi_host_0
  |   +-pci_8086_2822_scsi_host_1
  |   +-pci_8086_2822_scsi_host_2
  |   +-pci_8086_2822_scsi_host_3
  |   |   |
...
  +-pci_8086_29a2
  +-pci_8086_29a3
    

[root@test2 ~]# rpm -q libvirt
libvirt-0.6.3-13.el5
[root@test2 ~]# 

  There is something missing here... note that 

virsh nodedev-dumpxml computer

hangs on that box, it's bug
  https://bugzilla.redhat.com/show_bug.cgi?id=509261
for which we have a fix in the pipeline, but that one
I can't reproduce ! Can you make sure you didn't mix the
2 issues, if no can you run libvirtd under valgrind or gdb
and then rerun the command, then report your findings,

  thanks

Daniel

Comment 3 Bill Burns 2009-07-07 17:24:59 UTC
*** Bug 509952 has been marked as a duplicate of this bug. ***

Comment 4 zhanghaiyan 2009-07-08 01:45:16 UTC
Only run command # virsh nodedev-list doesn't have this issue
If run command # virsh nodedev-list after run command # virsh nodedev-dumpxml computer will cause this issue.

Comment 5 Daniel Veillard 2009-07-08 11:31:57 UTC
Okay then it's a dup of 509261 which is fixed in libvirt-0.6.3-14.el5 and
should be on QA at this point. Just make sure you can't reproduce the issue
with that version,

  thanks,

Daniel

*** This bug has been marked as a duplicate of bug 509261 ***


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