My thought would be that it depends on the default of whether to shutdown
or save guests on host shutdown. FYI changing the default to save works
around the problem so only the setting to shut down the guests needs to be
fixed.

On Sat, Nov 24, 2018, 2:45 AM  Christian Ehrhardt  <
1803...@bugs.launchpad.net wrote:

> This script was not perfect upstream for a long time (and isn't yet) -
> earlier this year we fixed plenty of issues in there.
> And as a note - whoever touched the script shivers, but then nobody wants
> to do a full rewrite either.
> Without checking it yet I absolutely expect that this is right and failing.
>
> Although, I'm not entirely sure what the right state for paused guests
> after reboot would be.
> Maybe shutting them down is the right thing, I'll have to investigate.
> But in any case it shouldn't take ulta-long to do so.
>
> Thanks for the report Gene, I'll take a look as soon as time permits!
>
> --
> 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