Pecan: quota list does not include tenant_id

Bug #1542507 reported by Salvatore Orlando
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Salvatore Orlando

Bug Description

The operation for listing quotas for all tenants omits a little, but important detail - the tenant-id from response items.

This is happening because the quota resource is now treated as any other resource and therefore subject to policy checks, response formatting etc. etc.
Since the RESOURCE_ATTRIBUTE_MAP for this resource has no tenant_id attribute the attribute is removed as alien (unexpected stuff returned by the plugin).

We should really add that attribute to the RESOURCE_ATTRIBUTE_MAP

Tags: pecan
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/276935

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit 907efb1fb7bb291f55845e0ed8a8f1da2125b799
Author: Salvatore Orlando <email address hidden>
Date: Fri Feb 5 14:11:34 2016 -0800

    Pecan: add tenant_id to quota resource

    This operation will ensure the tenant_id attribute is not stripped
    off when generating the response.

    Change-Id: Ie2ed290140db7f0346c331b6fd0ece4f731b22e9
    Closes-Bug: #1542507

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/neutron 8.0.0.0b3

This issue was fixed in the openstack/neutron 8.0.0.0b3 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.