From 8d8be7ee29d13a28e29be1185bb2fc55d392e3c9 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Mon, 30 Mar 2015 18:55:04 +0200 Subject: [PATCH] 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 --- etc/neutron.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/etc/neutron.conf b/etc/neutron.conf index e25d8e25375..6a0cb8b47e6 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