If you have a cluster (corosync and pacemaker) running a VM as a
resource then during a shutdown the VM would be removed from virsh list
since its running as a transient domain.

https://wiki.libvirt.org/page/VM_lifecycle#Transient_guest_domains_vs_Persistent_guest_domains

This would cause the VM name to be unknown when we later try to lookup
its name since the VM is removed from virsh when shutdown.

Another way to fix it would be to store the VM name before shutdown.
Then it could be printed in print_guests_shutdown.

-J

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

Title:
  guest cleanup script fails to iterate

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

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

Reply via email to