From 510c2d8f9583970a48fd1d66cfa4d00e0395a0c7 Mon Sep 17 00:00:00 2001 From: Dincer Celik Date: Mon, 1 Jul 2019 13:18:36 +0300 Subject: Fixes wrong local_setting.py file issue for Ubuntu binary deployment. This bug both affects Rocky and Stein. local_setting.py was not linked to local_settings under /etc/openstack-dashboard so Horizon runs with default settings. Change-Id: I818876619694695663c98d9edcb8c8514198e8fd Closes-Bug: #1803029 (cherry picked from commit eb7c730e057082eadab5c01ef845f65bb5cf47c4) --- docker/horizon/Dockerfile.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/horizon/Dockerfile.j2 b/docker/horizon/Dockerfile.j2 index cda759521..800eae2a1 100644 --- a/docker/horizon/Dockerfile.j2 +++ b/docker/horizon/Dockerfile.j2 @@ -83,6 +83,8 @@ RUN echo > /etc/apache2/ports.conf \ && cp /usr/share/openstack-dashboard/openstack_dashboard/conf/*.json /etc/openstack-dashboard \ && cp /usr/share/openstack-dashboard/manage.py /usr/bin/manage.py \ && rm /etc/apache2/conf-enabled/openstack-dashboard.conf \ + && rm /etc/openstack-dashboard/local_settings.py \ + && ln -s /etc/openstack-dashboard/local_settings /etc/openstack-dashboard/local_settings.py \ && for locale in /usr/lib/python{{distro_python_version}}/site-packages/*/locale; do \ (cd ${locale%/*} && /usr/bin/python3 /usr/bin/manage.py compilemessages) \ done -- cgit v1.2.3