Comment 1 for bug 1788179

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/594177
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=735d085bc72ca7cc774c8612ed0d373e018610c5
Submitter: Zuul
Branch: master

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.

    Change-Id: I6d9403231e41baac177f29c58e67ba605795385d
    Closes-bug: #1788179