Power off commands should give guests a chance to shutdown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Fix Released
|
Medium
|
Andreas Jaeger |
Bug Description
https:/
commit c07ed15415c0ec3
Author: Phil Day <email address hidden>
Date: Fri Jan 24 15:43:20 2014 +0000
Power off commands should give guests a chance to shutdown
Currently in libvirt operations which power off an instance such as stop,
shelve, rescue, and resize simply destroy the underlying VM. Some
GuestOS's do not react well to this type of power failure, and so it would
be better if these operations followed the same approach as soft_reboot
and give the guest as chance to shutdown gracefully.
The shutdown behavior is defined by two values:
- shutdown_timeout defines the overall period a Guest is allowed to
complete it's shutdown. The default valus is set via nova.conf and can be
overridden on a per image basis by image metadata allowing different types
of guest OS to specify how long they need to shutdown cleanly.
- shutdown_
the Guest will be signaled to shutdown. This is a protection against
guests that may not be ready to process the shutdown signal when it
is first issued. (e.g. still booting). This is defined as a constant.
This is one of a set of changes that will eventually expose the choice
of whether to give the GuestOS a chance to shutdown via the API.
This change implements the libvirt changes to power_off() and adds
a clean shutdown to compute.
Subsequent patches will:
- Add clean shutdown to Shelve
- Add clean shutdown to Rescue
- Convert soft_reboot to use the same approach
- Expose clean shutdown via rpcapi
- Expose clean shutdown via API
Partially-
Closes-Bug: #1196924
DocImpact
Change-Id: I432b0b0c09db82
Changed in openstack-manuals: | |
status: | New → Invalid |
status: | Invalid → Confirmed |
milestone: | none → juno |
tags: | added: autogenerate-config-docs |
Changed in openstack-manuals: | |
importance: | Undecided → Medium |
Changed in openstack-manuals: | |
assignee: | nobody → Andreas Jaeger (jaegerandi) |
status: | Confirmed → In Progress |
Reviewed: https:/ /review. openstack. org/119386 /git.openstack. org/cgit/ openstack/ openstack- manuals/ commit/ ?id=5f0adaf37e1 1c91d4434416df3 7106f9851a1b31
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5f0adaf37e11c91 d4434416df37106 f9851a1b31
Author: Andreas Jaeger <email address hidden>
Date: Fri Sep 5 16:20:31 2014 +0200
Regenerate tables (without swift, trove) for Juno3
Regenerate config tables for Juno3.
Note: "Cisco DFA ML2 Mechanism Driver" was reverted, the deletion of the
options is fine.
Change-Id: I5af1de00595578 f18c2c1974bde71 dd1a864ad88
Closes-Bug: #1364520
Closes-Bug: #1365826
Closes-Bug: #1365649
Closes-Bug: #1359334