Bug 969753

Summary: quantum list commands don't provide tenant isolation
Product: Red Hat OpenStack Reporter: yfried
Component: openstack-neutronAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact: Ofer Blaut <oblaut>
Severity: low Docs Contact:
Priority: low    
Version: 3.0CC: chrisw, jhenner, jkt, lpeer
Target Milestone: ---   
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-13 10:57:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 986832    

Description yfried 2013-06-02 07:16:57 UTC
Description of problem:
quantum *-list commands (such as "security-group-list" and "net-list" output data for all tenants instead of relevant tenant only.


quantum security-group-list 
+--------------------------------------+---------+-------------+
| id                                   | name    | description |
+--------------------------------------+---------+-------------+
| 32573862-b546-43f6-905d-9d1e4297a9be | default | default     |
| 9bd6a40e-845c-425b-aae6-45439f9a8b4d | default | default     |
| a1041a3d-1be6-4947-ac2f-cb20fbeb340a | default | default     |
+--------------------------------------+---------+-------------+


as opposed to "nova-list" command which provides data the relevant tenant unless specifically using flag "--all-tenants 1"

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. use at least 2 tenants
2. quantum security-group-list from one of them

Actual results:
output of all tenants

Expected results:
output of only currnet tenant

Additional info:

Comment 3 lpeer 2013-08-12 11:46:25 UTC
After further investigation with Ofer we see that this behaviour is relevant only for the default administrator in the default tenant.

The issue pointed out by Ofer is the inconsistency with the behaviour in Nova.

Comment 4 lpeer 2013-08-13 11:09:37 UTC
*** Bug 986836 has been marked as a duplicate of this bug. ***