Environment hangs in "Deleting" status until page is reloaded

Bug #1481474 reported by Kirill Zaitsev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Medium
Kirill Zaitsev
Kilo
New
Undecided
Unassigned
Liberty
Fix Released
Medium
Kirill Zaitsev

Bug Description

Steps to reproduce: 1. Log in WebUI 2. Import some Murano application 3. Create Murano environment 4. Add imported application to the created environment 5. Deploy environment, wait for finish 6. Select deployed environment, click on "Delete environment" and stay on this page Expected result: Selected environment will be deleted and will disappear from the list Actual result: Environment is in "Deleting" state. It disappears from the list only after reloading the page.

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/209515

Changed in murano:
assignee: nobody → Kirill Zaitsev (kzaitsev)
status: New → In Progress
no longer affects: murano/kilo
tags: added: kilo-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-dashboard (master)

Reviewed: https://review.openstack.org/209515
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=32dea0b2fe08cbfa1f1ee58831bd60d94f4fdd9d
Submitter: Jenkins
Branch: master

commit 32dea0b2fe08cbfa1f1ee58831bd60d94f4fdd9d
Author: Kirill Zaitsev <email address hidden>
Date: Wed Aug 5 16:12:11 2015 +0300

    Return 404 to ajax environment update table call

    Before a 404 exception from api was not properly handled and
    returned 500 error to dashboard ajax call. This resulted in a deleteing
    environment row being stuck until page reload.

    Thi patch throws django Http404 in case the row has been deleted
    successfully and let's other exception to be handled by the universal
    handler. Also updates the handler to work with non-deprecated version of
    exceptions from api calls.

    Change-Id: Iea0a7ebe8589a064da082ceaabd37dd937ac1a5b
    Closes-Bug: #1481474

Changed in murano:
status: In Progress → Fix Committed
Changed in murano:
status: Fix Committed → Fix Released
Changed in murano:
milestone: liberty-3 → 1.0.0
Changed in murano:
milestone: 1.0.0 → mitaka-1
status: Fix Released → Fix Committed
no longer affects: murano/mitaka
Changed in murano:
milestone: mitaka-1 → 1.0.0
status: New → Fix Released
Changed in murano:
milestone: 1.0.0 → 1.0.1
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.