Comment 8 for bug 1724613

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

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

commit ecb09b29b743808a97751383dc6c7a0eefae2aa9
Author: Tetsuro Nakamura <email address hidden>
Date: Mon Mar 12 08:38:24 2018 +0900

    remove unnecessary short cut in placement

    When both the compute node resource provider and the shared
    resource provider have inventory in the same resource class,
    AllocationCandidates.get_by_filters didn't return an
    AllocationRequest including the shared resource provider.

    To fix the bug, we at first remove the shortcut in the logic to
    consider sharing providers even if the non-sharing provider can
    satisfy the resource request for itself.

    Change-Id: Ibd509c5a59407da1db46c6c12b82f8707f655466
    Partial-Bug: #1724613
    Related-Bug: #1731072