emc-openstack / vnxe-cinder-driver

Cinder driver for EMC VNXe systems.
7 stars 2 forks source link

Read only command in README is incorrect #1

Closed bobbywatson3 closed 9 years ago

bobbywatson3 commented 9 years ago

The read-only commands below are incorrect:

cinder --os-username admin --os-tenant-name admin metadata set 'attached_mode'='ro' cinder --os-username admin --os-tenant-name admin metadata set 'readonly'='True'

These commands will set the metadata to ro, but as soon as the volume is attached, it's set back to rw. The correct command is:

cinder readonly-mode-update True

This needs to be updated in the OpenStack Juno documentation as well.

Jeegn-Chen commented 9 years ago

Thanks a lot for pointing that out! The README is updated and Gerrit Review is also published to update OpenStack doc

Jeegn-Chen commented 9 years ago

Link to Gerrit Review https://review.openstack.org/148493