Configurable placement during resize

Registered by Michael Fork

Currently OpenStack has a boolean "allow_resize_to_same_host" config option that constrains placement during resize. When this value is false, the ignore_hosts option is passed to the scheduler. When this value is true, no options are passed to the scheduler and the current host can be considered. In some use cases - e.g. PowerVM - a third option of "require same host' is desirable.

This blueprint will deprecate the "allow_resize_to_same_host" config option and replace it with "resize_to_same_host" that supports 3 values - allow, forbid, require. Allow is equivalent to true in the current use case (i.e. not scheduler hint, current host is considered), forbid to false in current use case (i.e. the ignore_hosts scheduler hint is set), and require forces the same host through the use of the force_hosts scheduler hint.

Blueprint information

Status:
Complete
Approver:
Vish Ishaya
Priority:
Low
Drafter:
Michael Fork
Direction:
Approved
Assignee:
Michael Fork
Definition:
Obsolete
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
None
Started by
Vish Ishaya
Completed by
Russell Bryant

Related branches

Sprints

Whiteboard

Deferring from grizzly, as based on the mailing list discussion there doesn't seem to be obvious consensus around what should be done here, so I don't want to rush this into grizzly.

Gerrit topic: https://review.openstack.org/#q,topic:bp/configurable-resize-placement,n,z

Addressed by: https://review.openstack.org/21139
    Optionally force instances to "stay put" on resize

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.