summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIhar Hrachyshka <ihrachys@redhat.com>2015-03-30 18:55:04 +0200
committerIhar Hrachyshka <ihrachys@redhat.com>2015-03-30 18:55:04 +0200
commit8d8be7ee29d13a28e29be1185bb2fc55d392e3c9 (patch)
tree6db02ac7b96547dcbbd059ea5d9edc09e0693efe
parent0264074966c8f00cac06429366baf28c5fdb962b (diff)
downloadneutron-8d8be7ee29d13a28e29be1185bb2fc55d392e3c9.tar.gz
Stop using deprecated DEFAULT group for lock_path
While we set the configuration option in DEFAULT section, we get the following deprecation message in our logs: WARNING oslo_config.cfg [-] Option "lock_path" from group "DEFAULT" is deprecated. Use option "lock_path" from group "oslo_concurrency". Switch to the new configuration option location. Change-Id: I89783cc975a4a845ee57920d83236d6eb698af9c
-rw-r--r--etc/neutron.conf7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/neutron.conf b/etc/neutron.conf
index e25d8e2537..6a0cb8b47e 100644
--- a/etc/neutron.conf
+++ b/etc/neutron.conf
@@ -19,9 +19,6 @@
# user executing the agent.
# state_path = /var/lib/neutron
-# Where to store lock files
-lock_path = $state_path/lock
-
# log_format = %(asctime)s %(levelname)8s [%(name)s] %(message)s
# log_date_format = %Y-%m-%d %H:%M:%S
@@ -721,3 +718,7 @@ admin_password = %SERVICE_PASSWORD%
# If set, use this value for pool_timeout with sqlalchemy
# pool_timeout = 10
+
+[oslo_concurrency]
+# Where to store lock files
+lock_path = $state_path/lock