[murano] Environment hangs in "Deleting" status until page is reloaded

Bug #1481428 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
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.

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

Tags: murano
summary: - [murano] Environment hang in "Deleting" status until page is reloaded
+ [murano] Environment hangs in "Deleting" status until page is reloaded
Changed in mos:
assignee: MOS Murano (mos-murano) → Kirill Zaitsev (kzaitsev)
status: New → Confirmed
assignee: Kirill Zaitsev (kzaitsev) → MOS Murano (mos-murano)
description: updated
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/murano-dashboard (openstack-ci/fuel-7.0/2015.1.0)

Fix proposed to branch: openstack-ci/fuel-7.0/2015.1.0
Change author: Kirill Zaitsev <email address hidden>
Review: https://review.fuel-infra.org/10144

Changed in mos:
status: Confirmed → In Progress
assignee: MOS Murano (mos-murano) → Kirill Zaitsev (kzaitsev)
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/murano-dashboard (openstack-ci/fuel-7.0/2015.1.0)

Reviewed: https://review.fuel-infra.org/10144
Submitter: mos-infra-ci <>
Branch: openstack-ci/fuel-7.0/2015.1.0

Commit: 9f903df43620581bfad6acd1cb48377ea2f0b0a6
Author: Kirill Zaitsev <email address hidden>
Date: Thu Aug 6 10:47:52 2015

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: #1481428

Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Kuznetsova (akuznetsova) wrote :

Verified on ISO:
[root@fuel ~]# cat /etc/nailgun/version.yaml
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "7.0"
  openstack_version: "2015.1.0-7.0"
  api: "1.0"
  build_number: "286"
  build_id: "286"
  nailgun_sha: "5c33995a2e6d9b1b8cdddfa2630689da5084506f"
  python-fuelclient_sha: "1ce8ecd8beb640f2f62f73435f4e18d1469979ac"
  fuel-agent_sha: "082a47bf014002e515001be05f99040437281a2d"
  fuel-nailgun-agent_sha: "d7027952870a35db8dc52f185bb1158cdd3d1ebd"
  astute_sha: "8283dc2932c24caab852ae9de15f94605cc350c6"
  fuel-library_sha: "ff63a0bbc93a3a0fb78215c2fd0c77add8dfe589"
  fuel-ostf_sha: "1f08e6e71021179b9881a824d9c999957fcc7045"
  fuelmain_sha: "9ab01caf960013dc882825dc9b0e11ccf0b81cb0"

Changed in mos:
status: Fix Committed → Fix Released
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.