os-quota-sets update documentation is incorrect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-api-site |
Fix Released
|
Medium
|
Miranda Zhang |
Bug Description
The documentation for os-quota-sets suggests that to update a quota one should make a POST request to v2/{tenant_
{
"quota_set": {
}
}
However, the correct implementation, and the implementation used when calling 'nova quota-update' requires that 'tenant_id' (the ID for the tenant or account to act on.) should also be included inside the quota_set, i.e.:
{
"quota_set": {
}
}
Failure to add the tenant_id to the request parameter results in a 404 Resource Not Found error.
The Link to the reference documentation can be found here: http://
Changed in openstack-api-site: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
no longer affects: | openstack-manuals |
Changed in openstack-api-site: | |
assignee: | nobody → Kersten Richter (kersten-r) |
Changed in openstack-api-site: | |
status: | In Progress → Fix Committed |
Changed in openstack-api-site: | |
status: | Fix Committed → Fix Released |
One other thing I forgot to mention is that the request must be a PUT not a POST, as described in the documentation.