]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Stop using deprecated DEFAULT group for lock_path
authorIhar Hrachyshka <ihrachys@redhat.com>
Mon, 30 Mar 2015 16:55:04 +0000 (18:55 +0200)
committerIhar Hrachyshka <ihrachys@redhat.com>
Mon, 30 Mar 2015 16:55:04 +0000 (18:55 +0200)
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

index e25d8e253754e0f91f0afe4e694cbaad69ec635d..6a0cb8b47e6afe77ddaf4dea6da2b1fa6b4fc096 100644 (file)
@@ -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