Bug 1254085 - cinder quota-show reports the default quota if we specify a non existing uuid
Summary: cinder quota-show reports the default quota if we specify a non existing uuid
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 6.0 (Juno)
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
: 8.0 (Liberty)
Assignee: Eric Harney
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-17 07:02 UTC by Eduard Barrera
Modified: 2022-08-17 13:14 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-15 13:10:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 984281 0 unspecified CLOSED cinder: 'cinder quota-show' with tenant name does not show updated quota 2022-08-09 14:44:11 UTC
Red Hat Issue Tracker OSP-4532 0 None None None 2022-08-17 13:14:14 UTC

Internal Links: 984281

Description Eduard Barrera 2015-08-17 07:02:32 UTC
Description of problem:

When we want to see the quota of a tenant cinder is reporting the default quota when the parameter is a non-existing uuid.  If the parameter is the tenant name cinder reports the default quotas also thus it is an non existing uuid causing confusion

Version-Release number of selected component (if applicable):
Reported for Havana and reproduced in Juno, probably icehouse is afected too

How reproducible:
always

Steps to Reproduce:

# cinder quota-show  ba0008f1edc741eb9b45722f7d43c250
+-----------+-------+
|  Property | Value |
+-----------+-------+
| gigabytes |  111  |
| snapshots |   11  |
|  volumes  |   11  |
+-----------+-------+

# cinder quota-show  tenantvlan1
+-----------+-------+
|  Property | Value |
+-----------+-------+
| gigabytes |  400  |
| snapshots |   10  |
|  volumes  |   10  |
+-----------+-------+



Actual results:
cinder reports the default quota if we provide a non existing uuid

Expected results:
report uuid not found


Additional info:
The same behaviour is observer with the command #nova quota-show, reporting it as a separate bug

Comment 3 Eric Harney 2015-08-17 14:01:42 UTC
We looked at this issue some time ago (bug 984281) and decided to not fix it, but it is pretty bad usability from the cinder client.  I'll see if there's a way to make this less confusing.


Note You need to log in before you can comment on or make changes to this bug.