I already reinstalled the test systems with 11.04 so i can't send logs
anymore.

acpid was installed on the VM's and shutdown was confirmed by both the
shutdownlog and visual confirmation of the VM's shutting down. One test
VM was a ubuntu 11.04 desktop install that pop's up the gnome shutdown
dialog with a 60 second timeout. The host reboot/shutdown would happen
without the timer actually decreasing.

I tried to run the script manually, after commenting out the first
runlevel check, and the shutdown worked fine and waited for all VM's to
be shutdown before exiting. (After setting a higher timeout, as 30
seconds is not enough for the 60 second gnome timeout).

But after some more testing i got the idea it was actually a general
upstart problem as it didn't wait for corosync to shutdown as well. The
system shutdown happends about 20 seonds after issuing the host
reboot/shutdown command, which seems to be some upstart timeout. (And i
did test without a corosync/pacemaker/drbd setup to make sure it also
happens with libvirt/kvm only).

Maybe something went wrong with the update from 11.04. The conversion to /run 
was also not done right by the upgrade and i had to fix that manually. So maybe 
it's related to that.
The systems where pretty fresh though. They where installed with 11.04 last 
week and fully updated. After i ran in to some issue i tried the upgrade to 
11.10 to see if it would help and ran into this.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/865686

Title:
  11.10 libvirt-bin upstart script doesn't shut down vm's

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to