-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
False
-
-
False
-
?
-
?
-
?
-
?
-
None
-
-
In my podified-antelope deployment (upstream OSP18), Cinder lock files are appearing in multiple directories for cinder-volume: /var/lib/cinder, and /var/locks/openstack/cinder.
This is because we have two paths to create lock files inside of Cinder and the configuration works differently between them.
cinder.coordination.synchronized() uses tooz directly and does not respect cinder.conf [oslo_concurrency] lock_path.
cinder.utils.synchronized() uses oslo_concurrency lock utils which does use the lock_path option.
This means that some locks (clean_incomplete_backups) are in /var/locks/openstack/cinder and some locks (cinder-<uuid>-delete_volume) are in /var/lib/cinder.
We should get these lock directories pointing to the same location in our deployment.