Add in a STOPSIGNAL configuration

For docker 1.13.1, if STOPSIGNAL is not provided in the docker image,
the container will not automatically restart the container.  It might be
better to define this in the Kolla scripts as a configuration option for
each container, but I'm unsure if it's a problem for any other version
so it might be best to configure this in tripleo until a newer version
of docker is consumed. Additionally I'm not sure if any of the
containers would need something other than STOPSIGNAL SIGTERM which
should be the default if none is provided.

Change-Id: I1939f9e6b2c432a672c7426ddabdcfca6ce150b7
Related-Bug: #1765802
(cherry picked from commit 039dbccb5d)
This commit is contained in:
Alex Schultz 2018-04-20 16:06:16 -06:00 committed by Emilien Macchi
parent 23ead4df9c
commit 1db5b7421e
1 changed files with 2 additions and 0 deletions

View File

@ -447,4 +447,6 @@ RUN yum install -y pacemaker pacemaker-remote pcs libqb resource-agents && mkdir
{% block base_footer %}
# workaround LP1696283
RUN mkdir -p /etc/ssh && touch /etc/ssh/ssh_known_hosts
# workaround for LP#1765802
STOPSIGNAL SIGTERM
{% endblock %}