Non-informative error message when payload is a list

Bug #1591961 reported by Alexey Khivin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Opinion
Low
Unassigned

Bug Description

Tried to declare a method and missed the Body tag.

Got python exception without any information about a position of error (nor class name, nor file, nor the line or column)

http://paste.openstack.org/show/514141/

Would be better to tell user the exact place and the reason of an error

Alexey Khivin (akhivin)
description: updated
description: updated
summary: - Non-informative error message when 'Body' tag been missed
+ Non-informative error message when 'Body' tag is missed
Changed in murano:
importance: Undecided → Low
milestone: none → newton-2
Changed in murano:
assignee: nobody → Khayam Gondal (khayam-gondal)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

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

Changed in murano:
status: New → In Progress
Revision history for this message
Khayam Gondal (khayamgondal) wrote : Re: Non-informative error message when 'Body' tag is missed

Hi Alexey Khivin, Can you tell me how to reproduce this error.

Revision history for this message
Valerii Kovalchuk (vakovalchuk) wrote :

Khayam, I believe you may take any class from any murano app, remove the `Body` word from the `Deploy` method , and try to deploy the app. Like here: https://github.com/openstack/murano-apps/blob/master/ApacheHTTPServer/package/Classes/ApacheHttpServer.yaml#L40

Changed in murano:
milestone: newton-2 → newton-3
Changed in murano:
milestone: newton-3 → newton-rc1
Changed in murano:
milestone: newton-rc1 → newton-rc2
Changed in murano:
milestone: newton-rc2 → ocata-1
Changed in murano:
milestone: 3.1.0 → pike-2
Changed in murano:
status: In Progress → Opinion
summary: - Non-informative error message when 'Body' tag is missed
+ Non-informative error message when payload is a list
Changed in murano:
assignee: Khayam Gondal (khayam-gondal) → nobody
tags: added: low-hanging-fruit
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on murano (master)

Change abandoned by Kirill Zaitsev (<email address hidden>) on branch: master
Review: https://review.openstack.org/329867

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.