summaryrefslogtreecommitdiff
path: root/docker/masakari
diff options
context:
space:
mode:
authorgugug <gu.jin@99cloud.net>2020-05-17 22:19:02 +0800
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2020-05-20 08:54:47 +0000
commitd2a4822fb0a1d8238ad206d523a56e8965fef826 (patch)
tree76e012a5f89da5c7b3c1dfa7e1a526ac149fb3ce /docker/masakari
parente6f30e87020383f27c17560d0bf544c87520af84 (diff)
downloadkolla-d2a4822fb0a1d8238ad206d523a56e8965fef826.tar.gz
kolla-d2a4822fb0a1d8238ad206d523a56e8965fef826.zip
Ensure the confs exists for cyborg and masakari
1. When cyborg images build completed, the /etc/cyborg folder is not exits, and there is not confs, especially the api-paste.ini 2. When masakari images build completed, it's configs is missing, this ps add them together cyborg should keep consistence with the other images[1], this PS to add it. [1]: https://github.com/openstack/kolla/blob/master/docker/nova/nova-base/Dockerfile.j2#L137 Change-Id: I8a802617952f80cfb9f906398054ef6d17559589 (cherry picked from commit 2e6d2f144cd2de18193d9d87d36c95dfb75fb1b7)
Diffstat (limited to 'docker/masakari')
-rw-r--r--docker/masakari/masakari-base/Dockerfile.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/masakari/masakari-base/Dockerfile.j2 b/docker/masakari/masakari-base/Dockerfile.j2
index 65b944e6f..0dc9ff5d1 100644
--- a/docker/masakari/masakari-base/Dockerfile.j2
+++ b/docker/masakari/masakari-base/Dockerfile.j2
@@ -59,6 +59,7 @@ ADD masakari-base-archive /masakari-base-source
RUN ln -s masakari-base-source/* masakari \
&& {{ macros.install_pip(masakari_base_pip_packages | customizable("pip_packages")) }} \
&& mkdir -p /etc/masakari /var/www/cgi-bin/masakari \
+ && cp -r /masakari/etc/masakari/* /etc/masakari/ \
&& chown -R masakari: /etc/masakari /var/www/cgi-bin/masakari
{% endif %}