From 41c9a1dfad23f8aee366afb6a0b20a6c57ec8f79 Mon Sep 17 00:00:00 2001 From: James Slagle Date: Mon, 25 Aug 2014 16:41:23 -0400 Subject: [PATCH] Workaround broken Horizon Horizon is currently broken for all of TripleO. This is a temporary workaround until the bug is fixed. Change-Id: I68c0cf03bdd9ac615ddbb49d40675ae870a245f3 Partial-Bug: 1361235 --- elements/horizon/install.d/horizon-source-install/100-horizon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/elements/horizon/install.d/horizon-source-install/100-horizon b/elements/horizon/install.d/horizon-source-install/100-horizon index 5ddfa490a..518a79c1d 100755 --- a/elements/horizon/install.d/horizon-source-install/100-horizon +++ b/elements/horizon/install.d/horizon-source-install/100-horizon @@ -38,3 +38,6 @@ set -u touch /etc/horizon/.secret_key_store chmod 600 /etc/horizon/.secret_key_store chown horizon:horizon /etc/horizon/.secret_key_store + +# Workaround for https://bugs.launchpad.net/osprofiler/+bug/1361235 +sed -i "s#'../..'#os.path.realpath('../..')#" "$HORIZON_VENV_DIR"/lib/python2.7/site-packages/openstack_dashboard/wsgi/django.wsgi