From 8ab42604186064d61a6b9a024a37ade1f885f204 Mon Sep 17 00:00:00 2001 From: chenxing Date: Mon, 28 May 2018 22:02:12 +0800 Subject: Fix the horizon failed to start Currently, Horzion container fails to start when enabled designate, murano, magnum and so on. This patch is to fix it. Change-Id: I32da6dc1a65d3bfcaa59b4c9136e389af1f9b551 Closes-Bug: #1744428 --- docker/horizon/Dockerfile.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/horizon/Dockerfile.j2 b/docker/horizon/Dockerfile.j2 index 1197ef1a1..2d9eb624c 100644 --- a/docker/horizon/Dockerfile.j2 +++ b/docker/horizon/Dockerfile.j2 @@ -78,6 +78,7 @@ RUN echo > /etc/apache2/ports.conf \ && rm /etc/apache2/conf-enabled/openstack-dashboard.conf \ && rm /etc/openstack-dashboard/local_settings.py \ && rm /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py \ + && rm -rf /usr/lib/python2.7/site-packages/openstack_dashboard \ && ln -s /etc/openstack-dashboard/local_settings /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py \ && ln -s /usr/share/openstack-dashboard/openstack_dashboard /usr/lib/python2.7/site-packages/openstack_dashboard \ && ln -s /usr/share/openstack-dashboard/static /usr/lib/python2.7/site-packages/static \ -- cgit v1.2.3