on Component tab throw error 500 if click on name of application that is not deployed yet.

Bug #1655769 reported by Jose Phillips
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
In Progress
Undecided
Jose Phillips

Bug Description

Recent change on tab.py cause a error when the instance is on the state
Deploying,Ready for deploy or Deploy Failed.

Note:Just happend when is a Intance not a application.

Changed in murano:
assignee: nobody → Jose Phillips (jose-phillips)
summary: - on Component tab throw error 500 if click on name of application is not
- deployed yet.
+ on Component tab throw error 500 if click on name of application that is
+ not deployed yet.
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-dashboard (master)

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

Changed in murano:
status: New → In Progress
Changed in murano:
assignee: Jose Phillips (jose-phillips) → Felipe Monteiro (fm577c)
Changed in murano:
assignee: Felipe Monteiro (fm577c) → Jose Phillips (jose-phillips)
Revision history for this message
zhurong (zhu-rong) wrote :

Could you provider the exception Traceback?

Revision history for this message
Jose Phillips (jose-phillips) wrote :

KeyError at /app-catalog/eccff179c46b45d794cf5caca5b35e51/27be7980-b873-40eb-9d61-5a7a857bea63/
'openstackId'
Request Method: GET
Request URL: http://172.16.10.20/dashboard/app-catalog/eccff179c46b45d794cf5caca5b35e51/27be7980-b873-40eb-9d61-5a7a857bea63/
Django Version: 1.8.17
Exception Type: KeyError
Exception Value:
'openstackId'
Exception Location: /opt/stack/murano-dashboard/muranodashboard/environments/tabs.py in get_instance_and_stack, line 58
Python Executable: /usr/bin/python
Python Version: 2.7.12
Python Path:
['/opt/stack/horizon',
 '/opt/stack/horizon',
 '/opt/stack/keystone',
 '/opt/stack/glance',
 '/opt/stack/cinder',
 '/opt/stack/neutron',
 '/opt/stack/nova',
 '/opt/stack/murano',
 '/opt/stack/murano-dashboard',
 '/opt/stack/heat',
 '/opt/stack/horizon',
 '/opt/stack/tempest',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/opt/stack/horizon/openstack_dashboard']
Server time: Tue, 7 Feb 2017 09:38:16 +0000

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.