scheduler hints should persist with instance for use in migration, resize, and evacuate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Opinion
|
Wishlist
|
Unassigned |
Bug Description
If you've used a scheduler hint such as picking resources that are in close proximity to a particular ip address.
ex:
scheduler_hints': { 'cidr': '/32',
Now you want to migrate to a different host. At no point during the migration will the hints be revisited. The original hints are not even saved!
On migration the hints should be applied against the destination. If the destination does no pass the filter an (overridable?) error should be raised.
I have an initial implementation that can be found at : git://gitorious
I'll submit the patches via review.
Changed in nova: | |
assignee: | nobody → Yassine (yassine-lamgarchal) |
status: | Confirmed → In Progress |
Changed in nova: | |
status: | Triaged → Confirmed |
summary: |
- migration doesn't respect scheduler hints + scheduler hints should persist with instance for use in migration, + resize, and evacuate |
Changed in nova: | |
assignee: | Yassine (yassine-lamgarchal) → nobody |
Patch is here:
http:// gitorious. org/nova/ nova/commit/ cbafdcb559acc05 d93283163ae05c2 6b7123a57f
Interesting one - since the admin has to choose a destination host, I guess the admin is manually scheduling the instance. Do we want to prevent admins from choosing a host that doesn't match the initial scheduler hints or any other filter criteria?
Marking as confirmed and assigning to you. Looking forward to you submitting the patch. Thanks!