AllocationCandidates.get_by_filters ignores shared RPs when the RC exists in both places
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Tetsuro Nakamura |
Bug Description
When both the compute node resource provider and the shared resource provider have inventory in the same resource class, AllocationCandi
Example:
cnrp { VCPU: 24,
MEMORY_MB: 2048,
DISK_GB: 16 }
ssrp { DISK_GB: 32 }
AllocationCand
resources={ VCPU: 1,
Expected:
allocation_
{ cnrp: { VCPU: 1,
{ cnrp: { VCPU: 1,
ssrp: { DISK_GB: 2 } },
]
Actual:
allocation_
{ cnrp: { VCPU: 1,
]
I will post a review shortly that demonstrates this.
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in nova: | |
assignee: | Tetsuro Nakamura (tetsuro0907) → Chris Dent (cdent) |
Related fix proposed to branch: master /review. openstack. org/513149
Review: https:/