Bug 1294630

Summary: Typing invalid value under <tenant_id> argument in quota-show CLI does not generate an error message
Product: Red Hat OpenStack Reporter: lkuchlan <lkuchlan>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED NEXTRELEASE QA Contact: nlevinki <nlevinki>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0 (Kilo)CC: eharney, jmelvin, sgotliv, yeylon
Target Milestone: ---   
Target Release: 7.0 (Kilo)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-02 15:58:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description lkuchlan 2015-12-29 11:15:54 UTC
Description of problem:
Typing invalid value under <tenant_id> argument in quota-show CLI does not generate an error message

Version-Release number of selected component (if applicable):
openstack-cinder-2015.1.2-5.el7ost.noarch
python-cinder-2015.1.2-5.el7ost.noarch
python-cinderclient-1.2.1-1.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Show the lists quotas for a tenant while typing invalid value under <tenant_id> argument: cinder quota-show <invalid-value>

Actual results:
Show the default quotas for a tenant

Expected results:
Should be an error message

Comment 2 Sergey Gotliv 2016-01-02 15:58:57 UTC
It's fixed in RHEL OSP 8.0 (liberty). I am using:

python-cinderclient-1.4.0-1.el7.noarch
openstack-cinder-7.0.0-1.el7.noarch
python-cinder-7.0.0-1.el7.noarch

and get the error if tenant id is wrong:

[root@localhost ~(keystone_admin)]# cinder quota-show 1
ERROR: Tenant ID: 1 does not exist. (HTTP 404) (Request-ID: req-a7298c5b-f57d-4525-a786-1d3403f13317)

I don't think we need to backport solution for this minor issue to 7.0.

Comment 4 Dave Maley 2016-03-04 19:21:39 UTC
(In reply to Jeremy from comment #3)
> Is it possible to backport this to rhos6.0?

As the request to backport to osp7 was denied (comment 2) it will also not be backported to osp6.