aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles
diff options
context:
space:
mode:
authorgrakiss <grakiss.wanglei@huawei.com>2015-10-14 00:11:14 +0800
committergrakiss <grakiss.wanglei@huawei.com>2015-10-14 00:11:14 +0800
commit22f2f9edea31412d45fbc4c7439e0ec0af0c3600 (patch)
treeedf6f3e30347a27a5f7c97fbb318f4fe6442133b /deploy/adapters/ansible/roles
parentcb004d80668a6bf63e208e81bf3c4fa86d889dcf (diff)
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 <grakiss.wanglei@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles')
-rw-r--r--deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf2
1 files changed, 1 insertions, 1 deletions
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