Neutron - “Update bandwidth limit rule” API on SUCCESS responds with 200 instead of Expected 202
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
### Scenario ###
Activate “Update bandwidth limit rule” API with proper values to make it PASS
### Actual Result ###
Received status code is 200 OK
### Expected Result ###
According the Documentation it needs to be 202 Accepted
https:/
### Tempest prompt output ###
BUG_200_
2021-09-01 15:21:48.668 529226 INFO tempest.
2021-09-01 15:21:48.668 529226 DEBUG tempest.
Body: {"bandwidth_
Response - Headers: {'content-type': 'application/json', 'content-length': '137', 'x-openstack-
Body: b'{"bandwidth_
affects: | kolla-ansible → neutron |
description: | updated |
description: | updated |
tags: | added: qos |
tags: | added: api-ref |
I don't see anywhere in the neutron code we return HTTPAccepted, for example in any of the tests, only HTTPOk and HTTPCreated, so this might just be a typo in the api-ref doc. I'll ask someone with more QoS knowledge to look into it.