Normal response code of addSecurityGroup is wrong
Bug #1737338 reported by
hongbin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
Description
===========
According to nova's api-ref [1], the normal response code of addSecurityGroup is 202. However, according to OpenStack API guideline [2] , 202 is for "Asynchronous resource creation" but the addSecurityGroup action doesn't seem to be async. I think 200 is more appropriate in this case.
[1] https:/
[2] http://
guess we can modify all this kind of 20x return code in one patch with microversion bump... (if you search in the code, there are more like this)