From 78d79dc37c769289bbd510952841f6a076649c38 Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Wed, 2 Dec 2015 17:32:41 +0100 Subject: horizon: add missing dependencies to address startup errors Horizon requires python-xstatic-angular-lrdragndrop and xstatic-magic-search otherwise errors will prevent the dashboard from being accessed. The depencies are spelled out clearly in the openstack-dashboard-error.log, as per the following error: ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named angular_lrdragndrop Even with these added dependencies there are other issues that prevent the dashboard from being accessed but at least with these dependencies satisfied we can move on to fixing the remaining runtime issues. Signed-off-by: Mark Asselstine Signed-off-by: Bruce Ashfield Signed-off-by: Josep Puigdemont Conflicts: meta-openstack/recipes-devtools/python/python-horizon_git.bb Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-horizon_git.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'meta-openstack/recipes-devtools/python/python-horizon_git.bb') diff --git a/meta-openstack/recipes-devtools/python/python-horizon_git.bb b/meta-openstack/recipes-devtools/python/python-horizon_git.bb index d0a9bab..b7c0046 100644 --- a/meta-openstack/recipes-devtools/python/python-horizon_git.bb +++ b/meta-openstack/recipes-devtools/python/python-horizon_git.bb @@ -39,6 +39,9 @@ RDEPENDS_${PN} += " python-django \ python-xstatic-angular-cookies \ python-xstatic-angular-mock \ python-xstatic-angular-bootstrap \ + python-xstatic-angular-irdragndrop \ + python-xstatic-angular-lrdragndrop \ + python-xstatic-magic-search \ python-xstatic-d3 \ python-xstatic-hogan \ python-xstatic-jasmine \ @@ -70,8 +73,8 @@ SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=master \ file://horizon-use-full-package-path-to-test-directories.patch \ " -SRCREV="9b37723a21e88c29732e2a4a9eeeecb9ecf19204" -PV="2015.1.0b2+git${SRCPV}" +SRCREV = "b99cf48ff346494198fb9740495eacc14fa406bf" +PV = "2015.1.0+git${SRCPV}p1" S = "${WORKDIR}/git" inherit setuptools update-rc.d python-dir default_configs openstackchef monitor -- cgit v1.2.3-54-g00ecf