commit 735d085bc72ca7cc774c8612ed0d373e018610c5
Author: Liping Mao (limao) <email address hidden>
Date: Tue Aug 21 21:40:29 2018 +0800
Fix redis sentinel change myid every time when it restarted
If you use COPY_ALWAYS, kolla will overwrite /etc/redis/redis.conf.
But Redis Sentinel will store myid in this file. So when it restart,
Redis Sentinel will regenerate new myid every time. Redis Sentinel
cluster will see more and more sentinel, This patch use hash value
with hostname as sentinel myid.
Reviewed: https:/ /review. openstack. org/594177 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=735d085bc72 ca7cc774c8612ed 0d373e018610c5
Committed: https:/
Submitter: Zuul
Branch: master
commit 735d085bc72ca7c c774c8612ed0d37 3e018610c5
Author: Liping Mao (limao) <email address hidden>
Date: Tue Aug 21 21:40:29 2018 +0800
Fix redis sentinel change myid every time when it restarted
If you use COPY_ALWAYS, kolla will overwrite /etc/redis/ redis.conf.
But Redis Sentinel will store myid in this file. So when it restart,
Redis Sentinel will regenerate new myid every time. Redis Sentinel
cluster will see more and more sentinel, This patch use hash value
with hostname as sentinel myid.
Change-Id: I6d9403231e41ba ac177f29c58e67b a605795385d
Closes-bug: #1788179