commit 02e357e7c2d2ccbab0a1f6b5a807d11f1ef72d46
Author: Tetsuro Nakamura <email address hidden>
Date: Sun Jan 14 17:09:05 2018 +0900
Fix allocation_candidates not to ignore shared RPs
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, this patch changes the function of
_alloc_candidates_with_shared() to consider resources from
non-sharing providers and resources from sharing providers
at the same time.
Reviewed: https:/ /review. openstack. org/533396 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=02e357e7c2d 2ccbab0a1f6b5a8 07d11f1ef72d46
Committed: https:/
Submitter: Zuul
Branch: master
commit 02e357e7c2d2ccb ab0a1f6b5a807d1 1f1ef72d46
Author: Tetsuro Nakamura <email address hidden>
Date: Sun Jan 14 17:09:05 2018 +0900
Fix allocation_ candidates not to ignore shared RPs
When both the compute node resource provider and the shared andidates. get_by_ filters didn't return an equest including the shared resource provider.
resource provider have inventory in the same resource class,
AllocationC
AllocationR
To fix the bug, this patch changes the function of candidates_ with_shared( ) to consider resources from
_alloc_
non-sharing providers and resources from sharing providers
at the same time.
Change-Id: Iaf23f35f2f9a5d 27a814ef5b94abe d1a8b365bc3
Closes-Bug: #1724613
Related-Bug: #1731072