diff options
author | Damien Ciabrini <dciabrin@redhat.com> | 2017-08-11 11:24:12 +0000 |
---|---|---|
committer | Juan Antonio Osorio Robles <jaosorior@redhat.com> | 2017-08-14 10:53:16 +0000 |
commit | 5144634d9bc3afd79ff934b9e913f6b9689e374b (patch) | |
tree | 3421ceef8a77ee3abe7550bbdec4448811de353f /docker/services/panko-api.yaml | |
parent | 4dabd2c487d998caf43fcee9f906ba27985242f6 (diff) |
Bind mount tripleo.cnf in transient bootstrap containers
Various containerized services (e.g. nova, neutron, heat) run initial set up
steps with some ephemeral containers that don't use kolla_start. The
tripleo.cnf file is not copied in /etc/my.cnf.d and this can break some
deployments (e.g. when using internal TLS, service lack SSL settings).
Fix the configuration of transient containers by bind mounting of the
tripleo.cnf file when kolla_start is not used.
Change-Id: I5246f9d52fcf8c8af81de7a0dd8281169c971577
Closes-Bug: #1710127
Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Diffstat (limited to 'docker/services/panko-api.yaml')
-rw-r--r-- | docker/services/panko-api.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/services/panko-api.yaml b/docker/services/panko-api.yaml index 01c17388..626d9176 100644 --- a/docker/services/panko-api.yaml +++ b/docker/services/panko-api.yaml @@ -116,6 +116,7 @@ outputs: list_concat: - {get_attr: [ContainersCommon, volumes]} - + - /var/lib/config-data/panko/etc/my.cnf.d/tripleo.cnf:/etc/my.cnf.d/tripleo.cnf:ro - /var/lib/config-data/panko/etc/panko:/etc/panko:ro - /var/log/containers/panko:/var/log/panko command: "/usr/bin/bootstrap_host_exec panko_api su panko -s /bin/bash -c '/usr/bin/panko-dbsync'" |