Should shut down domains on system shutdown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kvm (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Invalid
|
Undecided
|
Unassigned | ||
Maverick |
Invalid
|
Undecided
|
Unassigned | ||
Natty |
Won't Fix
|
Undecided
|
Unassigned | ||
libvirt (Ubuntu) |
Fix Released
|
High
|
Serge Hallyn | ||
Lucid |
Fix Released
|
High
|
Unassigned | ||
Maverick |
Fix Released
|
High
|
Unassigned | ||
Natty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
=======
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:/
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/
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.
Related branches
- Clint Byrum (community): Approve
-
Diff: 102 lines (+70/-1)2 files modifieddebian/changelog (+7/-0)
debian/libvirt-bin.upstart (+63/-1)
affects: | ubuntu → kvm (Ubuntu) |
Changed in libvirt (Ubuntu): | |
importance: | Undecided → Medium |
summary: |
- kvm stop rc + Should shut down domains on system shutdown |
Changed in libvirt (Ubuntu): | |
assignee: | Dustin Kirkland (kirkland) → nobody |
Changed in libvirt (Ubuntu): | |
milestone: | none → ubuntu-10.04.2 |
tags: | added: patch |
Changed in libvirt (Ubuntu): | |
milestone: | ubuntu-10.04.2 → ubuntu-10.04.3 |
Changed in libvirt (Ubuntu): | |
importance: | Low → Medium |
Changed in libvirt (Ubuntu): | |
importance: | Medium → High |
milestone: | ubuntu-10.04.3 → ubuntu-11.10-beta-1 |
Changed in libvirt (Ubuntu): | |
assignee: | Clint Byrum (clint-fewbar) → Serge Hallyn (serge-hallyn) |
status: | Triaged → In Progress |
Changed in libvirt (Ubuntu Lucid): | |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
tags: | added: verification-done-lucid |
tags: | added: verification-done |
Changed in libvirt (Ubuntu Natty): | |
status: | New → Fix Committed |
tags: |
added: verification-done removed: verification-needed |
tags: | added: verification-done-natty verification-needed |
This is not a KVM issue but rather a libvirt issue. libvirt should delay shutdown until the guests have fully shut down.