Add redis metadata for gnocchi
Add coordination_backend:redis metadata structure
Add storage:redis metadata structure
Add storage:incomming:redis metadata structure
Set softparams in defaults/openstack/init.yml:
openstack_telemetry_redis_db = 0
openstack_telemetry_redis_sentinel_mastername = 'master_1'
Change-Id: I22f5f849b71a7d7a424dd43472ab6167837b496a
Related-Prod: PROD-29126
(cherry picked from commit fab80dbb2afe6c50140acc6e43468ed05dc672a0)
diff --git a/gnocchi/common/coordination/redis.yml b/gnocchi/common/coordination/redis.yml
index 99a5090..f1e94b6 100644
--- a/gnocchi/common/coordination/redis.yml
+++ b/gnocchi/common/coordination/redis.yml
@@ -5,3 +5,14 @@
common:
coordination_backend:
url: ${_param:gnocchi_coordination_url}
+ engine: redis
+ redis:
+ password: ${_param:openstack_telemetry_redis_password}
+ user: openstack
+ db: ${_param:gnocchi_redis_db}
+ sentinel:
+ host: ${_param:redis_sentinel_node01_address}
+ master_name: ${_param:gnocchi_redis_sentinel_mastername}
+ fallback:
+ - host: ${_param:redis_sentinel_node02_address}
+ - host: ${_param:redis_sentinel_node03_address}