Scheduler hangs if filtered host list is empty.
Bug #861310 reported by
Sateesh
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Sateesh | ||
Diablo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When using BaseScheduler without overriding weigh_hosts method, found scheduler hanging when an instance creation request is sent. When a filtering method yields empty list of hosts, weigh_hosts method enters an infinite loop.
Changed in nova: | |
status: | New → Confirmed |
assignee: | nobody → Sateesh (sateesh-chodapuneedi) |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
milestone: | none → essex-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-1 → 2012.1 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/703 github. com/openstack/ nova/commit/ 0546616926d7f95 017405b4abb532a 4517db7d90
Committed: http://
Submitter: Jenkins
Branch: master
status fixcommitted
done
commit 0546616926d7f95 017405b4abb532a 4517db7d90
Author: Sateesh Chodapuneedi <email address hidden>
Date: Wed Sep 28 18:07:22 2011 +0530
bug 861310
Check if host list is not empty before trying to weigh the hosts.
Change-Id: I4014bf64951963 088cdfaad1210fa 9d23e7cc08b