fix cinder has no permission of accessing /var/lock 05/2505/1
authorgrakiss <grakiss.wanglei@huawei.com>
Tue, 13 Oct 2015 16:11:14 +0000 (00:11 +0800)
committergrakiss <grakiss.wanglei@huawei.com>
Tue, 13 Oct 2015 16:11:14 +0000 (00:11 +0800)
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>
deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf

index 86422e9..0b855da 100644 (file)
@@ -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