Test & document 1.28 (consumer gen) changes for /resource_providers/{u}/allocations

Bug #1781439 reported by Eric Fried on 2018-07-12
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Undecided
jichenjc

Bug Description

I978fdea51f2d6c2572498ef80640c92ab38afe65 / https://review.openstack.org/#/c/565604/ added placement microversion 1.28, which made various API operations consumer generation-aware. One of the affected routes was /resource_providers/{u}/allocations - but this route wasn't covered in the gabbi tests or the API reference documentation.

Jay Pipes (jaypipes) on 2018-07-16
tags: added: low-hanging-fruit
jichenjc (jichenjc) on 2018-07-17
Changed in nova:
assignee: nobody → jichenjc (jichenjc)
jichenjc (jichenjc) wrote :

I did some search and found that
https://review.openstack.org/#/c/565604/31/releasenotes/notes/consumer_generation-f576ac2594b24e2e.yaml
says only impact POST and PUT

while
https://github.com/openstack/nova/blob/master/nova/api/openstack/placement/handler.py#L99

only support GET ,so any update should be included? The consumer_generation id ?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers