WebUI: regression: exceptions in horizon with 'yaml.scanner'

Bug #1212185 reported by Timur Nurlygayanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Critical
Unassigned

Bug Description

Moved to https://bugs.launchpad.net/murano/+bug/1212185

*Steps to Reproduce:*
1. Install WebUI and login to horizon dashboard

*Observer Result:*
Error:
{code}
No module named yaml.scanner
{code}
(please see attached screenshot for more detailed information)

{code}
[Wed Aug 07 09:23:14 2013] [notice] Apache/2.2.22 (Ubuntu) mod_wsgi/3.4 Python/2.7.3 configured -- resuming normal operations
[Wed Aug 07 09:26:58 2013] [error] [client 172.18.78.30] File does not exist: /var/www/favicon.ico
[Wed Aug 07 13:27:08 2013] [error] ERROR:django.request:Internal Server Error: /horizon/
[Wed Aug 07 13:27:08 2013] [error] Traceback (most recent call last):
[Wed Aug 07 13:27:08 2013] [error] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 89, in get_response
[Wed Aug 07 13:27:08 2013] [error] response = middleware_method(request)
[Wed Aug 07 13:27:08 2013] [error] File "/usr/lib/python2.7/dist-packages/django/middleware/locale.py", line 21, in process_request
[Wed Aug 07 13:27:08 2013] [error] check_path = self.is_language_prefix_patterns_used()
[Wed Aug 07 13:27:08 2013] [error] File "/usr/lib/python2.7/dist-packages/django/middleware/locale.py", line 54, in is_language_prefix_patterns_used
[Wed Aug 07 13:27:08 2013] [error] for url_pattern in get_resolver(None).url_patterns:
[Wed Aug 07 13:27:08 2013] [error] File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 328, in url_patterns
[Wed Aug 07 13:27:08 2013] [error] patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
[Wed Aug 07 13:27:08 2013] [error] File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 323, in urlconf_module
[Wed Aug 07 13:27:08 2013] [error] self._urlconf_module = import_module(self.urlconf_name)
[Wed Aug 07 13:27:08 2013] [error] File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module
[Wed Aug 07 13:27:08 2013] [error] __import__(name)
[Wed Aug 07 13:27:08 2013] [error] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/urls.py", line 36, in <module>
[Wed Aug 07 13:27:08 2013] [error] url(r'', include(horizon.urls))
[Wed Aug 07 13:27:08 2013] [error] File "/usr/lib/python2.7/dist-packages/django/conf/urls/__init__.py", line 25, in include
[Wed Aug 07 13:27:08 2013] [error] patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module)
[Wed Aug 07 13:27:08 2013] [error] File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 184, in inner
[Wed Aug 07 13:27:08 2013] [error] self._setup()
[Wed Aug 07 13:27:08 2013] [error] File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 248, in _setup
[Wed Aug 07 13:27:08 2013] [error] self._wrapped = self._setupfunc()
[Wed Aug 07 13:27:08 2013] [error] File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 715, in url_patterns
[Wed Aug 07 13:27:08 2013] [error] return self._urls()[0]
[Wed Aug 07 13:27:08 2013] [error] File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 746, in _urls
[Wed Aug 07 13:27:08 2013] [error] url(r'^%s/' % dash.slug, include(dash._decorated_urls)))
[Wed Aug 07 13:27:08 2013] [error] File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 456, in _decorated_urls
[Wed Aug 07 13:27:08 2013] [error] url(r'^%s/' % panel.slug, include(panel._decorated_urls)))
[Wed Aug 07 13:27:08 2013] [error] File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 230, in _decorated_urls
[Wed Aug 07 13:27:08 2013] [error] urlpatterns = self._get_default_urlpatterns()
[Wed Aug 07 13:27:08 2013] [error] File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 83, in _get_default_urlpatterns
[Wed Aug 07 13:27:08 2013] [error] urls_mod = import_module('.urls', package_string)
[Wed Aug 07 13:27:08 2013] [error] File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module
[Wed Aug 07 13:27:08 2013] [error] __import__(name)
[Wed Aug 07 13:27:08 2013] [error] File "/usr/local/lib/python2.7/dist-packages/muranodashboard/panel/urls.py", line 17, in <module>
[Wed Aug 07 13:27:08 2013] [error] from views import IndexView, DeploymentDetailsView
[Wed Aug 07 13:27:08 2013] [error] File "/usr/local/lib/python2.7/dist-packages/muranodashboard/panel/views.py", line 30, in <module>
[Wed Aug 07 13:27:08 2013] [error] from tables import EnvironmentsTable
[Wed Aug 07 13:27:08 2013] [error] File "/usr/local/lib/python2.7/dist-packages/muranodashboard/panel/tables.py", line 23, in <module>
[Wed Aug 07 13:27:08 2013] [error] from muranodashboard.panel import api
[Wed Aug 07 13:27:08 2013] [error] File "/usr/local/lib/python2.7/dist-packages/muranodashboard/panel/api.py", line 23, in <module>
[Wed Aug 07 13:27:08 2013] [error] from muranodashboard.panel.services import get_service_name
[Wed Aug 07 13:27:08 2013] [error] File "/usr/local/lib/python2.7/dist-packages/muranodashboard/panel/services/__init__.py", line 18, in <module>
[Wed Aug 07 13:27:08 2013] [error] from yaml.scanner import ScannerError
[Wed Aug 07 13:27:08 2013] [error] ImportError: No module named yaml.scanner

{code}

Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Bug fixed in release-0.2

Changed in murano:
status: New → Fix Released
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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