Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/

Bug 1087033

Summary: the read only status in cinder show shouldn't under metadata
Product: [Community] RDO Reporter: Yogev Rabl <yrabl>
Component: openstack-cinderAssignee: RHOS Maint <rhos-maint>
Status: CLOSED DUPLICATE QA Contact: Dafna Ron <dron>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: eharney, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-15 09:05:27 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 Yogev Rabl 2014-04-13 09:50:04 UTC
Description of problem:
The cinder show of a read only volume looks like this:

+--------------------------------+--------------------------------------+
| Property | Value |
+--------------------------------+--------------------------------------+
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| created_at | 2014-04-13T07:52:43.000000 |
| display_description | None |
| display_name | None |
| encrypted | False |
| id | 88549cd2-33ce-4ebb-b96a-7aeef6687244 |
| metadata | {u'readonly': u'False'} |
| os-vol-host-attr:host | cougar01.scl.lab.tlv.redhat.com |
| os-vol-mig-status-attr:migstat | None |
| os-vol-mig-status-attr:name_id | None |
| os-vol-tenant-attr:tenant_id | 3dca947b8dc047baa1850b781bc1e1f2 |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | available |
| volume_type | None |
+--------------------------------+--------------------------------------+

The read only parameter should have its own line:
Read Only | False / True

The administrator should not search for the configuration in the metadata line.
In addition the {u'readonly': u'False'} looks bad, it should be: Read Only : True/false

Version-Release number of selected component (if applicable):
openstack-cinder-2014.1-0.6.b3.el7.noarch
python-cinder-2014.1-0.6.b3.el7.noarch
python-cinderclient-1.0.7-2.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. Set a volume as read only 
2. cinder show <volume-id>

Comment 1 Dafna Ron 2014-04-15 09:05:27 UTC

*** This bug has been marked as a duplicate of bug 1084038 ***