[Bug 350936] Re: Should shut down domains on system shutdown

Serge Hallyn 350936 at bugs.launchpad.net
Mon Aug 15 20:34:31 UTC 2011


** Description changed:

+ ===========================
+ SRU Justification
+ 1. Impact: libvirt VMs must be manually shut down before host shutdown, else they will be corrupted.
+ 2. How bug was addressed: the libvirt upstart job will now try to shut down all VMs before the host reboots or shuts down
+ 3. patch: see the linked bzr tree (or https://code.launchpad.net/~serge-hallyn/ubuntu/oneiric/libvirt/fix-shutdown/+merge/70245/+preview-diff/+files/preview.diff)
+ 4. TEST CASE: start a KVM vm under libvirt, then reboot the host.
+ 5. Regression potential: shutting down a host can now be delayed until the VMs shut down or the shutdown attempts time out.  This should be better than having VMs corrupted, and won't happen if VMs are not running; but could conceivably be seen as a regression.
+ ===========================
+ 
  I'm using autostart feature of libvirtd (my guest defined in
  /etc/libvirt/qemu/autostart/). It's starts normally, but if I reboot
  server then guest fs will be corrupted becouse its cant stop in time:
  
  WARNING: / was not properly dismounted
  
  We need to give more time to libvirtd to stop all guests.
  
- 
  I'm running jaunty amd64 with all updates.

-- 
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/350936

Title:
  Should shut down domains on system shutdown

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



More information about the Ubuntu-server-bugs mailing list