quota-show accepts (for admin use) tenant and user parameters to show the quotas values for a specific tenant or a specific user within an tenant. By default it should show the quotas for the current tenant and user.
However if tenant is not specified user defaults to None - which then shows the tenant level quotas. If the user has their own quotas within the tenant this is quiet confusing, since they won't be able to use all of the tenant level quotas shown, and also potentially leaks information that they may not be entitled to see (the tenant level quotas)
When no tenant is specified the used should be set to the current user, so that only their specific quota values are shown (which will be the same as the tenant ones when there are no user specific quotas)
i think there are a lot of bugs around quota-show
to start with i think the input validation of tenant needs to be fixed
novaclient/ v2/shell. py