Quota sets (os-quota-sets) Normal response codes documentation

Bug #1645499 reported by David G Vigil Sr
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Expired
Undecided
Unassigned

Bug Description

http://developer.openstack.org/api-ref/compute/?expanded=update-quotas-detail#update-quotas
The above link states "Normal response codes: 200", but upon a successful update the actual response code is 201. This is a normal response code and should be listed with the 200.

-----------------------------------
Release: 15.0.0.0b2.dev129 on 'Mon Nov 28 19:32:15 2016, commit 6195408'
SHA:
Source: Can't derive source file URL
URL: http://developer.openstack.org/api-ref/compute/

Tags: api-ref
jichenjc (jichenjc)
Changed in nova:
assignee: nobody → jichenjc (jichenjc)
Revision history for this message
jichenjc (jichenjc) wrote :

 compute 2.37" -H "X-OpenStack-Nova-API-Version: 2.37" -H "X-Auth-Token: {SHA1}3fa68af806d3fb7e987a2a9d975e02831d786499" -H "Content-Type: application/json" -d '{"quota_set": {"cores": 100}}'
DEBUG (connectionpool:395) "PUT /v2.1/ba73b7d1ad274dafaf4d0e49d347d446/os-quota-sets/ba73b7d1ad274dafaf4d0e49d347d446 HTTP/1.1" 200 243
DEBUG (session:366) RESP: [200] Content-Length: 243 Content-Type: application/json Openstack-Api-Version: compute 2.37 X-Openstack-Nova-Api-Version: 2.37 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-b36f7d0b-74d1-4402-aeea-fa8ac28255f4 Date: Wed, 30 Nov 2016 13:30:49 GMT Connection: keep-alive

currently it's ruturning 200, did you see any 201 log ?

Changed in nova:
status: New → Incomplete
Revision history for this message
jichenjc (jichenjc) wrote :

or you want to change from 200 to 201 for both code and doc?

Sean Dague (sdague)
Changed in nova:
assignee: jichenjc (jichenjc) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Compute (nova) because there has been no activity for 60 days.]

Changed in nova:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.