Bug 1279248
Summary: | Restarting libvirtd powers off VMs started outside oVirt | ||
---|---|---|---|
Product: | [oVirt] vdsm | Reporter: | Christopher Pereira <kripper> |
Component: | Core | Assignee: | Dan Kenigsberg <danken> |
Status: | CLOSED NOTABUG | QA Contact: | Aharon Canan <acanan> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.17.11 | CC: | bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-08 21:21:29 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
Christopher Pereira
2015-11-08 20:50:46 UTC
According to http://wiki.libvirt.org/page/FAQ: Q: Will restarting the libvirt daemon stop my virtual machines? A: NO, as of version 0.6.0 (Jan 2009). Versions older than this will kill VMs if the libvirtd daemon is stopped, so beware. I did some more debugging and found out that the VMs are powered off because of the virtio-serial channel entries that were left off from the original oVirt XML dumps: <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channels/0082f61b-fc41-40fe-a254-4868ad928853.com.redhat.rhevm.vdsm'/> <target type='virtio' name='com.redhat.rhevm.vdsm'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channels/0082f61b-fc41-40fe-a254-4868ad928853.org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='2'/> </channel> After removing this entries, libvirtd is not killing the VMs anymore. |