readonly flag in volume_admin_metadata results in ro mode attachments every time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Regardless of the value of the 'readonly' property in the volume_
This is the source of the issue and the string comparison to True:
https:/
```
# Use of admin_metadata for RO settings is deprecated
# switch to using mode argument to attachment-create
if self.db.
# for now we have to let the admin_metadata override
# so we're using an else in the next step here, in
# other words, using volume_
# are NOT compatible
```
Fix proposed to branch: master /review. opendev. org/c/openstack /cinder/ +/905317
Review: https:/