Bug 1946697
Summary: | systemctl restart libvirtd shuts down all VMs on the host | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Michal Skrivanek <michal.skrivanek> |
Component: | libvirt | Assignee: | Jiri Denemark <jdenemar> |
Status: | CLOSED ERRATA | QA Contact: | Fangge Jin <fjin> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 8.4 | CC: | fjin, jdenemar, lsvaty, virt-maint, yalzhang, ymankad |
Target Milestone: | rc | ||
Target Release: | 8.4 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-7.0.0-13.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-25 06:48:32 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1946204 |
Description
Michal Skrivanek
2021-04-06 17:06:52 UTC
This issue can be reproduced by below steps(with libvirt-guests), but ovirt doesn't use libvirt-guests, so I think we'd better cover it in RHV integration testing. # cat /etc/sysconfig/libvirt-guests ON_BOOT=ignore ON_SHUTDOWN=shutdown # systemctl start libvirtd # systemctl start libvirt-guests # virsh start avocado-vt-vm1 # systemctl restart libvirtd # virsh list --all Id Name State --------------------------------- - avocado-vt-vm1 shut off And note that vm should not be set to autostarted: # virsh list --all --autostart Id Name State -------------------- (In reply to Fangge Jin from comment #5) > This issue can be reproduced by below steps(with libvirt-guests), but ovirt > doesn't use libvirt-guests, so I think we'd better cover it in RHV > integration testing. Sorry, my memory is wrong. ovirt uses libvirt-guests: static/usr/lib/systemd/system/vdsmd.service.in:8:Before=libvirt-guests.service indeed. but we lack a dedicated test for it:/ Test pass with libvirt-7.0.0-13.module+el8.4.0+10604+5608c2b4.x86_64. Same steps as comment5 and comment6 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 (virt:av bug fix and enhancement update), 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/RHBA-2021:2098 |