[Yahoo-eng-team] [Bug 1196924] Re: Stop and Delete operations should give the Guest a chance to shutdown

2015-07-28 Thread Launchpad Bug Tracker
This bug was fixed in the package nova - 1:2014.1.5-0ubuntu1.2

---
nova (1:2014.1.5-0ubuntu1.2) trusty; urgency=medium

  * Add rsyslog retry support (LP: #1459046)
- d/p/add-support-for-syslog-connect-retries.patch
  * Add vm clean shutdown support (LP: #1196924)
- d/p/clean-shutdown.patch

 -- Edward Hope-Morley edward.hope-mor...@canonical.com  Thu, 16 Jul
2015 11:55:57 +0100

** Changed in: nova (Ubuntu Trusty)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1196924

Title:
  Stop and Delete operations should give the Guest a chance to shutdown

Status in OpenStack Compute (nova):
  Fix Released
Status in nova package in Ubuntu:
  Fix Released
Status in nova source package in Trusty:
  Fix Released

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1196924/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1196924] Re: Stop and Delete operations should give the Guest a chance to shutdown

2015-07-16 Thread James Page
** Changed in: nova (Ubuntu)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1196924

Title:
  Stop and Delete operations should give the Guest a chance to shutdown

Status in OpenStack Compute (nova):
  Fix Released
Status in nova package in Ubuntu:
  Fix Released
Status in nova source package in Trusty:
  In Progress

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1196924/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1196924] Re: Stop and Delete operations should give the Guest a chance to shutdown

2015-07-14 Thread Chris J Arges
** Also affects: nova (Ubuntu Trusty)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1196924

Title:
  Stop and Delete operations should give the Guest a chance to shutdown

Status in OpenStack Compute (nova):
  Fix Released
Status in nova package in Ubuntu:
  In Progress
Status in nova source package in Trusty:
  New

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1196924/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1196924] Re: Stop and Delete operations should give the Guest a chance to shutdown

2015-07-01 Thread Liang Chen
** Also affects: nova (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: nova (Ubuntu)
 Assignee: (unassigned) = Liang Chen (cbjchen)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1196924

Title:
  Stop and Delete operations should give the Guest a chance to shutdown

Status in OpenStack Compute (Nova):
  Fix Released
Status in nova package in Ubuntu:
  New

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1196924/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1196924] Re: Stop and Delete operations should give the Guest a chance to shutdown

2014-10-07 Thread Thierry Carrez
** Changed in: nova
   Status: Fix Committed = Fix Released

** Changed in: nova
Milestone: next = None

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1196924

Title:
  Stop and Delete operations should give the Guest a chance to shutdown

Status in OpenStack Compute (Nova):
  Fix Released

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1196924/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1196924] Re: Stop and Delete operations should give the Guest a chance to shutdown

2014-01-22 Thread Thierry Carrez
** Changed in: nova
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1196924

Title:
  Stop and Delete operations should give the Guest a chance to shutdown

Status in OpenStack Compute (Nova):
  Fix Released

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1196924/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1196924] Re: Stop and Delete operations should give the Guest a chance to shutdown

2014-01-22 Thread Phil Day
The associated change was reverted as it extended the duration of the
gate too much

** Changed in: nova
   Status: Fix Released = In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1196924

Title:
  Stop and Delete operations should give the Guest a chance to shutdown

Status in OpenStack Compute (Nova):
  In Progress

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1196924/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp