Browse Source

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
Dmitriy Rabotjagov 5 months ago
parent
commit
38340cf4bd
2 changed files with 4 additions and 3 deletions
  1. 1
    1
      templates/gnocchi.conf.j2
  2. 3
    2
      tests/test-install-gnocchi.yml

+ 1
- 1
templates/gnocchi.conf.j2 View File

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

+ 3
- 2
tests/test-install-gnocchi.yml View File

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

Loading…
Cancel
Save