From: grakiss Date: Tue, 13 Oct 2015 16:11:14 +0000 (+0800) Subject: fix cinder has no permission of accessing /var/lock X-Git-Tag: brahmaputra.1.0~193^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=22f2f9edea31412d45fbc4c7439e0ec0af0c3600;p=compass4nfv.git fix cinder has no permission of accessing /var/lock JIRA: COMPASS-99 - no permission on /var/lock, modify cinder.conf to other dir Change-Id: Iffd6261a1e54f256b42a22e9a3a396464f13db39 Signed-off-by: grakiss --- diff --git a/deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf b/deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf index 86422e93..0b855da5 100644 --- a/deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf +++ b/deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf @@ -7,7 +7,7 @@ volume_group = cinder-volumes verbose = True auth_strategy = keystone state_path = /var/lib/cinder -lock_path = /var/lock/cinder +lock_path = /var/lib/cinder/tmp notification_driver=cinder.openstack.common.notifier.rpc_notifier volumes_dir = /var/lib/cinder/volumes