Comment 5 for bug 1455529

Revision history for this message
Anastasia Kuznetsova (akuznetsova) wrote :

The same problem is appears after adding new feature that allows users to deploy environment via CLI.
Steps to reproduce:
1. create env via cli
2. create session for this env via cli
3. add apps to the env
4. deploy session

After deploy log in Web UI and go to the deployed env. Click on the service name:
Environment:

Request Method: GET
Request URL: http://host/dashboard/murano/12b4e0cb9f694826ac5d5401f44997b6/1f5b2888db0346a09346d8469e657427/

Django Version: 1.8.4
Python Version: 2.7.6
Installed Applications:
['openstack_dashboard.dashboards.project',
 'openstack_dashboard.contrib.sahara.content.data_processing',
 'openstack_dashboard.dashboards.admin',
 'openstack_dashboard.dashboards.identity',
 'openstack_dashboard.dashboards.settings',
 'muranodashboard',
 'openstack_dashboard',
 'django.contrib.contenttypes',
 'django.contrib.auth',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.humanize',
 'django_pyscss',
 'openstack_dashboard.django_pyscss_fix',
 'compressor',
 'horizon',
 'openstack_auth']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
 'horizon.middleware.HorizonMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'muranodashboard.middleware.ExceptionMiddleware')

Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
  132. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
  36. return view_func(request, *args, **kwargs)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
  52. return view_func(request, *args, **kwargs)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
  36. return view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py" in view
  71. return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch
  89. return handler(request, *args, **kwargs)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tabs/views.py" in get
  146. context = self.get_context_data(**kwargs)
File "/opt/stack/murano-dashboard/muranodashboard/environments/views.py" in get_context_data
  102. context = super(DetailServiceView, self).get_context_data(**kwargs)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py" in get_context_data
  107. context = super(MultiTableMixin, self).get_context_data(**kwargs)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tabs/views.py" in get_context_data
  56. exceptions.handle(self.request)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/exceptions.py" in handle
  372. six.reraise(exc_type, exc_value, exc_traceback)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tabs/views.py" in get_context_data
  54. context["tab_group"].load_tab_data()
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tabs/base.py" in load_tab_data
  128. exceptions.handle(self.request)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/exceptions.py" in handle
  372. six.reraise(exc_type, exc_value, exc_traceback)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tabs/base.py" in load_tab_data
  125. tab._data = tab.get_context_data(self.request)
File "/opt/stack/murano-dashboard/muranodashboard/environments/tabs.py" in get_context_data
  81. ('Type', service_data['?'][consts.DASHBOARD_ATTRS_KEY]['name']),

Exception Type: KeyError at /murano/12b4e0cb9f694826ac5d5401f44997b6/1f5b2888db0346a09346d8469e657427/
Exception Value: '_26411a1861294160833743e45d0eaad9'