Orchestration: In-progress bar shown despite deletion complete

Bug #1243087 reported by Sandro Mathys
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Leandro Ignacio Costantino

Bug Description

With Heat, deleted stacks stick around for a while, in status DELETE_COMPLETE. Now in Horizon, the status is correctly shown as "Delete Complete", but in front of it the in-progress bar is always (and forever) shown. It should only be shown while deletion is actually in progress.

Revision history for this message
Sandro Mathys (red-trela) wrote :

So it seems the issue is actually that Heat is still listing the stacks that are in DELETE_COMPLETE status in a rarely seen bug. Usually, stacks with that status should not be listed anymore, so Horizon should _probably_ never get into this situation.

You might want to make sure with the Heat team that there are absolutely no cases where deleted stacks are ever listed and if so, ignore this issue and close the bug. Or handle the case just to be sure.

Revision history for this message
Leandro Ignacio Costantino (leandro-i-costantino) wrote :

This is still happening. I will propose a fix to handle this case.

Revision history for this message
Leandro Ignacio Costantino (leandro-i-costantino) wrote :

Current status screenshot

Revision history for this message
Leandro Ignacio Costantino (leandro-i-costantino) wrote :

Fix applied

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

Changed in horizon:
assignee: nobody → Leandro Ignacio Costantino (leandro-i-costantino)
status: New → In Progress
Revision history for this message
Leandro Ignacio Costantino (leandro-i-costantino) wrote :

Additional Note:

 if the stack is DELETE_COMPLETE it won't be listed anymore. But, if using the stack id to retrieve the information as the Ajax Update Row is doing right know the information is still available.

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

Reviewed: https://review.openstack.org/69131
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=a541f954a4c53c09fdccd32cb68e52ffc39fe2d0
Submitter: Jenkins
Branch: master

commit a541f954a4c53c09fdccd32cb68e52ffc39fe2d0
Author: Leandro I. Costantino <email address hidden>
Date: Sat Jan 25 10:13:38 2014 -0500

    Remove delete action and bar when stack is DELETE_COMPLETE.

    Heat is returning stack in DELETE_COMPLETE status. Beside that
    the table don't consider DELETE_COMPLETE status so the animation is
    always visible after deletion.

    As a side effect, the checkbox and delete (row action) button are enabled.

    This patch will remove the animation on DELETE_COMPLETE state and
    disable 'Delete' button and checkbox so it cannot be delete again
    by Table Delete action.

    Change-Id: Id9c8d34c99a4079d2afa7438353490bfaf91072b
    Closes-Bug: #1243087

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → icehouse-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-3 → 2014.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.