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
This commit is contained in:
Ihar Hrachyshka 2015-03-30 18:55:04 +02:00
parent 0264074966
commit 8d8be7ee29
1 changed files with 4 additions and 3 deletions

View 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