making new allocations for one consumer against multiple resource providers fails with 409
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Jay Pipes |
Bug Description
If you PUT some allocations for a new consumer (thus no generation), and those allocations are against more than one resource provider, a 409 failure will happen with:
consumer generation conflict - expected 0 but got None
This because in _new_allocations in handlers/
One possible fix (already in progress) is to use the generation from new_allocations
I guess we must have missed some test cases. I'll make sure to add some when working on this. I found the problem with my placecat stuff.
Changed in nova: | |
status: | New → Triaged |
Related fix proposed to branch: master /review. openstack. org/577914
Review: https:/