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
This commit is contained in:
Alex Schultz 2018-04-20 16:06:16 -06:00
parent 4de70a5314
commit 039dbccb5d
1 changed files with 2 additions and 0 deletions

View File

@ -555,4 +555,6 @@ RUN mkdir -p /openstack && \
{% block base_footer %}
# workaround LP1696283
RUN mkdir -p /etc/ssh && touch /etc/ssh/ssh_known_hosts
# workaround for LP#1765802
STOPSIGNAL SIGTERM
{% endblock %}