admin role required to attach a volume in Read Only mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Triaged
|
Medium
|
Unassigned |
Bug Description
After creating a cinder volume, setting the --read-only flag (either by cinder readonly-
2017-07-13 18:18:15.127 20064 ERROR oslo_messaging.
2017-07-13 18:18:15.127 20064 ERROR oslo_messaging.
2017-07-13 18:18:15.127 20064 ERROR oslo_messaging.
2017-07-13 18:18:15.127 20064 ERROR oslo_messaging.
2017-07-13 18:18:15.127 20064 ERROR oslo_messaging.
(Request-ID: req-8fada1a9-
show several time as nova-compute attempts to attach the volume to the instance. If a user with the admin role attaches the same volume to an instance it succeeds.
I also notice that the only time the read only tag is followed is when it is set in the cinder table: volume_
Phil
This would likely be resolved by this nova spec: https:/ /review. openstack. org/#/c/ 552078/