Evacuations are not restricted to the source cell during scheduling
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Matt Riedemann | ||
Pike |
Confirmed
|
Medium
|
Unassigned | ||
Queens |
Confirmed
|
Medium
|
Unassigned | ||
Rocky |
Confirmed
|
Medium
|
Unassigned | ||
Stein |
Confirmed
|
Medium
|
Unassigned |
Bug Description
During most move operations we restrict the request spec to the cell the instance is in before calling the scheduler:
cold migrate: https:/
live migrate: https:/
But for some reason we don't do that during evacuate (or rebuild to the same host with forced hosts/nodes when the image changes - which in that rebuild case means the scheduler is getting nodes from all cells just to find the one we are forcing):
I'm not sure how this would fail, but if the scheduler did pick a host in another cell things would surely fail because evacuate won't work across cells (the instance data is in the source cell db).
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Matt Riedemann (mriedem) |
I likely need to write a functional test to recreate this first to see how things fail.