Browse Source

Add container runtime packages for cron image

Logrotate-crond needs docker binary (from package) and docker
socket to restart some non-SIGHUP friendly containers.

Related-Bug: #1715374
Related-Bug: #1780139

Change-Id: I73e7bb6e5ba4a79a3158a1878bf8b26a539e3e2f
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
changes/77/596277/3
Bogdan Dobrelya 4 years ago
parent
commit
305445bac6
  1. 7
      container-images/tripleo_kolla_template_overrides.j2

7
container-images/tripleo_kolla_template_overrides.j2

@ -47,6 +47,13 @@ gpgcheck=0' >> /etc/yum.repos.d/opendaylight.repo
# container image operations during overcloud deploy
{% set mistral_executor_packages_append = ['openstack-nova-common', 'docker', 'podman'] %}
# NOTE: Logrotate-crond needs to restart some non-SIGHUP friendly containers
# to make them reopen log files after the logs rotated
{% set cron_packages_append = ['docker'] %}
# NOTE: Split this apart because we'll need to backport docker but not podman
{% set cron_packages_append = cron_packages_append|default([]) + ['podman'] %}
# FIXME (kolla review to add ceilometer to swift proxy image)
# NOTE (jaosorior): swift proxy with TLS everywhere needs these packages.
# NOTE(mandre) Apache cleanup done below in swift_proxy_server_footer block

Loading…
Cancel
Save