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/storage/redis.yml b/gnocchi/common/storage/redis.yml
index 8bb855e..079c887 100644
--- a/gnocchi/common/storage/redis.yml
+++ b/gnocchi/common/storage/redis.yml
@@ -7,3 +7,13 @@
storage:
driver: ${_param:gnocchi_storage_driver}
redis_url: ${_param:gnocchi_storage_redis_url}
+ 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}