Comment 0 for bug 1931294

Revision history for this message
Will Szumski (willjs) wrote :

The kolla container seems to recursively set the permissions on all files in /var/lib/cinder. This directory is where the backup share gets mounted:

https://github.com/openstack/kolla-ansible/blob/a52cf61b2234d2f078dd2893dd37de63e20ea1aa/ansible/roles/cinder/templates/cinder.conf.j2#L44

https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/cinder/templates/cinder-volume.json.j2#L40

This can take a very long time if there are a large number of backups.

There is also an issue in the kolla container which does a similar recursive ownership change:

https://github.com/openstack/kolla/blob/master/docker/cinder/cinder-volume/extend_start.sh#L4

I think the simplest solution is to change `backup_mount_point_base`. Thoughts?