From d1936e7b825a3c7a432b6c53f92b6ded18be1be0 Mon Sep 17 00:00:00 2001 From: Bertrand Lallau Date: Thu, 13 Jul 2017 22:18:57 +0200 Subject: [PATCH] Fix Horizon container starting with Watcher enabled When Watcher service is enabled, Horizon container failed to start. Path to Horizon dashboard files was wrong. Add missing part to previous commit 11e04d0782d32d203830c9c8e40094658cee5cae Change-Id: I2b2b3a72949d125900fe5b2e1c1de42e2c24c9c3 Closes-Bug: #1703971 --- docker/horizon/extend_start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/horizon/extend_start.sh b/docker/horizon/extend_start.sh index dd67a391b4..c61147ae2f 100644 --- a/docker/horizon/extend_start.sh +++ b/docker/horizon/extend_start.sh @@ -179,7 +179,7 @@ function config_trove_dashboard { } function config_watcher_dashboard { - for file in ${SITE_PACKAGES}/watcher_dashboard/enabled/_*[^__].py; do + for file in ${SITE_PACKAGES}/watcher_dashboard/local/enabled/_*[^__].py; do config_dashboard "${ENABLE_WATCHER}" \ "${SITE_PACKAGES}/watcher_dashboard/local/enabled/${file##*/}" \ "${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}"