placement/api-ref/source
Tetsuro Nakamura c85ae69ee9 Fix aggregate members in nested alloc candidates
When placement picks up allocation candidates, the aggregates of
nested providers were assumed as the same as root providers. This
means that the `GET /allocation_candidates API` ignored the
aggregates on the nested providers. This could result in the lack
of allocation candidates when an aggregate is on a nested provider
but the aggregate is not on its root provider and the aggregate is
specified in the API by the `member_of` query parameter.

This patch fixes the bug changing it to consider the aggregates
not only on root rps but also on the nested rp itself and adds
a release note for this.

The document which explains the whole constraint of `member_of`
and other query parameters with nested providers, will be submitted
in a follow up patch.

Change-Id: I9a11a577174f85a1b47a9e895bb25cadd90bd2ea
Closes-Bug: #1792503
2018-09-21 11:44:58 +09:00
..
samples Move the api-ref directories 2018-09-04 10:31:22 -05:00
aggregates.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
allocation_candidates.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
allocations.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
conf.py Add api-ref job 2018-09-06 11:44:21 -05:00
index.rst Make docs build 2018-09-06 11:45:11 -05:00
inventories.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
inventory.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
parameters.yaml Fix aggregate members in nested alloc candidates 2018-09-21 11:44:58 +09:00
request-ids.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
reshaper.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
resource_class.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
resource_classes.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
resource_provider_allocations.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
resource_provider_traits.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
resource_provider_usages.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
resource_provider.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
resource_providers.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
root.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
traits.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00
usages.inc Move the api-ref directories 2018-09-04 10:31:22 -05:00