← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1303856] Re: please mark a volume as read-only

 

Marking Won't Fix due to the same reason as for cinder.

** Changed in: horizon
       Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1303856

Title:
  please mark a volume as read-only

Status in OpenStack Dashboard (Horizon):
  Won't Fix
Status in python-cinderclient:
  Won't Fix

Bug description:
  currently, once I update a volume to read-only its only shown in the metadata. 
  however, I think a read-only change (could be worse when we change from read-only to read/write) is really important and should be very visible to the user. 

  as you can see, we can only see that the volume is read-only in the
  metadata:

  [root@host ~(keystone_admin)]# cinder create --display-name dafna 10
  +---------------------+--------------------------------------+
  |       Property      |                Value                 |
  +---------------------+--------------------------------------+
  |     attachments     |                  []                  |
  |  availability_zone  |                 nova                 |
  |       bootable      |                false                 |
  |      created_at     |      2014-04-03T13:16:03.137237      |
  | display_description |                 None                 |
  |     display_name    |                dafna                 |
  |      encrypted      |                False                 |
  |          id         | 51c841ec-24a5-49fe-8441-01593b39b2f7 |
  |       metadata      |                  {}                  |
  |         size        |                  10                  |
  |     snapshot_id     |                 None                 |
  |     source_volid    |                 None                 |
  |        status       |               creating               |
  |     volume_type     |                 None                 |
  +---------------------+--------------------------------------+
  [root@host ~(keystone_admin)]# cinder list 
  +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
  |                  ID                  |   Status  | Display Name | Size | Volume Type | Bootable | Attached to |
  +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
  | 51c841ec-24a5-49fe-8441-01593b39b2f7 | available |    dafna     |  10  |     None    |  false   |             |
  | 54d28f61-2f0f-4be4-8e27-855a50a50c33 | available |   emptyVol   |  1   |     None    |  false   |             |
  | 82a7a825-6106-4139-9bc8-4334ccc38e85 | available | volFromImage |  1   |     None    |   true   |             |
  +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+

  [root@host ~(keystone_admin)]# cinder readonly-mode-update 51c841ec-24a5-49fe-8441-01593b39b2f7 true
  [root@host ~(keystone_admin)]# cinder list 
  +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
  |                  ID                  |   Status  | Display Name | Size | Volume Type | Bootable | Attached to |
  +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
  | 51c841ec-24a5-49fe-8441-01593b39b2f7 | available |    dafna     |  10  |     None    |  false   |             |
  | 54d28f61-2f0f-4be4-8e27-855a50a50c33 | available |   emptyVol   |  1   |     None    |  false   |             |
  | 82a7a825-6106-4139-9bc8-4334ccc38e85 | available | volFromImage |  1   |     None    |   true   |             |
  +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+
  [root@host ~(keystone_admin)]# cinder show 51c841ec-24a5-49fe-8441-01593b39b2f7
  +--------------------------------+--------------------------------------+
  |            Property            |                Value                 |
  +--------------------------------+--------------------------------------+
  |          attachments           |                  []                  |
  |       availability_zone        |                 nova                 |
  |            bootable            |                false                 |
  |           created_at           |      2014-04-03T13:16:03.000000      |
  |      display_description       |                 None                 |
  |          display_name          |                dafna                 |
  |           encrypted            |                False                 |
  |               id               | 51c841ec-24a5-49fe-8441-01593b39b2f7 |
  |            metadata            |        {u'readonly': u'True'}        |
  |     os-vol-host-attr:host      |  orange-vdsf.qa.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  |   f66db525566a4cd9b04a3ad58ebda638   |
  |              size              |                  10                  |
  |          snapshot_id           |                 None                 |
  |          source_volid          |                 None                 |
  |             status             |              available               |
  |          volume_type           |                 None                 |

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1303856/+subscriptions