Public bug reported:

Hi,

The parallel shutdown feature that is supported by libvirt doesn't work
properly when agent is used to shut down the guest. This happens because
the shutdown_guest_async
(https://libvirt.org/git/?p=libvirt.git;a=blob;f=tools/libvirt-
guests.sh.in;hb=HEAD#l301) expects "virsh shutdown ..." to be
asynchronous. While this might be the case when ACPI shutdown mode is
used, when using QEMU agent to shut down (we use it to reliably shut
down Windows Server 2019 guests which are not shutdown gracefully via
ACPI after running for several days), the "virsh shutdown ..." blocks
until shutdown is completed, effectively rendering the configured
shutdown parallelism useless.

The subject version of Ubuntu is 18.04.3, with 5.3 (official HWE) kernel, 
related package versions are as follows:
libvirt-clients/bionic-updates,now 4.0.0-1ubuntu8.14
libvirt-daemon/bionic-updates,now 4.0.0-1ubuntu8.14
libvirt-daemon-system/bionic-updates,now 4.0.0-1ubuntu8.14
libvirt0/bionic-updates 4.0.0-1ubuntu8.14
qemu-kvm/bionic-updates 1:2.11+dfsg-1ubuntu7.21
qemu-system-common/bionic-updates 1:2.11+dfsg-1ubuntu7.21
qemu-system-x86/bionic-updates 1:2.11+dfsg-1ubuntu7.21

I understand that 18.04 is quite old, this is not a security problem,
etc., but I would like to see this fixed/improved upon at least some
time in the future. https://libvirt.org/bugs.html specifically states
that when reporting bugs, they should first be reported to distro
owners, so I'm doing exactly that.

Thank you for taking a look at this one.

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1861222

Title:
  Libvirt parallel shutdown is not truly parallel when agent-based
  shutdown is used

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1861222/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to