Read-only cinder volumes after cinder-volume container restart
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
In Progress
|
Undecided
|
Jakub Darmach |
Bug Description
Hi,
On a Kolla-ansible deployed cloud using the Cinder NFS driver and a NetApp storage appliance, some cinder volumes become read-only when cinder-volume is restarted.
This appears to be caused by volume backing-file ownership in /var/lib/cinder.
I don't know if this is unique to the use of NFS exported from a NetApp appliance, but the NetApp NFS share mountpoint
is /var/lib/
not directly under /var/lib/cinder.
This means that the recursive chown operations in both:
https:/
https:/
Result in chown operations on the NFS mountpoint, rather than directly on the volume backing files as intended (I assume!).
Once the correct permissions are applied by hand to the read-only volume backing-files, normal service is resumed.
Changed in kolla-ansible: | |
status: | New → In Progress |
Added the mounth path to exclude section in the config.json, this should help it.