R3.1 mitaka build 6: Horizon unable to launch

Bug #1606803 reported by sundarkh
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.1
Fix Committed
Critical
Dheeraj Gautam
Trunk
Fix Committed
Critical
Dheeraj Gautam

Bug Description

R3.1 mitaka build 6: Horizon unable to launch for the node (which is brought by ServerManager)

1) Bring up a openstack node using ServerManager
2) Try to open horizon page, it hits internal server error
3) Apache2 log complains of : ImportError: No module named contrail_openstack_dashboard
4) Horizon is able to launch for openstack node which is brought by fab

Apache2 log
------------

[Wed Jul 27 07:31:42.893687 2016] [:error] [pid 23793:tid 139702640264960] Could not process panel theme_preview: Dashboard with slug "developer" is not registered.
[Wed Jul 27 07:31:42.896366 2016] [:error] [pid 23793:tid 139702640264960] Could not process panel theme_preview: Dashboard with slug "developer" is not registered.
[Wed Jul 27 07:31:42.896471 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] mod_wsgi (pid=23793): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Wed Jul 27 07:31:42.896496 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] Traceback (most recent call last):
[Wed Jul 27 07:31:42.896508 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 170, in __call__
[Wed Jul 27 07:31:42.896526 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] self.load_middleware()
[Wed Jul 27 07:31:42.896534 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 52, in load_middleware
[Wed Jul 27 07:31:42.896544 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] mw_instance = mw_class()
[Wed Jul 27 07:31:42.896551 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] File "/usr/lib/python2.7/dist-packages/django/middleware/locale.py", line 24, in __init__
[Wed Jul 27 07:31:42.896561 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] for url_pattern in get_resolver(None).url_patterns:
[Wed Jul 27 07:31:42.896568 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 401, in url_patterns
[Wed Jul 27 07:31:42.896587 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
[Wed Jul 27 07:31:42.896594 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 395, in urlconf_module
[Wed Jul 27 07:31:42.896604 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] self._urlconf_module = import_module(self.urlconf_name)
[Wed Jul 27 07:31:42.896610 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
[Wed Jul 27 07:31:42.896620 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] __import__(name)
[Wed Jul 27 07:31:42.896626 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/urls.py", line 36, in <module>
[Wed Jul 27 07:31:42.896637 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] url(r'', include(horizon.urls)),
[Wed Jul 27 07:31:42.896643 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] File "/usr/lib/python2.7/dist-packages/django/conf/urls/__init__.py", line 34, in include
[Wed Jul 27 07:31:42.896653 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module)
[Wed Jul 27 07:31:42.896660 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 225, in inner
[Wed Jul 27 07:31:42.896669 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] self._setup()
[Wed Jul 27 07:31:42.896675 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 365, in _setup
[Wed Jul 27 07:31:42.896684 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] self._wrapped = self._setupfunc()
[Wed Jul 27 07:31:42.896691 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/base.py", line 825, in url_patterns
[Wed Jul 27 07:31:42.896702 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] return self._urls()[0]
[Wed Jul 27 07:31:42.896708 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/base.py", line 847, in _urls
[Wed Jul 27 07:31:42.896719 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] mod = import_module(package)
[Wed Jul 27 07:31:42.896725 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
[Wed Jul 27 07:31:42.896734 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] __import__(name)

[Wed Jul 27 07:31:42.896746 2016] [:error] [pid 23793:tid 139702640264960] [remote 172.29.245.67:28436] ImportError: No module named contrail_openstack_dashboard

Changed in juniperopenstack:
milestone: r3.1.0.0-fcs → none
tags: added: blocker
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1

Review in progress for https://review.opencontrail.org/22731
Submitter: Dheeraj Gautam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/22735
Submitter: Dheeraj Gautam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1

Review in progress for https://review.opencontrail.org/22731
Submitter: Dheeraj Gautam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/22735
Committed: http://github.org/Juniper/contrail-puppet/commit/a9c87afa3d4cd059b593f9d8451354d551253a8b
Submitter: Zuul
Branch: master

commit a9c87afa3d4cd059b593f9d8451354d551253a8b
Author: Dheeraj Gautam <email address hidden>
Date: Mon Aug 1 14:18:16 2016 -0700

SM-Mitaka: Update local_settings.py for contrail_plugin

Closes-Bug: #1606803

Customization module for mitaka horizon to be disabled for now.

Change-Id: Ia7860771f1236c2f1b22d7239a53ca5f6997ee2f

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/22731
Committed: http://github.org/Juniper/contrail-puppet/commit/5255f0da92695a2cf0e5d1db21f4f38b8dba3845
Submitter: Zuul
Branch: R3.1

commit 5255f0da92695a2cf0e5d1db21f4f38b8dba3845
Author: Dheeraj Gautam <email address hidden>
Date: Mon Aug 1 14:18:16 2016 -0700

SM-Mitaka: Update local_settings.py for contrail_plugin

Closes-Bug: #1606803

Customization module for mitaka horizon to be disabled for now.

Change-Id: Ia7860771f1236c2f1b22d7239a53ca5f6997ee2f

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1

Review in progress for https://review.opencontrail.org/22982
Submitter: Dheeraj Gautam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/22982
Committed: http://github.org/Juniper/contrail-puppet/commit/430c6aee5d816bd430dc73dd1ff1711c58efa738
Submitter: Zuul
Branch: R3.1

commit 430c6aee5d816bd430dc73dd1ff1711c58efa738
Author: Dheeraj Gautam <email address hidden>
Date: Fri Aug 5 14:26:40 2016 -0700

SM-Mitaka: add back customization for horizon

Closes-Bug: #1606803

now contrail-horizon customization module is available, so HORIZON_CONFIG
could be added back for that.

Change-Id: I10c2f3ab73b47f694e8d70d53b69ab5e68019a1b

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/23077
Submitter: Dheeraj Gautam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/23077
Committed: http://github.org/Juniper/contrail-puppet/commit/e6932710af0b2eaba7766acde8d3204ba3f793e9
Submitter: Zuul
Branch: master

commit e6932710af0b2eaba7766acde8d3204ba3f793e9
Author: Dheeraj Gautam <email address hidden>
Date: Fri Aug 5 14:26:40 2016 -0700

SM-Mitaka: add back customization for horizon

Closes-Bug: #1606803

now contrail-horizon customization module is available, so HORIZON_CONFIG
could be added back for that.

Change-Id: I10c2f3ab73b47f694e8d70d53b69ab5e68019a1b

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.