diff options
| author | Steven Dake <stdake@cisco.com> | 2015-07-10 12:48:21 -0700 |
|---|---|---|
| committer | Steven Dake <stdake@cisco.com> | 2015-07-13 19:27:46 -0700 |
| commit | bdfcd74cf297ae448a63f434282b56fdf4d20d7a (patch) | |
| tree | 34b9118180baa1d51b0def1d67eb4a921993e963 /docker | |
| parent | ea6caeaac9c0c06fc8ec01939e50488c7904c9d9 (diff) | |
| download | kolla-bdfcd74cf297ae448a63f434282b56fdf4d20d7a.tar.gz kolla-bdfcd74cf297ae448a63f434282b56fdf4d20d7a.zip | |
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
Diffstat (limited to 'docker')
| -rwxr-xr-x | docker/common/cinder-app/cinder-base/config-cinder.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docker/common/cinder-app/cinder-base/config-cinder.sh b/docker/common/cinder-app/cinder-base/config-cinder.sh index 62deafb9e..5de11a993 100755 --- a/docker/common/cinder-app/cinder-base/config-cinder.sh +++ b/docker/common/cinder-app/cinder-base/config-cinder.sh @@ -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 |
