monasca client metric-list takes OS_TENANT_NAME and OS_TENANT_ID and returns partial date

Bug #1469878 reported by Yan Ning
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Monasca
Triaged
Undecided
Allan G

Bug Description

When using a user who has proper roles plus OS_TENANT_NAME and OS_TENANT_ID in env to do metric-list command via monasca client, monasca client returns partial data. If switching to use OS_PROJECT_NAME and OS_PROJECT_ID with same user, metric-list returns full data as expected.

Here is an example with a monasca_project_admin user on services project, and env var has OS_TENANT_NAME and OS_TENANT_ID:

 monasca metric-list | wc -l

     123

And, below is the output when using OS_PROJECT_NAME and OS_PROJECT_ID:

$ monasca metric-list | wc -l

 1000005

Revision history for this message
Yan Ning (yan-ning) wrote :

$ monasca --version
1.0.20

Revision history for this message
Allan G (greental) wrote :

Triage - TENANT has been deprecated with Keystone V3, is there a reason it still needs to be supported ?

Allan G (greental)
Changed in monasca:
assignee: nobody → Allan G (greental)
status: New → Triaged
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.