[MURANO] [Plugins] Node Cellar App isn't quick deployed with 'NoneType' object has no attribute 'pop' error

Bug #1581573 reported by Mykola Stolyarenko
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Status tracked in 10.0.x
10.0.x
Invalid
High
Stan Lagun
9.x
Invalid
High
Stan Lagun

Bug Description

Bug Description

https://bugs.launchpad.net/murano/+bug/1581576

Detailed bug description:
Node Cellar App quick deploy isn't work. In horizon log - File "/usr/lib/python2.7/dist-packages/muranodashboard/dynamic_ui/services.py", line 154, in import_app
    app_version = ui_desc.pop('Version', version.LATEST_FORMAT_VERSION).

Log is attached

Steps to reproduce:
1) Configure env according to the video https://www.youtube.com/watch?v=TmygeLaCIOQ&feature=youtu.be and readme https://github.com/openstack/murano/blob/master/contrib/plugins/cloudify_plugin/README.rst

The two zip packages attached

2) Deploy Cloudify package

3) Try to deploy Node Cellar sample app

Expected results:
Deployment should be successful

Actual result:
Deployment finishes with Error: ERROR django.request Internal Server Error: /horizon/murano/catalog/quick-add/2b2bbc28086d4b9ca61a6338f92c4d88

Reproducibility:
Yes

Description of the environment:
ENVIRONMENT: MOS 9.0 ISO 305

2016-05-13 14:34:06,365 14309 ERROR django.request Internal Server Error: /horizon/murano/catalog/quick-add/2b2bbc28086d4b9ca61a6338f92c4d88
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 52, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/muranodashboard/catalog/views.py", line 234, in __inner
    return func(request, **kwargs)
  File "/usr/lib/python2.7/dist-packages/muranodashboard/catalog/views.py", line 174, in __inner
    return func(request, **kwargs)
  File "/usr/lib/python2.7/dist-packages/muranodashboard/catalog/views.py", line 225, in __inner
    return func(request, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/contrib/auth/decorators.py", line 22, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/muranodashboard/catalog/views.py", line 256, in quick_deploy
    do_redirect=True, drop_wm_form=True)
  File "/usr/lib/python2.7/dist-packages/muranodashboard/catalog/views.py", line 174, in __inner
    return func(request, **kwargs)
  File "/usr/lib/python2.7/dist-packages/muranodashboard/catalog/views.py", line 225, in __inner
    return func(request, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/contrib/auth/decorators.py", line 22, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/muranodashboard/catalog/views.py", line 247, in deploy
    do_redirect=do_redirect, drop_wm_form=drop_wm_form)
  File "/usr/lib/python2.7/dist-packages/muranodashboard/catalog/views.py", line 174, in __inner
    return func(request, **kwargs)
  File "/usr/lib/python2.7/dist-packages/muranodashboard/catalog/views.py", line 301, in view
    forms = initforms(request, kwargs)
  File "/usr/lib/python2.7/dist-packages/muranodashboard/dynamic_ui/services.py", line 221, in get_app_forms
    app = import_app(request, kwargs.get('app_id'))
  File "/usr/lib/python2.7/dist-packages/muranodashboard/dynamic_ui/services.py", line 154, in import_app
    app_version = ui_desc.pop('Version', version.LATEST_FORMAT_VERSION)
AttributeError: 'NoneType' object has no attribute 'pop'

Tags: area-murano
Revision history for this message
Mykola Stolyarenko (mstolyarenko) wrote :
tags: added: area-murano
Revision history for this message
Mykola Stolyarenko (mstolyarenko) wrote :
description: updated
description: updated
Revision history for this message
Stan Lagun (slagun) wrote :

Please see my comment in upstream bug. It is just your archive is incorrect

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.