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)
Reviewed: https:/ /review. opendev. org/742088 /git.openstack. org/cgit/ openstack/ puppet- tripleo/ commit/ ?id=e0fa5abdf69 f4cb7f80bb40c85 8eef4f7601dea5
Committed: https:/
Submitter: Zuul
Branch: stable/ussuri
commit e0fa5abdf69f4cb 7f80bb40c858eef 4f7601dea5
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)
Closes-Bug: #1885284
(cherry picked from commit 3e942b7ff5cc91b