yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #81789
[Bug 1865156] Re: If-Match header ignored for routers and floating ip updates
Seems like this works on master.
** Changed in: neutron
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1865156
Title:
If-Match header ignored for routers and floating ip updates
Status in neutron:
Confirmed
Bug description:
According to release note [1], the If-Match conditional updates should
be supported for all resources that have revision_number. Apparently
that doesn't work for routers:
mdulko:openstacksdk/ (neutron-if-match*) $ curl -g -i -X PUT <snip> -H "Content-Type: application/json" -H "User-Agent: openstacksdk/0.41.1 keystoneauth1/3.18.0 python-requests/2.22.0 CPython/3.7.6" -H "X-Auth-Token: <snip>" -H "If-Match: revision_number=9999" -d '{"router": {"name": "dulek2"}}'
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 475
X-Openstack-Request-Id: req-153fe53e-3b79-4bb8-aebb-4f334c35e449
Date: Fri, 28 Feb 2020 14:07:40 GMT
{"router": {"status": "ACTIVE", "external_gateway_info": null,
"availability_zone_hints": [], "availability_zones": ["nova"],
"description": "", "tags": [], "tenant_id":
"c73b7097d07c46f78eb4b4dcfbac5ca8", "created_at":
"2020-02-28T14:00:43Z", "admin_state_up": true, "updated_at":
"2020-02-28T14:07:40Z", "flavor_id": null, "revision_number": 7,
"routes": [], "project_id": "c73b7097d07c46f78eb4b4dcfbac5ca8", "id":
"b6012d87-886b-4b3b-912b-2eb6ad655514", "name": "dulek2"}}%
Unfortunately I'm not sure what OpenStack version is that.
[1]
https://github.com/openstack/neutron/blob/a388701ddfe628e9a5bd16a78422164799b11ef8/releasenotes/notes
/conditional_updates-10b9aa66fd144217.yaml
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1865156/+subscriptions
References