Bug 1351057
| Summary: | lxc: when undefine a vm first, cannot destroy it successfully. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | yisun |
| Component: | libvirt | Assignee: | Martin Kletzander <mkletzan> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.3 | CC: | dyuan, rbalakri, xuzhang, yanyang, ydu, yisun |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-2.0.0-4.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-03 18:47:50 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
yisun
2016-06-29 06:34:01 UTC
*** Bug 1351055 has been marked as a duplicate of this bug. *** Patch proposed upstream: https://www.redhat.com/archives/libvir-list/2016-July/msg00807.html Fixed upstream with v2.0.0-231-ge4200bbb9d9b:
commit e4200bbb9d9bbc58a51ca55c6073146126447afb
Author: Martin Kletzander <mkletzan>
Date: Wed Jul 20 09:23:03 2016 +0200
lxc: Don't crash by forgetting to ref transient domains
*** Bug 1363773 has been marked as a duplicate of this bug. *** Verified on libvirt-2.0.0-4.el7.x86_64: PASSED # virsh -c lxc:// list --all Id Name State ---------------------------------------------------- 32810 avocado-vt-vm1 running # getenforce Enforcing # virsh -c lxc:// undefine avocado-vt-vm1 Domain avocado-vt-vm1 has been undefined # virsh -c lxc:// destroy avocado-vt-vm1 Domain avocado-vt-vm1 destroyed # virsh -c lxc:// list --all Id Name State ---------------------------------------------------- (in another terminal, no "libvirtd.service: main process exited") # tailf /var/log/messages Aug 5 03:06:09 hp-dl320eg8-10 systemd-logind: New session 32 of user root. Aug 5 03:06:09 hp-dl320eg8-10 systemd: Started Session 32 of user root. Aug 5 03:06:09 hp-dl320eg8-10 systemd: Starting Session 32 of user root. Aug 5 03:09:14 hp-dl320eg8-10 dbus-daemon: dbus[699]: avc: received setenforce notice (enforcing=1) Aug 5 03:09:14 hp-dl320eg8-10 dbus[699]: avc: received setenforce notice (enforcing=1) Aug 5 03:09:14 hp-dl320eg8-10 dbus[699]: [system] Reloaded configuration Aug 5 03:09:14 hp-dl320eg8-10 dbus-daemon: dbus[699]: [system] Reloaded configuration Aug 5 03:09:37 hp-dl320eg8-10 journal: End of file while reading data: Input/output error Aug 5 03:09:37 hp-dl320eg8-10 systemd-machined: Machine lxc-32810-avocado-vt-vm1 terminated. Aug 5 03:09:37 hp-dl320eg8-10 kernel: virbr0: port 1(vnet0) entered disabled state Aug 5 03:09:37 hp-dl320eg8-10 kernel: device vnet0 left promiscuous mode Aug 5 03:09:37 hp-dl320eg8-10 kernel: virbr0: port 1(vnet0) entered disabled state Aug 5 03:09:37 hp-dl320eg8-10 NetworkManager[701]: <info> [1470380977.7891] device (vnet0): driver 'veth' does not support carrier detection. ^C Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-2577.html |