Error during interconnection with dashboard after last client update

Bug #1355133 reported by Ekaterina Chernova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-muranoclient
Fix Released
High
Ekaterina Chernova

Bug Description

1) Go to the Application catalog
2) Try to create ann Application with Quick deploy button

See the traceback in the log

 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, in get_response
[Mon Aug 11 08:32:45 2014] [error] response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Mon Aug 11 08:32:45 2014] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", line 36, in dec
[Mon Aug 11 08:32:45 2014] [error] return view_func(request, *args, **kwargs)
[Mon Aug 11 08:32:45 2014] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", line 52, in dec
[Mon Aug 11 08:32:45 2014] [error] return view_func(request, *args, **kwargs)
[Mon Aug 11 08:32:45 2014] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", line 36, in dec
[Mon Aug 11 08:32:45 2014] [error] return view_func(request, *args, **kwargs)
[Mon Aug 11 08:32:45 2014] [error] File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 69, in view
[Mon Aug 11 08:32:45 2014] [error] return self.dispatch(request, *args, **kwargs)
[Mon Aug 11 08:32:45 2014] [error] File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 87, in dispatch
[Mon Aug 11 08:32:45 2014] [error] return handler(request, *args, **kwargs)
[Mon Aug 11 08:32:45 2014] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tabs/views.py", line 71, in get
[Mon Aug 11 08:32:45 2014] [error] context = self.get_context_data(**kwargs)
[Mon Aug 11 08:32:45 2014] [error] File "/opt/stack/murano-dashboard/muranodashboard/catalog/views.py", line 537, in get_context_data
[Mon Aug 11 08:32:45 2014] [error] context = super(AppDetailsView, self).get_context_data(**kwargs)
[Mon Aug 11 08:32:45 2014] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tabs/views.py", line 56, in get_context_data
[Mon Aug 11 08:32:45 2014] [error] exceptions.handle(self.request)
[Mon Aug 11 08:32:45 2014] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/exceptions.py", line 334, in handle
[Mon Aug 11 08:32:45 2014] [error] six.reraise(exc_type, exc_value, exc_traceback)
[Mon Aug 11 08:32:45 2014] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tabs/views.py", line 54, in get_context_data
[Mon Aug 11 08:32:45 2014] [error] context["tab_group"].load_tab_data()
[Mon Aug 11 08:32:45 2014] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tabs/base.py", line 122, in load_tab_data
[Mon Aug 11 08:32:45 2014] [error] exceptions.handle(self.request)
[Mon Aug 11 08:32:45 2014] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/exceptions.py", line 334, in handle
[Mon Aug 11 08:32:45 2014] [error] six.reraise(exc_type, exc_value, exc_traceback)
[Mon Aug 11 08:32:45 2014] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tabs/base.py", line 119, in load_tab_data
[Mon Aug 11 08:32:45 2014] [error] tab._data = tab.get_context_data(self.request)
[Mon Aug 11 08:32:45 2014] [error] File "/opt/stack/murano-dashboard/muranodashboard/catalog/tabs.py", line 52, in get_context_data
[Mon Aug 11 08:32:45 2014] [error] self._get_requirements()
[Mon Aug 11 08:32:45 2014] [error] File "/opt/stack/murano-dashboard/muranodashboard/catalog/tabs.py", line 56, in _get_requirements
[Mon Aug 11 08:32:45 2014] [error] forms = services.get_app_forms(self.request, {'app_id': self.app.id})
[Mon Aug 11 08:32:45 2014] [error] File "/opt/stack/murano-dashboard/muranodashboard/dynamic_ui/services.py", line 163, in get_app_forms
[Mon Aug 11 08:32:45 2014] [error] app = import_app(request, kwargs.get('app_id'))
[Mon Aug 11 08:32:45 2014] [error] File "/opt/stack/murano-dashboard/muranodashboard/dynamic_ui/services.py", line 135, in import_app
[Mon Aug 11 08:32:45 2014] [error] ui_desc = pkg_api.get_app_ui(request, app_id)
[Mon Aug 11 08:32:45 2014] [error] File "/opt/stack/murano-dashboard/muranodashboard/common/cache.py", line 72, in __inner
[Mon Aug 11 08:32:45 2014] [error] content = func(request, app_id)
[Mon Aug 11 08:32:45 2014] [error] File "/opt/stack/murano-dashboard/muranodashboard/api/packages.py", line 93, in get_app_ui
[Mon Aug 11 08:32:45 2014] [error] return api.muranoclient(request).packages.get_ui(app_id, make_loader_cls())
[Mon Aug 11 08:32:45 2014] [error] File "/opt/stack/python-muranoclient/muranoclient/v1/packages.py", line 138, in get_ui
[Mon Aug 11 08:32:45 2014] [error] response, iterator = self.api.raw_request('GET', url)
[Mon Aug 11 08:32:45 2014] [error] ValueError: too many values to unpack

Changed in murano:
status: New → Confirmed
Changed in murano:
assignee: nobody → Ekaterina Chernova (efedorova)
importance: Undecided → Critical
milestone: none → juno-3
Changed in murano:
importance: Critical → High
Changed in murano:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-muranoclient (master)

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

Changed in murano:
assignee: Ekaterina Chernova (efedorova) → Steve McLellan (sjmc7)
Steve McLellan (sjmc7)
Changed in murano:
assignee: Steve McLellan (sjmc7) → Ekaterina Chernova (efedorova)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-muranoclient (master)

Reviewed: https://review.openstack.org/113243
Committed: https://git.openstack.org/cgit/stackforge/python-muranoclient/commit/?id=aa65a8cbe414b80a47f4da723a557c7b9d9f4bbb
Submitter: Jenkins
Branch: master

commit aa65a8cbe414b80a47f4da723a557c7b9d9f4bbb
Author: Ekaterina Fedorova <email address hidden>
Date: Mon Aug 11 16:29:44 2014 +0400

    Fix some calls after switch to 'requests'

    * Just one value is returned
    * 'status' response attribute is now called 'status_code'
    * Method log_http_response decoded requests content, which is unnessesary

    Change-Id: I6308b78bb40a547bdaef02f44d815eb482524b15
    Closes-Bug: #1355133

Changed in murano:
status: In Progress → Fix Committed
ruhe (ruhe)
affects: murano → python-muranoclient
Changed in python-muranoclient:
milestone: juno-3 → none
milestone: none → 0.5.4
summary: - [Muranoclient] Error during interconnection with dashboard after last
- client update
+ Error during interconnection with dashboard after last client update
ruhe (ruhe)
Changed in python-muranoclient:
status: Fix Committed → Fix Released
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.