Ensure post-save certmonger scripts target the right HA container
HAProxy and RabbitMQ can reload their TLS certificate on change,
without being restarted. To do that, a post-save script scan the
list of running container, copy the new certs and trigger a reload
action in the service.
Make sure that those post-save script only get the right container
out of the "$container_cli ps" command, i.e. that the scripts Work
both with HA and non-HA deployments.
Change-Id: Iaba8da504f9c7a54656cf1abe259dff779ea7125
Closes-Bug: #1885284
(cherry picked from commit 3e942b7ff5cc91bfee7cc19d31b502548dcf3f57)
(cherry picked from commit e0fa5abdf69f4cb7f80bb40c858eef4f7601dea5)
Reviewed: https:/ /review. opendev. org/742362 /git.openstack. org/cgit/ openstack/ puppet- tripleo/ commit/ ?id=ddf216332ff 9a7e8378c78e3e5 9271ce21719c62
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit ddf216332ff9a7e 8378c78e3e59271 ce21719c62
Author: Damien Ciabrini <email address hidden>
Date: Fri Jun 26 16:31:11 2020 +0200
Ensure post-save certmonger scripts target the right HA container
HAProxy and RabbitMQ can reload their TLS certificate on change,
without being restarted. To do that, a post-save script scan the
list of running container, copy the new certs and trigger a reload
action in the service.
Make sure that those post-save script only get the right container
out of the "$container_cli ps" command, i.e. that the scripts Work
both with HA and non-HA deployments.
Change-Id: Iaba8da504f9c7a 54656cf1abe259d ff779ea7125 fee7cc19d31b502 548dcf3f57) 7f80bb40c858eef 4f7601dea5)
Closes-Bug: #1885284
(cherry picked from commit 3e942b7ff5cc91b
(cherry picked from commit e0fa5abdf69f4cb