Public bug reported:

On a brand new installation of Ubuntu Server 16.04.2 LTS the libvirt-
guests.sh script fails to shutdown my VMs if run with PARALLEL_SHUTDOWN
> 0, instead running forever thereby preventing me from shutting down my
system. I debugged the script with 'set -x' and found out that the
problem lies in the `check_guests_shutdown()` function (line 337). If a
guest is shutdown, it runs eval_gettext() to print that the state of the
guest cannot be determined. This is used as a return value on line 428,
causing the script to interpret the error message as a list of VM IDs
and trying to shutdown these. This of course fails again and the cycle
continues. For now I have commented out the eval_gettext line and the
script works fine again.

My libvirt version is 1.3.1-1ubuntu10.8.

** 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/1688508

Title:
  libvirt-guests.sh fails to shutdown guests in parallel

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

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

Reply via email to