2013-07-02 11:48:48 |
Phil Day |
bug |
|
|
added bug |
2013-07-02 11:51:16 |
Phil Day |
nova: assignee |
|
Phil Day (philip-day) |
|
2013-07-02 14:41:26 |
OpenStack Infra |
nova: status |
New |
In Progress |
|
2013-12-16 12:53:49 |
OpenStack Infra |
nova: status |
In Progress |
Fix Committed |
|
2013-12-18 15:53:13 |
Russell Bryant |
nova: milestone |
|
icehouse-2 |
|
2014-01-22 16:18:38 |
Thierry Carrez |
nova: status |
Fix Committed |
Fix Released |
|
2014-01-22 16:45:03 |
Phil Day |
nova: status |
Fix Released |
In Progress |
|
2014-01-22 20:20:21 |
Thierry Carrez |
nova: milestone |
icehouse-2 |
icehouse-3 |
|
2014-03-05 12:32:37 |
Thierry Carrez |
nova: milestone |
icehouse-3 |
icehouse-rc1 |
|
2014-03-07 01:08:49 |
Tracy Jones |
tags |
|
compute |
|
2014-03-07 19:34:22 |
Tracy Jones |
nova: milestone |
icehouse-rc1 |
next |
|
2014-03-07 19:34:25 |
Tracy Jones |
tags |
compute |
compute icehouse-rc-potential |
|
2014-04-01 14:34:58 |
Thierry Carrez |
tags |
compute icehouse-rc-potential |
compute icehouse-backport-potential |
|
2014-04-30 02:30:20 |
Choe, Cheng-Dae |
bug |
|
|
added subscriber Choe, Cheng-Dae |
2014-06-06 11:44:23 |
Richard Sohn |
bug |
|
|
added subscriber Richard Sohn |
2014-08-01 14:02:21 |
OpenStack Infra |
nova: assignee |
Phil Day (philip-day) |
Claudiu Belu (cbelu) |
|
2014-08-01 21:12:28 |
Phil Day |
nova: assignee |
Claudiu Belu (cbelu) |
Phil Day (philip-day) |
|
2014-08-20 18:59:52 |
OpenStack Infra |
nova: status |
In Progress |
Fix Committed |
|
2014-09-12 15:01:08 |
Daniel Schneller |
bug |
|
|
added subscriber Daniel Schneller |
2014-10-07 09:02:21 |
Thierry Carrez |
nova: status |
Fix Committed |
Fix Released |
|
2014-10-07 09:02:21 |
Thierry Carrez |
nova: milestone |
next |
|
|
2015-02-02 04:32:08 |
Nobuto Murata |
bug |
|
|
added subscriber Nobuto MURATA |
2015-07-01 19:06:29 |
Liang Chen |
bug task added |
|
nova (Ubuntu) |
|
2015-07-01 19:07:00 |
Liang Chen |
nova (Ubuntu): assignee |
|
Liang Chen (cbjchen) |
|
2015-07-01 19:13:23 |
Liang Chen |
description |
Currently in libvirt stop and delete operations simply destroy the underlying VM. Some GuestOS's do not react well to this type of power failure, and it would be better if these operations followed the same approach a a soft_reboot and give the guest a chance to shutdown gracefully. Even where VM is being deleted, it may be booted from a volume which will be reused on another server. |
[Impact]
* VMs being shutdown with any signal/notification from the The hypervisor level, services running inside VMs have no chance to perform a clean shutoff
[Test Case]
* 1. stop a VM
2. the VM is shutdown without any notification
[Regression Potential]
* none
Currently in libvirt stop and delete operations simply destroy the underlying VM. Some GuestOS's do not react well to this type of power failure, and it would be better if these operations followed the same approach a a soft_reboot and give the guest a chance to shutdown gracefully. Even where VM is being deleted, it may be booted from a volume which will be reused on another server. |
|
2015-07-01 19:15:54 |
Liang Chen |
attachment added |
|
trusty nova patch https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1196924/+attachment/4423093/+files/nova-2014.1.4-0ubuntu2.2-lp1196924.patch |
|
2015-07-01 20:18:23 |
Ubuntu Foundations Team Bug Bot |
tags |
compute icehouse-backport-potential |
compute icehouse-backport-potential patch |
|
2015-07-01 20:18:31 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2015-07-11 01:15:56 |
Liang Chen |
nova (Ubuntu): status |
New |
In Progress |
|
2015-07-14 13:52:45 |
Chris J Arges |
nominated for series |
|
Ubuntu Trusty |
|
2015-07-14 13:52:45 |
Chris J Arges |
bug task added |
|
nova (Ubuntu Trusty) |
|
2015-07-14 14:41:08 |
Liang Chen |
description |
[Impact]
* VMs being shutdown with any signal/notification from the The hypervisor level, services running inside VMs have no chance to perform a clean shutoff
[Test Case]
* 1. stop a VM
2. the VM is shutdown without any notification
[Regression Potential]
* none
Currently in libvirt stop and delete operations simply destroy the underlying VM. Some GuestOS's do not react well to this type of power failure, and it would be better if these operations followed the same approach a a soft_reboot and give the guest a chance to shutdown gracefully. Even where VM is being deleted, it may be booted from a volume which will be reused on another server. |
This feature will cause an ACPI event to be sent to the system while shutting down, and the acpid running inside the system can catch the event, thus giving the system a chance to shutdown cleanly.
[Impact]
* VMs being shutdown with any signal/notification from the The hypervisor level, services running inside VMs have no chance to perform a clean shutoff
[Test Case]
* 1. stop a VM
2. the VM is shutdown without any notification
The can be easily seen by ssh into the system before shutting down. With the patch in place, the ssh session will be close during shutdown, because the sshd has the chance to close the connection before being brought down. Without the patch, the ssh session will just hang there for a while until timeout, because the connection is not promptly closed.
To leverage the clean shutdown feature, one can create a file named /etc/acpi/events/power that contains the following:
event=button/power
action=/etc/acpi/power.sh "%e"
Then create a file named /etc/acpi/power.sh that contains whatever required to gracefully shutdown a particular server (VM).
With the apicd running, shutdown of the VM will cause the rule in /etc/acpi/events/power to trigger the script in /etc/acpi/power.sh, thus cleanly shutdown the system.
[Regression Potential]
* none
Currently in libvirt stop and delete operations simply destroy the underlying VM. Some GuestOS's do not react well to this type of power failure, and it would be better if these operations followed the same approach a a soft_reboot and give the guest a chance to shutdown gracefully. Even where VM is being deleted, it may be booted from a volume which will be reused on another server. |
|
2015-07-14 18:29:35 |
Liang Chen |
nova (Ubuntu Trusty): assignee |
|
Liang Chen (cbjchen) |
|
2015-07-15 16:35:45 |
Edward Hope-Morley |
branch linked |
|
lp:~hopem/nova/icehouse-sru-lp1459046 |
|
2015-07-15 16:36:26 |
Edward Hope-Morley |
attachment removed |
trusty nova patch https://bugs.launchpad.net/nova/+bug/1196924/+attachment/4423093/+files/nova-2014.1.4-0ubuntu2.2-lp1196924.patch |
|
|
2015-07-15 16:38:40 |
Edward Hope-Morley |
nova (Ubuntu Trusty): status |
New |
In Progress |
|
2015-07-16 10:57:14 |
James Page |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-07-16 10:57:26 |
James Page |
nova (Ubuntu): status |
In Progress |
Fix Released |
|
2015-07-17 20:28:14 |
Brian Murray |
nova (Ubuntu Trusty): status |
In Progress |
Fix Committed |
|
2015-07-17 20:28:18 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2015-07-17 20:28:23 |
Brian Murray |
tags |
compute icehouse-backport-potential patch |
compute icehouse-backport-potential patch verification-needed |
|
2015-07-24 19:38:07 |
Liang Chen |
tags |
compute icehouse-backport-potential patch verification-needed |
compute icehouse-backport-potential patch verification-done |
|
2015-07-28 17:04:56 |
Launchpad Janitor |
nova (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2015-07-28 17:05:10 |
Adam Conrad |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|