couldn't delete instance in error state

Bug #944853 reported by Roman Sokolkov on 2012-03-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
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) on 2012-03-02
Changed in horizon:
status: New → Confirmed
importance: Undecided → High
milestone: none → essex-rc1
Andy Chong (andycjw) wrote :

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

Andy Chong (andycjw) on 2012-03-05
Changed in horizon:
assignee: nobody → Andy Chong (andycjw)
Roman Sokolkov (rsokolkov) wrote :

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

Andy Chong (andycjw) wrote :

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

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

Changed in horizon:
status: Confirmed → In Progress
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

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.

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

Andy Chong (andycjw) on 2012-03-08
Changed in horizon:
assignee: Andy Chong (andycjw) → nobody
Devin Carlen (devcamcar) on 2012-03-08
Changed in horizon:
assignee: nobody → Andy Chong (andycjw)
Andy Chong (andycjw) wrote :

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

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) on 2012-03-20
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in horizon:
milestone: essex-rc1 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers