coordination_url should be placed in DEFAULT section

According to gnocchi docs, coordination_url should be placed in DEFAULT section now
Otherwise deprecation warning is shown.
https://gnocchi.xyz/install.html#gnocchi-configuration-sample

Fixed test-install-gnocchi.yml syntax

Change-Id: Ief9073cf2f9c876c4c1a91568aab6a79d22ab626
This commit is contained in:
Dmitriy Rabotjagov 2018-11-08 21:00:53 +02:00
parent a50476d6de
commit 38340cf4bd
2 changed files with 4 additions and 3 deletions

View File

@ -5,6 +5,7 @@
use_stderr = False
debug = {{ debug }}
fatal_deprecations = {{ gnocchi_fatal_deprecations }}
coordination_url = {{ gnocchi_coordination_url }}
[api]
auth_mode = {{ gnocchi_auth_mode }}
@ -42,7 +43,6 @@ memcache_secret_key = {{ memcached_encryption_key }}
[storage]
driver = {{ gnocchi_storage_driver }}
coordination_url = {{ gnocchi_coordination_url }}
{% if gnocchi_storage_driver == 'file' %}
############
## File Storage

View File

@ -21,7 +21,8 @@
- common/test-vars.yml
pre_tasks:
- include_tasks: common/create-grant-db.yml
db_password: "{{ gnocchi_container_mysql_password }}"
db_name: "gnocchi"
vars:
db_password: "{{ gnocchi_container_mysql_password }}"
db_name: "gnocchi"
roles:
- role: "os_gnocchi"