tripleo-heat-templates/deployment/database
Michele Baldessari e6e7019add 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 15:59:19 +00:00
..
mysql-base.yaml Adding key_size option on the certificate creation 2021-01-06 13:18:20 +00:00
mysql-client.yaml Use absolute name to include puppet classes 2020-04-11 08:13:23 +09:00
mysql-container-puppet.yaml Remove race during mysql database creation 2020-09-17 16:09:50 +02:00
mysql-pacemaker-puppet.yaml Revert rolling certificate updates for HA services 2021-01-06 10:29:10 +00:00
redis-base-puppet.yaml Deprecate service ipv6 params 2020-05-12 07:25:11 +00:00
redis-container-puppet.yaml Adding key_size option on the certificate creation 2021-01-06 13:18:20 +00:00
redis-pacemaker-puppet.yaml Fix redis_tls_proxy 2021-02-25 15:59:19 +00:00