Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1365494

Summary: 'qos_specs_id' property is missing while using cinder show-type
Product: Red Hat OpenStack Reporter: lkuchlan <lkuchlan>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED ERRATA QA Contact: lkuchlan <lkuchlan>
Severity: unspecified Docs Contact:
Priority: low    
Version: 8.0 (Liberty)CC: egafford, eharney, jschluet, pgrist, scohen, srevivo
Target Milestone: rcKeywords: TestOnly, Triaged
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-cinder-9.0.0-0.20160907194411.4057701.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 15:50:23 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:

Description lkuchlan 2016-08-09 11:44:55 UTC
Description of problem:
'qos_specs_id' property is missing while using cinder show-type 

Version-Release number of selected component (if applicable):
openstack-cinder-7.0.2-2.el7ost.noarch
python-cinderclient-1.5.0-1.el7ost.noarch
python-cinder-7.0.2-2.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:

1. Create a volume type

[root@cougar01 ~(keystone_admin)]# cinder type-create iscsi
+--------------------------------------+-------+-------------+-----------+
|                  ID                  |  Name | Description | Is_Public |
+--------------------------------------+-------+-------------+-----------+
| 25db03b1-ee4f-4e3a-8808-89fd6c1399b5 | iscsi |      -      |    True   |
+--------------------------------------+-------+-------------+-----------+

2. Show volume type details

[root@cougar01 ~(keystone_admin)]# cinder type-show 25db03b1-ee4f-4e3a-8808-89fd6c1399b5
+---------------------------------+--------------------------------------+
|             Property            |                Value                 |
+---------------------------------+--------------------------------------+
|           description           |                 None                 |
|           extra_specs           |   {u'volume_backend_name': u'lvm'}   |
|                id               | 25db03b1-ee4f-4e3a-8808-89fd6c1399b5 |
|            is_public            |                 True                 |
|               name              |                iscsi                 |
| os-volume-type-access:is_public |                 True                 |
+---------------------------------+--------------------------------------+

Expected results:

'qos_specs_id' property should be displayed 
+---------------------------------+--------------------------------------+
|             Property            |                Value                 |
+---------------------------------+--------------------------------------+
|           description           |                 None                 |
|           extra_specs           |  {u'volume_backend_name': u'lvm'}    |
|                id               | 25db03b1-ee4f-4e3a-8808-89fd6c1399b5 |
|            is_public            |                 True                 |
|               name              |                iscsi                 |
| os-volume-type-access:is_public |                 True                 |
|           qos_specs_id          |                 None                 |
+---------------------------------+--------------------------------------+

Comment 3 Eric Harney 2016-09-19 15:48:15 UTC
This should be fixed in OSP10 via https://bugs.launchpad.net/cinder/+bug/1512876 .

Comment 5 lkuchlan 2016-11-27 11:11:06 UTC
Tested using:
openstack-cinder-9.0.0-12.el7ost.noarch

Verification flow:

[stack@undercloud-0 ~]$ cinder type-create iscsi      
+--------------------------------------+-------+-------------+-----------+                                                                                                    
| ID                                   | Name  | Description | Is_Public |
+--------------------------------------+-------+-------------+-----------+
| ca210075-ff7a-4543-ad2d-64dec5dbe572 | iscsi | -           | True      |
+--------------------------------------+-------+-------------+-----------+

[stack@undercloud-0 ~]$ cinder type-show ca210075-ff7a-4543-ad2d-64dec5dbe572
+---------------------------------+--------------------------------------+
| Property                        | Value                                |
+---------------------------------+--------------------------------------+
| description                     | None                                 |
| extra_specs                     | {}                                   |
| id                              | ca210075-ff7a-4543-ad2d-64dec5dbe572 |
| is_public                       | True                                 |
| name                            | iscsi                                |
| os-volume-type-access:is_public | True                                 |
| qos_specs_id                    | None                                 |
+---------------------------------+--------------------------------------+

Comment 7 errata-xmlrpc 2016-12-14 15:50:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-2948.html