Server Team Backports PPA: latest upgrades to libvirt shuts down domains without restarting them
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
My focal host recently patched itself to the newest libvirt version available in the Server Team Backports PPA (https:/
# lsb_release -rd
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Excerpt from my /var/log/
Start-Date: 2022-03-18 07:02:13
Commandline: /usr/bin/
Upgrade: libvirt-
End-Date: 2022-03-18 07:02:46
Excerpt from journalctl -u libvirtd:
Mar 18 07:02:20 REDACTED systemd[1]: Stopping Virtualization daemon...
Mar 18 07:02:20 REDACTED systemd[1]: libvirtd.service: Succeeded.
Mar 18 07:02:20 REDACTED systemd[1]: Stopped Virtualization daemon.
Mar 18 07:02:20 REDACTED systemd[1]: libvirtd.service: Found left-over process 9913 (virtiofsd) in control group while starting unit. Ignoring.
Mar 18 07:02:20 REDACTED systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 18 07:02:20 REDACTED systemd[1]: libvirtd.service: Found left-over process 10299 (virtiofsd) in control group while starting unit. Ignoring.
Mar 18 07:02:20 REDACTED systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 18 07:02:20 REDACTED systemd[1]: libvirtd.service: Found left-over process 19444 (virtiofsd) in control group while starting unit. Ignoring.
Mar 18 07:02:20 REDACTED systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 18 07:02:20 REDACTED systemd[1]: libvirtd.service: Found left-over process 19917 (virtiofsd) in control group while starting unit. Ignoring.
Mar 18 07:02:20 REDACTED systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 18 07:02:20 REDACTED systemd[1]: libvirtd.service: Found left-over process 27108 (virtiofsd) in control group while starting unit. Ignoring.
Mar 18 07:02:20 REDACTED systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 18 07:02:20 REDACTED systemd[1]: libvirtd.service: Found left-over process 27660 (virtiofsd) in control group while starting unit. Ignoring.
Mar 18 07:02:20 REDACTED systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 18 07:02:20 REDACTED systemd[1]: Starting Virtualization daemon...
Mar 18 07:02:20 REDACTED systemd[1]: Started Virtualization daemon.
Mar 18 07:02:21 REDACTED systemd[1]: Stopping Virtualization daemon...
Mar 18 07:02:24 REDACTED systemd[1]: libvirtd.service: Main process exited, code=dumped, status=11/SEGV
Mar 18 07:02:24 REDACTED systemd[1]: libvirtd.service: Failed with result 'core-dump'.
Mar 18 07:02:24 REDACTED systemd[1]: Stopped Virtualization daemon.
Mar 18 07:02:24 REDACTED systemd[1]: libvirtd.service: Found left-over process 9913 (virtiofsd) in control group while starting unit. Ignoring.
Mar 18 07:02:24 REDACTED systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 18 07:02:24 REDACTED systemd[1]: libvirtd.service: Found left-over process 10299 (virtiofsd) in control group while starting unit. Ignoring.
Mar 18 07:02:24 REDACTED systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 18 07:02:24 REDACTED systemd[1]: libvirtd.service: Found left-over process 19444 (virtiofsd) in control group while starting unit. Ignoring.
Mar 18 07:02:24 REDACTED systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 18 07:02:24 REDACTED systemd[1]: libvirtd.service: Found left-over process 19917 (virtiofsd) in control group while starting unit. Ignoring.
Mar 18 07:02:24 REDACTED systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 18 07:02:24 REDACTED systemd[1]: libvirtd.service: Found left-over process 27108 (virtiofsd) in control group while starting unit. Ignoring.
Mar 18 07:02:24 REDACTED systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 18 07:02:24 REDACTED systemd[1]: libvirtd.service: Found left-over process 27660 (virtiofsd) in control group while starting unit. Ignoring.
Mar 18 07:02:24 REDACTED systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 18 07:02:24 REDACTED systemd[1]: Starting Virtualization daemon...
Mar 18 07:02:25 REDACTED systemd[1]: Started Virtualization daemon.
Mar 18 07:02:27 REDACTED systemd[1]: Stopping Virtualization daemon...
Mar 18 07:02:27 REDACTED systemd[1]: libvirtd.service: Succeeded.
Mar 18 07:02:27 REDACTED systemd[1]: Stopped Virtualization daemon.
Mar 18 07:02:27 REDACTED systemd[1]: libvirtd.service: Found left-over process 9913 (virtiofsd) in control group while starting unit. Ignoring.
Mar 18 07:02:27 REDACTED systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 18 07:02:27 REDACTED systemd[1]: libvirtd.service: Found left-over process 10299 (virtiofsd) in control group while starting unit. Ignoring.
Mar 18 07:02:27 REDACTED systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 18 07:02:27 REDACTED systemd[1]: libvirtd.service: Found left-over process 19444 (virtiofsd) in control group while starting unit. Ignoring.
Mar 18 07:02:27 REDACTED systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 18 07:02:27 REDACTED systemd[1]: libvirtd.service: Found left-over process 19917 (virtiofsd) in control group while starting unit. Ignoring.
Mar 18 07:02:27 REDACTED systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 18 07:02:27 REDACTED systemd[1]: libvirtd.service: Found left-over process 27108 (virtiofsd) in control group while starting unit. Ignoring.
Mar 18 07:02:27 REDACTED systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 18 07:02:27 REDACTED systemd[1]: libvirtd.service: Found left-over process 27660 (virtiofsd) in control group while starting unit. Ignoring.
Mar 18 07:02:27 REDACTED systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 18 07:02:27 REDACTED systemd[1]: Starting Virtualization daemon...
Mar 18 07:02:27 REDACTED systemd[1]: Started Virtualization daemon.
Mar 18 07:02:37 REDACTED libvirtd[4095158]: libvirt version: 7.6.0, package: 0ubuntu1.
Mar 18 07:02:37 REDACTED libvirtd[4095158]: hostname: REDACTED
Mar 18 07:02:37 REDACTED libvirtd[4095158]: internal error: End of file from qemu monitor
Mar 18 07:02:37 REDACTED ovs-vsctl[4099485]: ovs|00001|
Mar 18 07:02:38 REDACTED libvirtd[4095158]: internal error: End of file from qemu monitor
Mar 18 07:02:38 REDACTED libvirtd[4095158]: internal error: End of file from qemu monitor
Mar 18 07:02:38 REDACTED ovs-vsctl[4099605]: ovs|00001|
Mar 18 07:02:38 REDACTED libvirtd[4095158]: internal error: End of file from qemu monitor
Mar 18 07:02:38 REDACTED libvirtd[4095158]: internal error: End of file from qemu monitor
Mar 18 07:02:38 REDACTED libvirtd[4095158]: internal error: End of file from qemu monitor
Mar 18 07:02:38 REDACTED libvirtd[4095158]: internal error: End of file from qemu monitor
Mar 18 07:02:38 REDACTED ovs-vsctl[4099677]: ovs|00001|
Mar 18 07:02:39 REDACTED ovs-vsctl[4099722]: ovs|00001|
Mar 18 07:02:39 REDACTED ovs-vsctl[4102892]: ovs|00001|
Mar 18 07:02:39 REDACTED ovs-vsctl[4103115]: ovs|00001|
Mar 18 07:02:39 REDACTED ovs-vsctl[4103132]: ovs|00001|
Mar 18 07:02:42 REDACTED libvirtd[4095158]: internal error: End of file from qemu monitor
Mar 18 07:02:42 REDACTED ovs-vsctl[4103313]: ovs|00001|
Mar 18 07:02:44 REDACTED systemd[1]: Stopping Virtualization daemon...
Mar 18 07:02:44 REDACTED systemd[1]: libvirtd.service: Succeeded.
Mar 18 07:02:44 REDACTED systemd[1]: Stopped Virtualization daemon.
Mar 18 07:02:44 REDACTED systemd[1]: Starting Virtualization daemon...
Mar 18 07:02:44 REDACTED systemd[1]: Started Virtualization daemon.
Mar 18 09:04:14 athens ovs-vsctl[4163579]: ovs|00001|
The last log entry is me manually starting up a VM that is a critical network service by simply doing a virsh start <DOMAIN> after I realized there was a problem.
What a "normal" libvirtd log looks like after a restart:
Mar 18 09:25:00 REDACTED systemd[1]: Starting Virtualization daemon...
Mar 18 09:25:04 REDACTED systemd[1]: Started Virtualization daemon.
Mar 18 09:25:11 REDACTED ovs-vsctl[6500]: ovs|00001|
Mar 18 09:25:16 REDACTED ovs-vsctl[7031]: ovs|00001|
Mar 18 09:25:19 REDACTED ovs-vsctl[9403]: ovs|00001|
Mar 18 09:25:21 REDACTED ovs-vsctl[11914]: ovs|00001|
Mar 18 09:25:24 REDACTED ovs-vsctl[17752]: ovs|00001|
Mar 18 09:25:27 REDACTED ovs-vsctl[23094]: ovs|00001|
Mar 18 09:25:29 REDACTED ovs-vsctl[27019]: ovs|00001|
Mar 18 09:25:31 REDACTED ovs-vsctl[29650]: ovs|00001|
Excerpt from journalctl -u libvirt-guests
Mar 18 07:02:29 REDACTED systemd[1]: Stopping Suspend/Resume Running libvirt Guests...
Mar 18 07:02:29 REDACTED libvirt-
Mar 18 07:02:29 REDACTED libvirt-
Mar 18 07:02:29 REDACTED libvirt-
Mar 18 07:02:29 REDACTED libvirt-
Mar 18 07:02:29 REDACTED libvirt-
Mar 18 07:02:29 REDACTED libvirt-
Mar 18 07:02:29 REDACTED libvirt-
Mar 18 07:02:29 REDACTED libvirt-
Mar 18 07:02:29 REDACTED libvirt-
Mar 18 07:02:29 REDACTED libvirt-
Mar 18 07:02:29 REDACTED libvirt-
Mar 18 07:02:30 REDACTED libvirt-
Mar 18 07:02:36 REDACTED libvirt-
Mar 18 07:02:38 REDACTED libvirt-
Mar 18 07:02:39 REDACTED libvirt-
Mar 18 07:02:39 REDACTED libvirt-
Mar 18 07:02:39 REDACTED libvirt-
Mar 18 07:02:39 REDACTED libvirt-
Mar 18 07:02:40 REDACTED libvirt-
Mar 18 07:02:40 REDACTED libvirt-
Mar 18 07:02:42 REDACTED libvirt-
Mar 18 07:02:42 REDACTED libvirt-
Mar 18 07:02:42 REDACTED systemd[1]: libvirt-
Mar 18 07:02:42 REDACTED systemd[1]: Stopped Suspend/Resume Running libvirt Guests.
Mar 18 07:02:42 REDACTED systemd[1]: Starting Suspend/Resume Running libvirt Guests...
Mar 18 07:02:42 REDACTED libvirt-
Mar 18 07:02:42 REDACTED systemd[1]: Finished Suspend/Resume Running libvirt Guests.
# virsh list --autostart
Id Name State
-------
1 REDACTED running
2 REDACTED running
3 REDACTED running
4 REDACTED running
5 REDACTED running
6 REDACTED running
7 REDACTED running
8 REDACTED running
It is very unexpected behavior for an upgrade to (cleanly) shutdown all domains and not restart them.
description: | updated |
I should add that I believe this actually started happening with 7.6.0, package: 0ubuntu1. 1~backport20. 04-202203140809 ~ubuntu20. 04.1 but I initially thought it was a one-off problem.