abstract scheduler short circuits before checking child zones if no local compute hosts
Bug #844155 reported by
Chris Behrens
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Chris Behrens |
Bug Description
The abstract scheduler filters local hosts from scheduling first. It's possible this will return no hosts available to schedule locally. There's a check in _schedule() that causes a 'return' in this case before child zones are checked. So, even if hosts are available in child zones, builds fail with 'No hosts available' type exception.
Related branches
lp:~cbehrens/nova/lp844155
- Josh Kearney (community): Approve
- Sandy Walsh (community): Approve
-
Diff: 46 lines (+22/-3)2 files modifiednova/scheduler/abstract_scheduler.py (+0/-3)
nova/tests/scheduler/test_abstract_scheduler.py (+22/-0)
Changed in nova: | |
assignee: | nobody → Chris Behrens (cbehrens) |
status: | New → Confirmed |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-rbp |
Changed in nova: | |
milestone: | diablo-rbp → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.