Dashboard doesn't support Django 1.8

Bug #1490916 reported by Ekaterina Chernova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Critical
Ekaterina Chernova

Bug Description

Django 1.8 currently is the latest requirement, horizon does support it, but murano dashboard is not.

Need to fix that

[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] Traceback (most recent call last):
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 170, in __call__
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] self.load_middleware()
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 52, in load_middleware
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] mw_instance = mw_class()
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] File "/usr/local/lib/python2.7/dist-packages/django/middleware/locale.py", line 24, in __init__
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] for url_pattern in get_resolver(None).url_patterns:
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 402, in url_patterns
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 396, in urlconf_module
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] self._urlconf_module = import_module(self.urlconf_name)
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] __import__(name)
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/urls.py", line 36, in <module>
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] url(r'', include(horizon.urls)),
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] File "/usr/local/lib/python2.7/dist-packages/django/conf/urls/__init__.py", line 34, in include
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module)
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line 226, in inner
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] self._setup()
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line 359, in _setup
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] self._wrapped = self._setupfunc()
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/base.py", line 814, in url_patterns
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] return self._urls()[0]
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/base.py", line 849, in _urls
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] include(dash._decorated_urls)))
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/base.py", line 525, in _decorated_urls
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] include(panel._decorated_urls)))
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/base.py", line 298, in _decorated_urls
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] urlpatterns = self._get_default_urlpatterns()
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/base.py", line 107, in _get_default_urlpatterns
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] urls_mod = import_module('.urls', package_string)
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 45, in import_module
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] __import__(name)
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] File "/opt/stack/murano-dashboard/muranodashboard/packages/urls.py", line 17, in <module>
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] from muranodashboard.packages import views
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] File "/opt/stack/murano-dashboard/muranodashboard/packages/views.py", line 28, in <module>
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] from formtools.wizard import views as wizard_views
[Tue Sep 01 09:39:46 2015] [error] [client 172.18.85.112] ImportError: No module named formtools.wizard

Tags: dashboard gate
tags: added: dashboard gate
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-dashboard (master)

Fix proposed to branch: master
Review: https://review.openstack.org/219224

Changed in murano:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-dashboard (master)

Reviewed: https://review.openstack.org/219224
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=e1874fc954e9743c6aeef05822748740fc7abdb0
Submitter: Jenkins
Branch: master

commit e1874fc954e9743c6aeef05822748740fc7abdb0
Author: Ekaterina Chernova <email address hidden>
Date: Tue Sep 1 13:33:32 2015 +0300

    Add django-formtools to requirements

    Formtools was moved to a separate module.

    Change-Id: I976be19f0c2e257cd11bf51ae5382c6cb9cb4381
    Closes-Bug: #1490916

Changed in murano:
status: In Progress → Fix Committed
Changed in murano:
status: Fix Committed → Fix Released
Changed in murano:
milestone: liberty-3 → 1.0.0
Changed in murano:
milestone: 1.0.0 → 1.0.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.