Add zun configuration about oslo.concurrency

Zun use oslo.concurrency to achieve safely running multi-thread,
multi-process applications. The lock_path is directory to use for
lock files. If external locks are used, lock path must be set.

Change-Id: I4f667d9699ec2231722bcfd7c5f84ba47fc8465c
This commit is contained in:
pengdake 2018-01-14 07:32:51 +08:00
parent a3fa30b7fa
commit b1f707d76f

View File

@ -98,3 +98,6 @@ hmac_keys = {{ osprofiler_secret }}
connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }} connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }}
{% endif %} {% endif %}
{% endif %} {% endif %}
[oslo_concurrency]
lock_path = /var/lib/zun/tmp