tripleo-heat-templates/deployment/database
Michele Baldessari badc6bc1ed Fix redis_tls_proxy
Since we merged the pcs-host patches we erroneously also removed
the sidecar container that does the tls stunneling for redis.
This is needed to allow the redis master stream the deplications to
its slaves via TLS.

Tested this and we now correctly get the working container and cluster
state:
[root@controller-0 ~]# podman ps -a |grep redis
4182a78811a2  undercloud-0.ctlplane.redhat.local:8787/openstack-redis:16.2_20210218.1-hotfixupdate2       /bin/bash /usr/lo...  3 minutes ago   Up 3 minutes ago                 redis-bundle-podman-0
604a086bb53c  undercloud-0.ctlplane.redhat.local:8787/openstack-redis:16.2_20210218.1-hotfixupdate2       kolla_start           8 minutes ago   Up 8 minutes ago                 redis_tls_proxy
[root@controller-0 ~]# pcs status |grep redis
  * GuestOnline: [ galera-bundle-0@database-1 galera-bundle-1@database-2 galera-bundle-2@database-0 ovn-dbs-bundle-0@controller-0 ovn-dbs-bundle-1@controller-1 ovn-dbs-bundle-2@controller-2 rabbitmq-bundle-0@messaging-0 rabbitmq-bundle-1@messaging-1 rabbitmq-bundle-2@messaging-2 redis-bundle-0@controller-0 redis-bundle-1@controller-1 redis-bundle-2@controller-2 ]
  * Container bundle set: redis-bundle [cluster.common.tag/openstack-redis:pcmklatest]:
    * redis-bundle-0    (ocf:💓redis):  Master controller-0
    * redis-bundle-1    (ocf:💓redis):  Slave controller-1
    * redis-bundle-2    (ocf:💓redis):  Slave controller-2

We also move the redis_tls_proxy from step_2/start_order: 3 to step_1
since it actually makes sense to have it run before we start the
redis pcmk bundle at step 2 (i.e. so the slave replica can work right
away from the start).

Closes-Bug: #1916873

Change-Id: I44df0ee32e5c35b87f74bdb75dcb384496dfb6ab
2021-02-25 16:01:03 +00:00
..
mysql-base.yaml Adding key_size option on the certificate creation 2021-01-11 16:34:44 +00:00
mysql-client.yaml flatten database service MySQL Client 2019-01-30 09:38:32 -05:00
mysql-container-puppet.yaml Remove race during mysql database creation 2020-09-18 05:57:57 +00:00
mysql-pacemaker-puppet.yaml pcs commands on host: mysql 2021-02-18 14:26:47 +01:00
redis-base-puppet.yaml Force redis::ulimit to be an integer 2019-11-27 23:16:15 +00:00
redis-container-puppet.yaml Adding key_size option on the certificate creation 2021-01-11 16:34:44 +00:00
redis-pacemaker-puppet.yaml Fix redis_tls_proxy 2021-02-25 16:01:03 +00:00