Spinner is stuck when deleting image in angularized panel

Bug #1704118 reported by Bence Romsics
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Lajos Katona

Bug Description

Reproduction:

 local_settings:
 ANGULAR_FEATURES={
     'images_panel': True,
     ...
     }

devstack commit b79531a9f96736225a8991052a0be5767c217377
horizon commit d5779eae0ad267533001cb7dae6ca7dbc5becb27

Go to detail page of an image eg: /ngdetails/OS::Glance::Image/90ccb1bf-1feb-4f49-8234-c6812c952131

Click delete image. After that the image is deleted though multiple UI errors can be seen:

1) The 'Please wait' spinner is stuck forever
2) A red toast is displayed: Error: Unable to retrieve the image
3) In the javascript console this error appears:
GET http://127.0.0.1:9000/api/glance/images/90ccb1bf-1feb-4f49-8234-c6812c952131/ 404 (Not Found)

Revision history for this message
Bence Romsics (bence-romsics) wrote :

Some of it is being fixed here: https://review.openstack.org/481468

Changed in horizon:
assignee: nobody → Lajos Katona (lajos-katona)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Lajos Katona (<email address hidden>) on branch: master
Review: https://review.openstack.org/481468
Reason: The patch (https://review.openstack.org/490868) solves the problem with using the getter for navigations.service getActivePanelUrl (from https://review.openstack.org/491346)

Ying Zuo (yingzuo)
Changed in horizon:
importance: Undecided → Medium
milestone: none → queens-1
Changed in horizon:
assignee: Lajos Katona (lajos-katona) → Shu Muto (shu-mutou)
Revision history for this message
Ying Zuo (yingzuo) wrote :

Here's the patch for this ticket: https://review.openstack.org/#/c/490868

Changed in horizon:
assignee: Shu Muto (shu-mutou) → Lajos Katona (lajos-katona)
Ying Zuo (yingzuo)
Changed in horizon:
milestone: queens-1 → queens-2
Ying Zuo (yingzuo)
Changed in horizon:
milestone: queens-2 → queens-3
Ying Zuo (yingzuo)
Changed in horizon:
milestone: queens-3 → queens-rc1
Ying Zuo (yingzuo)
Changed in horizon:
milestone: queens-rc1 → queens-rc2
Ying Zuo (yingzuo)
Changed in horizon:
milestone: queens-rc2 → rocky-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/490868
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=34732d262fcff8ac65dd92e66fd7ed5b92ddc61f
Submitter: Zuul
Branch: master

commit 34732d262fcff8ac65dd92e66fd7ed5b92ddc61f
Author: Lajos Katona <email address hidden>
Date: Fri Aug 4 15:25:15 2017 +0200

    Redirect back if deleting from image details

    If deleting from the image details view, the user stuck on an empty
    page, instead of redirecting back to the list of remaining images.

    Change-Id: I9a2f5b7325e037c4b57cd01afc2bbcfca51e6e83
    Closes-Bug: #1704118

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 14.0.0.0b1

This issue was fixed in the openstack/horizon 14.0.0.0b1 development milestone.

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.