couldn't delete instance in error state

Bug #944853 reported by Roman Sokolkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Andy Chong

Bug Description

1) When I try to delete instance in error status , horizon says "Info: Please select a row before taking that action."
2) instance in error state hasn't any actions, when I push on triangle near "edit instance"

But from nova client I could delete instance by
nova delete <id>

Devin Carlen (devcamcar)
Changed in horizon:
status: New → Confirmed
importance: Undecided → High
milestone: none → essex-rc1
Revision history for this message
Andy Chong (andycjw) wrote :

How do I replicate this? Is there a way to force an instance into error state?

Andy Chong (andycjw)
Changed in horizon:
assignee: nobody → Andy Chong (andycjw)
Revision history for this message
Roman Sokolkov (rsokolkov) wrote :

For example, I did instance with exceed of RAM and libvirt failed to allocate memory.

Revision history for this message
Andy Chong (andycjw) wrote :

Thanks, I am working on it right now, I think I know why this problem occurs

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

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

Item #2 from the bug report (regarding the actions dropdown) is now a separate ticket: https://bugs.launchpad.net/horizon/+bug/948397

Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

Also, left feedback on https://review.openstack.org/4907, and while I like what's going on there, it's not the fix needed for this issue. The larger problem here is that the terminate action isn't being allowed when the instance is in an error state, and that's separate from what's happening in the proposed patch.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Andy Chong (andycjw)
Changed in horizon:
assignee: Andy Chong (andycjw) → nobody
Devin Carlen (devcamcar)
Changed in horizon:
assignee: nobody → Andy Chong (andycjw)
Revision history for this message
Andy Chong (andycjw) wrote :

this is going to be fixed in https://review.openstack.org/5011 by Gabriel Hurley

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

Reviewed: https://review.openstack.org/5011
Committed: http://github.com/openstack/horizon/commit/07adf638eb57b3c6b81ef5180c956a1750013aa7
Submitter: Jenkins
Branch: master

commit 07adf638eb57b3c6b81ef5180c956a1750013aa7
Author: Gabriel Hurley <email address hidden>
Date: Tue Mar 6 19:34:20 2012 -0800

    Makes sure ajax-updated rows still get correct actions allowed.

    Also moved some logic that pertained to BatchAction from
    BaseAction to BatchAction where it belonged.

    Fixes bug 944853.

    Change-Id: I24f590f0b4320a0cc58d954398673a8fa75a49b6

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: essex-rc1 → 2012.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.