yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #72975
[Bug 1772243] [NEW] Some candidates are missing when multiple sharing provider have multiple shared resources
Public bug reported:
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,CUSTOM_RC1:1,CUSTOM_RC2:1.
Expected: we should get the following two allocation requests:
[(rp=CN, resources=[VCPU: 1]),
(rp=SHR1, resources=[CUSTOM_RC1: 1]),
(rp=SHR2, resources=[CUSTOM_RC2: 1])]
[(rp=CN, resources=[VCPU: 1]),
(rp=SHR1, resources=[CUSTOM_RC2: 1]),
(rp=SHR2, resources=[CUSTOM_RC1: 1]),]
Actual: We get only one of those candidates, because the combination of
the rps is the same: CN1, SHR1, and SHR2.
** Affects: nova
Importance: Undecided
Status: New
** Tags: placement
** Tags added: placement
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1772243
Title:
Some candidates are missing when multiple sharing provider have
multiple shared resources
Status in OpenStack Compute (nova):
New
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,CUSTOM_RC1:1,CUSTOM_RC2:1.
Expected: we should get the following two allocation requests:
[(rp=CN, resources=[VCPU: 1]),
(rp=SHR1, resources=[CUSTOM_RC1: 1]),
(rp=SHR2, resources=[CUSTOM_RC2: 1])]
[(rp=CN, resources=[VCPU: 1]),
(rp=SHR1, resources=[CUSTOM_RC2: 1]),
(rp=SHR2, resources=[CUSTOM_RC1: 1]),]
Actual: We get only one of those candidates, because the combination
of the rps is the same: CN1, SHR1, and SHR2.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1772243/+subscriptions
Follow ups