GET requests on neutron API do not take into account the tenant specified in the token

Bug #1316122 reported by Matthieu Maquevice
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Expired
Undecided
Unassigned

Bug Description

Hey,

GET requests on Neutron API (/networks, /floatingips...) return a perimeter of data with multiple tenants, even if the token used in the request specified a tenant id. Is it the normal behavior ? If so, how can we limit our scope to our tenant ?

Thanks !

Revision history for this message
Salvatore Orlando (salvatore-orlando) wrote :

Neutron list operations in non-admin context always return only resources owned by the tenant which submits the request (the one the token belongs to). Are you observing a tenant being able to see other tenants' resources?

Only administrators have global visibility. To scope visibility to a single tenant when submitting a list request in admin context, you can use the tenant_id query parameter (--tenant_id on the CLI).

I am not sure what "perimeter of data" refers to. I've assumed it refers to the whole list of returned data.

Changed in neutron:
status: New → Incomplete
Revision history for this message
Hao Wang (soccerhaotian) wrote :

This is the same bug with 1308958. Please duplicate this one.

Changed in neutron:
status: Incomplete → Confirmed
assignee: nobody → Howard (hao-1-wang)
Revision history for this message
Cedric Brandily (cbrandily) wrote :

This bug is > 365 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:
assignee: Howard (hao-1-wang) → nobody
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for neutron because there has been no activity for 60 days.]

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