Return Alternate Hosts

Registered by Ed Leafe on 2017-09-14

Sometimes when a request to build a VM is attempted, the build can fail for a variety of different reasons. At the Atlanta PTG we discussed a request from operators have the scheduler return some alternate hosts along with the selected host. This was desired because in the event of a failed build, another host could be tried without having to go through the entire scheduling process again.

Blueprint information

Status:
Complete
Approver:
Matt Riedemann
Priority:
High
Drafter:
Ed Leafe
Direction:
Approved
Assignee:
Ed Leafe
Definition:
Approved
Series goal:
Accepted for queens
Implementation:
Implemented
Milestone target:
milestone icon queens-rc1
Started by
Matt Riedemann on 2017-10-02
Completed by
Matt Riedemann on 2018-01-27

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/return-alternate-hosts,n,z

Addressed by: https://review.openstack.org/504275
    Return Alternate Hosts

Gerrit topic: https://review.openstack.org/#q,topic:bp/return-selection-objects,n,z

Addressed by: https://review.openstack.org/507245
    Set the Pike release version for scheduler RPC

Addressed by: https://review.openstack.org/486215
    Add alternate hosts

Addressed by: https://review.openstack.org/499239
    Add Selection objects

Addressed by: https://review.openstack.org/495854
    Return Selection objects from the scheduler driver

Addressed by: https://review.openstack.org/510159
    Change RPC for select_destinations()

Addressed by: https://review.openstack.org/511357
    Move the claim_resources method to scheduler utils

Addressed by: https://review.openstack.org/511358
    WIP - Make conductor pass and use host_lists

Addressed by: https://review.openstack.org/513847
    Trivial: fix spelling of allocation_request

Addressed by: https://review.openstack.org/513931
    Only filter/weigh hosts once if scheduling a single instance

Addressed by: https://review.openstack.org/516707
    Change RPC for select_destinations()

Addressed by: https://review.openstack.org/517134
    Fix return type in FilterScheduler._legacy_find_hosts

Addressed by: https://review.openstack.org/520242
    Refactor the code to check for sufficient hosts

Addressed by: https://review.openstack.org/523492
    Move the to_dict() method to the Selection object

Addressed by: https://review.openstack.org/526436
    Change compute RPC to use alternates for resize

Addressed by: https://review.openstack.org/528835
    Don't try to delete build request during a reschedule

Addressed by: https://review.openstack.org/529697
    Don't try to delete build request during a reschedule

Addressed by: https://review.openstack.org/529703
    Don't try to delete build request during a reschedule

Addressed by: https://review.openstack.org/531022
    Add functional test for resize reschedules

Addressed by: https://review.openstack.org/531405
    Add regression test for resizing failing during retries

Addressed by: https://review.openstack.org/537614
    Add unit test for non-placement resize

Gerrit topic: https://review.opendev.org/#/q/topic:retry-filter

Addressed by: https://review.opendev.org/663953
    WIP: Deprecate RetryFilter

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.