Some candidates are missing when multiple sharing provider have multiple shared resources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Tetsuro Nakamura |
Bug Description
Some candidates are missing when multiple sharing provider have multiple shared resources
Description
===========
There can be legitimately distinct allocation requests with the same combination of providers.
But placement filter out them if the combination of the providers in play is the same combination with that we already have tin he allocation requests
Example
=========
CN(compute node):
- VCPU: 16
SHR1: a sharing provider in the same aggregate with CN)
- CUSTOM_RC1: 4
- CUSTOM_RC2: 8
SHR2(sharing provider2):
- CUSTOM_RC1: 6
- CUSTOM_RC2: 3
We ask for VCPU:1,
Expected: we should get the following two allocation requests:
[(rp=CN, resources=[VCPU: 1]),
(rp=SHR1, resources=
(rp=SHR2, resources=
[(rp=CN, resources=[VCPU: 1]),
(rp=SHR1, resources=
(rp=SHR2, resources=
Actual: We get only one of those candidates, because the combination of the rps is the same: CN1, SHR1, and SHR2.
tags: | added: placement |
Related fix proposed to branch: master /review. openstack. org/569637
Review: https:/