[Bug 1803741] Re: libvirt-guests.sh cannot stop Paused domains

2019-01-28 Thread Launchpad Bug Tracker
[Expired for libvirt (Ubuntu) because there has been no activity for 60 days.] ** Changed in: libvirt (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/180374

[Bug 1803741] Re: libvirt-guests.sh cannot stop Paused domains

2018-11-29 Thread  Christian Ehrhardt 
Incomplete as we are waiting for the reporter to test the proposed solution before upstreaming. ** Changed in: libvirt (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.ne

[Bug 1803741] Re: libvirt-guests.sh cannot stop Paused domains

2018-11-28 Thread  Christian Ehrhardt 
Classic handling on 3 guests (normal, paused, uncooperative) is currently like: # /usr/lib/libvirt/libvirt-guests.sh stop Running guests on default URI: testguest-normal, testguest-paused, testguest-nocoop Shutting down guests on default URI... Starting shutdown on guest: testguest-normal Starting

[Bug 1803741] Re: libvirt-guests.sh cannot stop Paused domains

2018-11-28 Thread  Christian Ehrhardt 
The issue is manyfold: - On paused domains Starting shutdown on guest: testguest3 error: Failed to shutdown domain 50ee425f-899e-4489-b5b0-22a97c2a2f42 error: Requested operation is not valid: domain is not running - on running but non cooperative domains The softer shutdown will be ignored

Re: [Bug 1803741] Re: libvirt-guests.sh cannot stop Paused domains

2018-11-24 Thread Gene Vigelis
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.la

Re: [Bug 1803741] Re: libvirt-guests.sh cannot stop Paused domains

2018-11-24 Thread  Christian Ehrhardt 
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 fail

[Bug 1803741] Re: libvirt-guests.sh cannot stop Paused domains

2018-11-23 Thread Andreas Hasenack
Right. Even without LVM, the behavior I described is enough to show a bug I think. -- 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 manag

Re: [Bug 1803741] Re: libvirt-guests.sh cannot stop Paused domains

2018-11-20 Thread Gene Vigelis
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 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

[Bug 1803741] Re: libvirt-guests.sh cannot stop Paused domains

2018-11-20 Thread Andreas Hasenack
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 @cpa