From 84783c72fe31dbc7656cfb4b9ee0af947e5ce3ed Mon Sep 17 00:00:00 2001
From: Sergey Kraynev <skraynev@mirantis.com>
Date: Thu, 10 Oct 2013 09:08:48 -0400
Subject: [PATCH] Adding value for lock_path in configuration file

Now oslo code include new lockutils. According this code
if lock_path is not set in configuration file, will be
raised Error message.

So for updating lockutils in cinder project is needed
lock_path definition in configuration file.

Change-Id: I413f0a2ccec0f9d9e06acaa8cc06c41206d9dcc2
---
 lib/cinder | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/cinder b/lib/cinder
index ccf38b4dea..220488a07e 100644
--- a/lib/cinder
+++ b/lib/cinder
@@ -233,6 +233,7 @@ function configure_cinder() {
     iniset $CINDER_CONF DEFAULT rootwrap_config "$CINDER_CONF_DIR/rootwrap.conf"
     iniset $CINDER_CONF DEFAULT osapi_volume_extension cinder.api.contrib.standard_extensions
     iniset $CINDER_CONF DEFAULT state_path $CINDER_STATE_PATH
+    iniset $CINDER_CONF DEFAULT lock_path $CINDER_STATE_PATH
     iniset $CINDER_CONF DEFAULT periodic_interval $CINDER_PERIODIC_INTERVAL
 
     if is_service_enabled ceilometer; then