No error's reported if heat stack creation/update fails

Bug #1369722 reported by Steve McLellan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Stan Lagun

Bug Description

If heat stack creation fails, there's no indication available why, other than looking at the heat resource list. It looks like it would be reasonably simple to examine the stack_status_reason from heat stack-show and use that, or in the instance of an exception from heatclient, use the heat client exception. This could then appear in the deployment history and/or the last status update field.

Changed in murano:
status: New → Confirmed
importance: Undecided → High
milestone: none → juno-rc1
Changed in murano:
assignee: nobody → Stan Lagun (slagun)
Revision history for this message
Stan Lagun (slagun) wrote :

Actually Heat errors are reported. Heat python-client throw exceptions with meaningful messages that are caught at environment level and reported to API/dashboard. To see them you need to go to Environments -> %your_env% - > Deployment History tab -> Show details -> Logs tab. On attached screenshot you can see how it looks in my browser. There is definitely a problem with dashboard usability though

Changed in murano:
status: Confirmed → Invalid
Revision history for this message
Stan Lagun (slagun) wrote :

After a further research I saw that this works only with errors that caught by Heat stack validation code and the reason for deployment-time errors are not shown

Changed in murano:
status: Invalid → In Progress
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/124426

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/124426
Committed: https://git.openstack.org/cgit/stackforge/murano/commit/?id=f901e9acfa4d571283134a863ca68ff34819138d
Submitter: Jenkins
Branch: master

commit f901e9acfa4d571283134a863ca68ff34819138d
Author: Stan Lagun <email address hidden>
Date: Fri Sep 26 18:47:47 2014 +0400

    No error's reported if heat stack creation/update fails

    Adds error status reason text to exception message that is raised
    when Heat stack create/update fails

    Also disables stack rollback for consistency (otherwise if error happens during
    stack creation it silently disappears and no reason provided)

    Change-Id: Ia4366cba486e9ce4c5ae35ecb3e042bbf5f7ef3d
    Closes-Bug: #1369722

Changed in murano:
status: In Progress → Fix Committed
Changed in murano:
status: Fix Committed → Fix Released
Changed in murano:
milestone: juno-rc1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.