summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2015-12-02 17:32:41 +0100
committerBruce Ashfield <bruce.ashfield@windriver.com>2015-12-07 10:52:38 -0500
commit78d79dc37c769289bbd510952841f6a076649c38 (patch)
tree5513829b45c72b1cd7406bea0d7aa356dae73486 /meta-openstack/recipes-devtools/python
parentf41e386b95ebcf5ebf7b8f601abfb88b0ed911f1 (diff)
downloadmeta-cloud-services-78d79dc37c769289bbd510952841f6a076649c38.tar.gz
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 <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Conflicts: meta-openstack/recipes-devtools/python/python-horizon_git.bb Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
-rw-r--r--meta-openstack/recipes-devtools/python/python-horizon_git.bb7
-rw-r--r--meta-openstack/recipes-devtools/python/python-xstatic-angular-lrdragndrop_1.0.2.2.bb22
-rw-r--r--meta-openstack/recipes-devtools/python/python-xstatic-magic-search_0.2.5.1.bb21
3 files changed, 48 insertions, 2 deletions
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 \
39 python-xstatic-angular-cookies \ 39 python-xstatic-angular-cookies \
40 python-xstatic-angular-mock \ 40 python-xstatic-angular-mock \
41 python-xstatic-angular-bootstrap \ 41 python-xstatic-angular-bootstrap \
42 python-xstatic-angular-irdragndrop \
43 python-xstatic-angular-lrdragndrop \
44 python-xstatic-magic-search \
42 python-xstatic-d3 \ 45 python-xstatic-d3 \
43 python-xstatic-hogan \ 46 python-xstatic-hogan \
44 python-xstatic-jasmine \ 47 python-xstatic-jasmine \
@@ -70,8 +73,8 @@ SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=master \
70 file://horizon-use-full-package-path-to-test-directories.patch \ 73 file://horizon-use-full-package-path-to-test-directories.patch \
71 " 74 "
72 75
73SRCREV="9b37723a21e88c29732e2a4a9eeeecb9ecf19204" 76SRCREV = "b99cf48ff346494198fb9740495eacc14fa406bf"
74PV="2015.1.0b2+git${SRCPV}" 77PV = "2015.1.0+git${SRCPV}p1"
75S = "${WORKDIR}/git" 78S = "${WORKDIR}/git"
76 79
77inherit setuptools update-rc.d python-dir default_configs openstackchef monitor 80inherit setuptools update-rc.d python-dir default_configs openstackchef monitor
diff --git a/meta-openstack/recipes-devtools/python/python-xstatic-angular-lrdragndrop_1.0.2.2.bb b/meta-openstack/recipes-devtools/python/python-xstatic-angular-lrdragndrop_1.0.2.2.bb
new file mode 100644
index 0000000..1bc71a3
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-xstatic-angular-lrdragndrop_1.0.2.2.bb
@@ -0,0 +1,22 @@
1DESCRIPTION = "LrDragNDrop javascript library packaged for setuptools"
2HOMEPAGE = "https://pypi.python.org/pypi/XStatic-Angular-lrdragndrop"
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://PKG-INFO;md5=92d5d5d8e51c0c2f4f6db4a084a59173"
6
7SRCNAME = "XStatic-Angular-lrdragndrop"
8SRC_URI = "http://pypi.python.org/packages/source/X/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
9
10SRC_URI[md5sum] = "afd682cab9f436cf22b025dfcabaa225"
11SRC_URI[sha256sum] = "1cf04495981db5dfd5536441e17ec69bb18d624f847ddc203f3259d81b10a77e"
12
13S = "${WORKDIR}/${SRCNAME}-${PV}"
14
15inherit setuptools
16
17DEPENDS += " \
18 python-pip \
19 "
20
21RDEPENDS_${PN} += " \
22 "
diff --git a/meta-openstack/recipes-devtools/python/python-xstatic-magic-search_0.2.5.1.bb b/meta-openstack/recipes-devtools/python/python-xstatic-magic-search_0.2.5.1.bb
new file mode 100644
index 0000000..23fb832
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-xstatic-magic-search_0.2.5.1.bb
@@ -0,0 +1,21 @@
1DESCRIPTION = "An AngularJS directive that provides a UI for both faceted filtering and as-you-type filtering"
2HOMEPAGE = "https://pypi.python.org/pypi/XStatic-Magic-Search"
3SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://PKG-INFO;md5=e3d8469611ec04e52d71f2e293d54e9c"
6
7SRCNAME = "XStatic-Magic-Search"
8SRC_URI = "http://pypi.python.org/packages/source/X/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
9
10SRC_URI[md5sum] = "cfb8a82129fffbe1f5c6339240cb6139"
11SRC_URI[sha256sum] = "9b2f35a5792f4e763e6dc319036e3676f3e18f46153096f3ab5e507177ec007e"
12
13S = "${WORKDIR}/${SRCNAME}-${PV}"
14
15inherit setuptools
16
17DEPENDS += " \
18 "
19
20RDEPENDS_${PN} += " \
21 "