Quota list API doesn't return project_id

Bug #1667827 reported by Hirofumi Ichihara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Hirofumi Ichihara

Bug Description

Quota list API returns tenant_id with the project's resource quota but it doesn't return project_id.

$ curl -g -i -X GET http://127.0.0.1:9696/v2.0/quotas.json -H "User-Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-Token: $TOKEN"

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 223
X-Openstack-Request-Id: req-888fc950-bcc3-4afd-b41c-d5cec29bbc37
Date: Fri, 24 Feb 2017 22:07:06 GMT

{"quotas": [{"subnet": 10, "network": 20, "floatingip": 50, "tenant_id": "98349a417b15492ab750c7705bfe2fa1", "subnetpool": -1, "security_group_rule": 100, "security_group": 10, "router": 10, "rbac_policy": 10, "port": 50}]}

Tags: api
Changed in neutron:
assignee: nobody → Hirofumi Ichihara (ichihara-hirofumi)
tags: added: api
Changed in neutron:
status: New → In Progress
Revision history for this message
Victor Morales (electrocucaracha) wrote :
Changed in neutron:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/438107
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=cf97509f2b84cf1deaafa3176e58f7db0e515216
Submitter: Jenkins
Branch: master

commit cf97509f2b84cf1deaafa3176e58f7db0e515216
Author: Hirofumi Ichihara <email address hidden>
Date: Fri Feb 24 17:27:03 2017 -0500

    Quota list API returns project_id

    Quota list API returns tenant_id with the project's resource quota
    but it doesn't return project_id. When neutron supported keystone v3
    feature, it was missed[1]. This patch also removes an useless check
    from UT.

    [1]: https://review.openstack.org/#/c/357977/

    APIImpact

    Closes-Bug: #1667827
    Change-Id: I78f4aa38a0d775e7600afafdd6941ef485f62ade

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/458600

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (stable/ocata)

Change abandoned by Ihar Hrachyshka (<email address hidden>) on branch: stable/ocata
Review: https://review.openstack.org/458600
Reason: On second thought, it's API change, so we better stay out of it for backports.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 11.0.0.0b2

This issue was fixed in the openstack/neutron 11.0.0.0b2 development milestone.

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.