Comment 2 for bug 1729445

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/517134
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=a9d92553b36e96daf6c8e6fca609f608e84ba336
Submitter: Zuul
Branch: master

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.

    Change-Id: Ia6c87900605d3604beb74b942b0e30575b814112
    Closes-Bug: #1729445