commit a9d92553b36e96daf6c8e6fca609f608e84ba336
Author: Matt Riedemann <email address hidden>
Date: Wed Nov 1 19:48:31 2017 -0400
Fix return type in FilterScheduler._legacy_find_hosts
The FilterScheduler._schedule method should be returning
a list of list of selected hosts. When include_alternatives
is False in _legacy_find_hosts, it was only returning back
a list of hosts, which would result in an IndexError when
select_destinations() tries to take the first entry from each
item in the list.
Reviewed: https:/ /review. openstack. org/517134 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=a9d92553b36 e96daf6c8e6fca6 09f608e84ba336
Committed: https:/
Submitter: Zuul
Branch: master
commit a9d92553b36e96d af6c8e6fca609f6 08e84ba336
Author: Matt Riedemann <email address hidden>
Date: Wed Nov 1 19:48:31 2017 -0400
Fix return type in FilterScheduler ._legacy_ find_hosts
The FilterScheduler ._schedule method should be returning alternatives destinations( ) tries to take the first entry from each
a list of list of selected hosts. When include_
is False in _legacy_find_hosts, it was only returning back
a list of hosts, which would result in an IndexError when
select_
item in the list.
Change-Id: Ia6c87900605d36 04beb74b942b0e3 0575b814112
Closes-Bug: #1729445