diff options
| author | Chris Behrens <cbehrens@codestud.com> | 2012-12-07 23:09:45 +0000 |
|---|---|---|
| committer | Chris Behrens <cbehrens@codestud.com> | 2012-12-07 23:17:28 +0000 |
| commit | 836ee3f4589f3ee58939a22cedc72e1163497f3f (patch) | |
| tree | 5e9eba320a9baee9abe13d077c4d91a8fb2d5536 /bin | |
| parent | 86cc905734f81c5363c1dc86ea2bba662bb18892 (diff) | |
| download | nova-836ee3f4589f3ee58939a22cedc72e1163497f3f.tar.gz nova-836ee3f4589f3ee58939a22cedc72e1163497f3f.tar.xz nova-836ee3f4589f3ee58939a22cedc72e1163497f3f.zip | |
Make ignore_hosts and force_hosts work again
Fixes bug 1087807
A recent refactor of scheduling filters and weights broke the
ignore_hosts and force_hosts functionality. The refactored code would
have only worked if a list of host names (strings) were passed in to
host_manager's get_filtered_hosts(). Unfortunately that's what the unit
tests tested, but the real caller (filter_scheduler) actually passes a
list of HostState class instances.
Unit tests are fixed to pass HostStates and the offending code in the
host_manager has been fixed.
Change-Id: I54a3385da7c095e8ddf26b7536d46a9ee4072a58
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions
