inconsistent behavior of all_tenants parameter of listing APIs

Bug #1809419 reported by Akihiro Motoki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Confirmed
Undecided
Rajat Dhasmana

Bug Description

The interpretation of all_tenants parameter in Cinder APIs is inconsistent.

In GET /volumes, a value of True/1 of "all_tenant" is considered as True and False/0 is considered as False.

On the other hand, in GET /snapshots or GET /groups, if all_tenants parameter is specified, it means all_tenants=True.
Even if all_tenants=0 is specified, all resources from all projects are returned.
(I didn't checked all listing APIs.)

I believe the behavior of all_tenants should be consistent among all resources of a same version of Cinder API.

I checked the behavior of Cinder API 3.55 only, but perhaps it happens for other versions.

Changed in cinder:
status: New → Confirmed
Changed in cinder:
assignee: nobody → Rajat Dhasmana (whoami-rajat)
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.