Allow the user to decide whether an instance should be resumed on host reboot

Registered by Phil Day

The configuration option resume_guests_state_on_host_boot defines
a global policy on whether or not to restart instances when a host
reboots. Because a host may be down for a significant period of
time many cloud applications monitor their own instances and launch
replacements restarting all instances is rarely the required behavior

This blueprint provides the user with a mechanism to specify at create
time which of their instances should be restarted on a host reboot.

Initially three values will be accepted:
    RESUME_DEFAULT - Follow the resume policy configured in the system
    RESUME_NEVER - Don't resume the instance
    RESUME_ALWAYS - Always resume the instance

Ideally we would allow the user to specify max_downtime policy where instances
are only resumed is the host has been stopped for less that the user specified
duration (i.e "Only resume if the host is down for less than 5 minutes") - but not
all ServiceGroup Drivers can support this model

Blueprint information

Status:
Started
Approver:
Russell Bryant
Priority:
Undefined
Drafter:
Phil Day
Direction:
Needs approval
Assignee:
Phil Day
Definition:
Drafting
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
None
Started by
Phil Day

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/provides,n,z

Addressed by: https://review.openstack.org/35710
    Allow user to specify instance resume behaviour on host reboot

Gerrit topic: https://review.openstack.org/#q,topic:bp/user-defined-resume,n,z

Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)

Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguyGerrit topic: https://review.openstack.org/#q,topic:bp/provides,n,z

Addressed by: https://review.openstack.org/35710
    Allow user to specify instance resume behaviour on host reboot

Gerrit topic: https://review.openstack.org/#q,topic:bp/user-defined-resume,n,z

Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)

Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguy

Marking this blueprint as definition: Drafting. If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.