Bug 1015246

Summary: domain disappears after libvirtd crash + restart, but reappears after one more restart
Product: [Fedora] Fedora Reporter: Cole Robinson <crobinso>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: awilliam, berrange, clalancette, itamar, jforbes, jyang, laine, libvirt-maint, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-1.1.3.1-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-12 00:35:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cole Robinson 2013-10-03 17:51:52 UTC
Bit of a weird one here. I have a guest that, when started, crashes libvirtd. This is bug #1014088 , simple to reproduce, just try to start a guest with nographics and no video device attached. Here's a demo:

[crobinso@colepc ~]$ sudo virsh list --all | grep anyconfig-f18
 -     ztester-anyconfig-f18          shut off
[crobinso@colepc ~]$ sudo virsh start ztester-anyconfig-f18
error: Failed to start domain ztester-anyconfig-f18
error: End of file while reading data: Input/output error
error: One or more references were leaked after disconnect from the hypervisor
error: Failed to reconnect to the hypervisor

[crobinso@colepc ~]$ sudo virsh list --all | grep anyconfig-f18
[crobinso@colepc ~]$ sudo service libvirtd restart
Restarting libvirtd (via systemctl):                       [  OK  ]
[crobinso@colepc ~]$ sudo virsh list --all | grep anyconfig-f18
 -     ztester-anyconfig-f18          shut off


I start the VM, libvirtd crashes, systemd restarts it, but now the culprit vm is gone from virsh list. Restart libvirtd one more time and it reappears.

Comment 1 Cole Robinson 2013-10-03 18:40:43 UTC
*** Bug 979533 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2013-11-06 18:38:06 UTC
libvirt-1.1.3.1-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libvirt-1.1.3.1-1.fc20

Comment 4 Fedora Update System 2013-11-07 19:08:31 UTC
Package libvirt-1.1.3.1-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libvirt-1.1.3.1-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-20869/libvirt-1.1.3.1-1.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-11-12 00:35:18 UTC
libvirt-1.1.3.1-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.