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:
parent
23ead4df9c
commit
1db5b7421e
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue