Updating quotas path issue

Bug #1373337 reported by Jamie Hannaford
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Undecided
Unassigned
openstack-api-site
Fix Released
Medium
Diane Fleming

Bug Description

In the docs (http://developer.openstack.org/api-ref-networking-v2.html#quotas-ext), it clearly says that to update quota values, the request should be:

PUT /v2.0/quotas

But I'm getting a 404 when you do this. If you do this instead:

PUT /v2.0/quotas/foo

it works as expected, where "foo" can literally be anything. I looked at how the python-neutronclient handles this, and they seem to append the tenant_id to the end - which is completely undocumented. So:

1. Is this a bug with the Neutron API or with the Neutron docs?
2. Why does any arbitrary string get accepted?

I'm using Neutron on devstack, Icehouse release.

Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

Testing on master, I was unable to verify 2: this must be the tenant uuid. Bear in mind that this is an admin only operation.

As for 1. I believe this should be rectified in the documentation.

Changed in neutron:
status: New → Incomplete
tags: added: icehouse-backport-potential
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

Technically this is a non-issue for Juno, but we might want to rectify this for Icehouse.

Revision history for this message
Jamie Hannaford (jamie-hannaford) wrote :

I still can't see any of the missing operations. And the existing ones are still wrong

Anne Gentle (annegentle)
Changed in openstack-manuals:
status: New → Confirmed
no longer affects: openstack-manuals
Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → Medium
Changed in openstack-api-site:
assignee: nobody → Diane Fleming (diane-fleming)
milestone: none → liberty
Revision history for this message
Diane Fleming (diane-fleming) wrote :
Changed in openstack-api-site:
status: Confirmed → In Progress
milestone: liberty → mitaka
Alan Pevec (apevec)
tags: removed: icehouse-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/245230
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=256610411a7826f67bd9ed79438b6da0529eae41
Submitter: Jenkins
Branch: master

commit 256610411a7826f67bd9ed79438b6da0529eae41
Author: Diane Fleming <email address hidden>
Date: Fri Nov 13 10:56:51 2015 -0600

    Update quotas extension

    Add current code samples
    Update descriptions for clarity

    Change-Id: Ibafb2a49ca8c680ef6d29f20ba9e2f23fcbe61c1
    Closes-Bug: #1373337

Changed in openstack-api-site:
status: In Progress → Fix Released
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

This bug is > 180 days without activity. We are unsetting assignee and milestone and setting status to Incomplete in order to allow its expiry in 60 days.

If the bug is still valid, then update the bug status.

Changed in neutron:
status: Incomplete → Invalid
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.