Bug 693385 - Libvirtd crashes or hangs when trying to reconnect qemu-kvm domain
Summary: Libvirtd crashes or hangs when trying to reconnect qemu-kvm domain
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.1
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: rc
: ---
Assignee: Jiri Denemark
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 682015
TreeView+ depends on / blocked
 
Reported: 2011-04-04 14:15 UTC by David Naori
Modified: 2011-07-25 15:13 UTC (History)
9 users (show)

Fixed In Version: libvirt-0.8.7-18.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 13:29:38 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0596 0 normal SHIPPED_LIVE libvirt bug fix and enhancement update 2011-05-18 17:56:36 UTC

Comment 2 RHEL Program Management 2011-04-04 14:33:53 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 3 Jiri Denemark 2011-04-12 17:40:10 UTC
The reproducer is similar to that of bug 681459:

1. create two transient (using virsh create) qemu domains with the following
   UUIDs:
   dom1: d5b3e8ff-2be6-4f81-a23e-6ec94f2338db and
   dom2: f0b4f8f7-0a56-4a76-ab7d-522bbe32ada3
   (the exact UUIDs are crucial since they need to be mapped to the same
   hash key so that the two objects form a linked list within the hash)
2. stop libvirtd service
3. kill the qemu processes corresponding to dom1 and dom2
5. start libvirtd service
   the deamon should crash or hang once it detects that it cannot connect to 
   those domains

POST: http://post-office.corp.redhat.com/archives/rhvirt-patches/2011-April/msg00346.html

Comment 6 Gunannan Ren 2011-04-19 12:06:14 UTC
The bug has been verified on libvirt-0.8.7-18.el6.x86_64

Followed the steps #comment3, 
# service libvirtd stop
Stopping libvirtd daemon:                                  [  OK  ]

# kill `pgrep qemu`

# service libvirtd start
Starting libvirtd daemon:                                  [  OK  ]

# service libvirtd status
libvirtd (pid  13316) is running...

Comment 9 errata-xmlrpc 2011-05-19 13:29:38 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-2011-0596.html


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