yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #69082
[Bug 1724613] Re: AllocationCandidates.get_by_filters ignores shared RPs when the RC exists in both places
Per hangout, we decided this bug is valid - that we would like to get
extra candidates involving shared RPs when those satisfy the request.
** Changed in: nova
Status: Invalid => Confirmed
--
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/1724613
Title:
AllocationCandidates.get_by_filters ignores shared RPs when the RC
exists in both places
Status in OpenStack Compute (nova):
Confirmed
Bug description:
When both the compute node resource provider and the shared resource
provider have inventory in the same resource class,
AllocationCandidates.get_by_filters will not return an
AllocationRequest including the shared resource provider.
Example:
cnrp { VCPU: 24,
MEMORY_MB: 2048,
DISK_GB: 16 }
ssrp { DISK_GB: 32 }
AllocationCandidates.get_by_filters(
resources={ VCPU: 1,
MEMORY_MB: 512,
DISK_GB: 2 } )
Expected:
allocation_requests: [
{ cnrp: { VCPU: 1,
MEMORY_MB: 512,
DISK_GB: 2 } },
{ cnrp: { VCPU: 1,
MEMORY_MB: 512 }
ssrp: { DISK_GB: 2 } },
]
Actual:
allocation_requests: [
{ cnrp: { VCPU: 1,
MEMORY_MB: 512,
DISK_GB: 2 } }
]
I will post a review shortly that demonstrates this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1724613/+subscriptions
References