Read-only Volumes
Provide the ability to attach volumes in the read-only mode. Read-only mode could be ensured by hypervisor configuration during the attachment.
Libvirt, Xen, VMware and Hyper-V support R/O volumes.
Use cases:
- immutable volumes
- cinder as a backend for glance https:/
- shared volume https:/
Blueprint information
- Status:
- Complete
- Approver:
- John Griffith
- Priority:
- Medium
- Drafter:
- Dmitry Russkikh
- Direction:
- Approved
- Assignee:
- Anastasiia Guzikova
- Definition:
- Approved
- Series goal:
- Accepted for havana
- Implementation:
-
Implemented
- Milestone target:
-
2013.2
- Started by
- Dmitry Russkikh
- Completed by
- John Griffith
Related branches
Related bugs
Sprints
Whiteboard
Implementation plan:
- Add field 'readonly' (boolean) to 'volumes' table in Cinder DB
- Add support of 'readonly' parameter in create and update operations in Cinder API
- Add support of 'readonly' parameter in create and update operations in Cinder CLI client (python-
- Visualize 'readonly' parameter in Horizon UI (volume create, volume list, volume details operations)
- Modify logic of volume attachment operation in Nova - use 'read_only' option while configuring hypervisor for attaching Volume with 'readonly' option to a VM. Implement for all available virt drivers.
Gerrit topics: https:/
cinder:https:/
python-
nova: https:/
horizon: https:/
Gerrit topic: https:/
Addressed by: https:/
Add support of Read Only mode for volumes.
Wiki page:
https:/
Addressed by: https:/
Adding Read-Only volume attaching support to Cinder
Addressed by: https:/
Add Volume ACL Permissions: API extension
Addressed by: https:/
Add Volume ACL Permissions: Volume ACL Module
Addressed by: https:/
Add Volume ACL Permissions: DB
!!!!!!!
Superseded here:
* cinder: https:/
* python-
* nova: https:/
* nova (libvirt driver): https:/
* python-novaclient: https:/
!!!!!!!