If your guest is using LVM for it's root disk it will never shut down

On Tue, Nov 20, 2018, 2:41 PM Andreas Hasenack <andr...@canonical.com
wrote:

> I gave this a try with nested virtualization, where the host was a 18.04
> kvm, and there was another 18.04 guest inside it. I paused the guest,
> shutdown the host, and I did see it take a very long time to shutdown.
> When the host came back, the guest state was off, no longer paused.
>
> Subscribing @cpaelzer for his opinion on this.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1803741
>
> Title:
>   libvirt-guests.sh cannot stop Paused domains
>
> Status in libvirt package in Ubuntu:
>   New
>
> Bug description:
>   When I shut down my KVM host with a guest in the Paused state libvirt-
>   guests.sh eventually times out unable to shutdown the guests. This has
>   the side effect of preventing LVM from stopping the LVs used by the
>   paused guest and I end up in an infinite retry loop. libvirt-guests.sh
>   should know how to handle a Paused guest.
>
>   Description:    Ubuntu 18.04.1 LTS
>   Release:        18.04
>
>   qemu-kvm/bionic-updates,now 1:2.11+dfsg-1ubuntu7.7 amd64 [installed]
>
>   Expected the guest to either be resumed and shutdown OR saved and it
>   state restored on reboot.
>
>
>   What happened:
>   libvirt-guests.ksh timed out and shutdown process proceeded with guest
> still in the paused state. This had the side-effect of hanging a later
> operation (LVM shutdown).
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1803741/+subscriptions
>

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

Title:
  libvirt-guests.sh cannot stop Paused domains

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to