Turn off oslo_conccurrency locking in volume driver

Since the volume driver is only accessed through one process, we
probably don't need concurrency locking.

Change-Id: I50f0cb4a7ef92a5fefe5fafb9f3ddadf0bf796b0
Closes-Bug: #1473535
This commit is contained in:
Steven Dake 2015-07-10 12:48:21 -07:00
parent ea6caeaac9
commit bdfcd74cf2

View File

@ -131,3 +131,17 @@ crudini --set $cfg \
keystone_authtoken \
admin_password \
"${CINDER_KEYSTONE_PASSWORD}"
# oslo_concurrency
crudini --set $cfg \
oslo_concurrency \
disable_process_locking \
True
mkdir -p /var/lib/cinder/locks
crudini --set $cfg \
oslo_concurrency \
lock_path \
/var/lib/cinder/locks