Default scheduler should be smarter than ChanceScheduler
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Wishlist
|
Joe Gordon |
Bug Description
The chance scheduler currently doesn't check to see if a server has enough space before dropping an instance on it. In this case, the server was full from other instances taking up all the memory on the server. The instance went to error state and I found this traceback. I'm running rev 1377.
2011-08-05 02:29:10,487 ERROR nova.virt.
(nova.virt.
(nova.virt.
2011-08-05 02:29:10,555 DEBUG nova.virt.
2011-08-05 02:29:10,595 ERROR nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
Changed in nova: | |
assignee: | nobody → Joe Gordon (joe-gordon0) |
Changed in nova: | |
milestone: | none → essex-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-rc1 → 2012.1 |
Is this a bug? ChanceScheduler is just that: a host selected by chance. There is not supposed to be any checking of suitability in this class; for that matter, it doesn't check if a host is capable of running the image OS, or is even the correct type of hypervisor.