Filter scheduler not respecting the force_hosts hint
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Fix Released
|
Medium
|
koolhead17 | ||
nova (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When I'm trying to boot instances on a specific host (sleepy) by issuing:
nova boot --image mybucket/
my VMs always seem to start on a random host instead on the one I targeted. I'm using Essex and the filter scheduler (my nova.conf contains `compute_
My user is admin (I sourced /var/lib/
> u'filter_
This file also says u'_context_
Here is the full request grabbed from the nova-scheduler.log file: http://
The matter was also discussed in this AskUbuntu question:
http://
I'm running Ubuntu server 12.04 and nova-scheduler version 2012.1-0ubuntu2.
affects: | nova → openstack-manuals |
Changed in openstack-manuals: | |
assignee: | nobody → koolhead17 (koolhead17) |
Changed in openstack-manuals: | |
status: | Triaged → Fix Committed |
information type: | Public → Public Security |
information type: | Public Security → Public |
Changed in nova (Ubuntu): | |
status: | Confirmed → Fix Released |
I ran into the same problem. It seems that HostState. passes_ filters gets called with different data in filter_properties than it expects. The attached patch makes it work, but I doubt it's a completely correct solution, since I don't handle more than one host in the force_hosts list.