Bug 1442700
Summary: | The vm shutdown when restart libvirtd with no-autostart network destroyed | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | yalzhang <yalzhang> |
Component: | libvirt | Assignee: | Laine Stump <laine> |
Status: | CLOSED ERRATA | QA Contact: | yalzhang <yalzhang> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.4 | CC: | laine, rbalakri, xuzhang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-3.2.0-4.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-02 00:05:54 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
yalzhang@redhat.com
2017-04-17 07:47:18 UTC
We're attempting to reconnect to the network (since we've detected that the guest is no longer connected) but failing to account for the possibility that the network is *still* down. That failure needs to be more graceful (i.e. just stop trying to reconnect rather than completely tearing everything else down). Patches posted upstream: https://www.redhat.com/archives/libvir-list/2017-April/msg01184.html Pushed upstream, will be in libvirt-3.3.0: commit cb182eb11d3a99adb06e188989899dcd488c43fc Author: Laine Stump <laine> Date: Tue Apr 25 12:20:30 2017 -0400 qemu: don't kill qemu process on restart if networkNotify fails commit 7949de960eaba07661c1e0ab6e4aa945db8c1b25 Author: Laine Stump <laine> Date: Tue Apr 25 12:26:43 2017 -0400 network: better log message when network is inactive during reconnect test on libvirt-3.2.0-4.el7.x86_64, the results is as expected, 1. start a guest and connected to a transient not autostart network. # virsh net-list Name State Autostart Persistent ---------------------------------------------------------- default active no yes # virsh list Id Name State ---------------------------------------------------- 1 rhel7 running # brctl show bridge name bridge id STP enabled interfaces virbr0 8000.525400779a74 yes virbr0-nic vnet0 2. destroy the transient network, then restart libvirtd, the guest do not shutdown. # virsh net-destroy default Network default destroyed # systemctl restart libvirtd.service # virsh list Id Name State ---------------------------------------------------- 1 rhel7 running 3. check the log file # cat /var/log/libvirt/libvirtd.log ... 2017-05-07 06:43:40.690+0000: 15029: debug : networkNotifyActualDevice:4688 : Requested operation is not valid: network 'default' is not active ... 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://access.redhat.com/errata/RHEA-2017:1846 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://access.redhat.com/errata/RHEA-2017:1846 |