Comment 1 for bug 1103601

Revision history for this message
differentlocal (differentlocal) wrote :

Affected me too.

Root of this behavior is in differences between tenant NAME and tenant ID.

If I have tenant 'admin' with ID '6eb505f5d85142a0a7c01686ef0f5a6e', nova quota-show <name> and nova quota-show <ID> returns different results - real values for ID and default values for name.

And (and this is really bad) quota-show doesn't say us, what (name or ID) it using now and no error returns (even if no tenant with given name and/or ID exists in keystone). Nova silently showing default quota.

I think, correct behavior is:

- If argument is name - lookup keystone for ID and show quota by ID.
- If given name not found - return error.
- If argument is ID - show quota for this ID
- If given ID not found - return error too.