Unable to Shut Off Instance while it is Paused

Bug #1372620 reported by Amogh
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Krishna C Challa

Bug Description

1. Login to DevStack as admin user
2. Create the Instance and from Actions drop down click on "Pause Instance"
3. Observe that Instance is in Paused state.
4. From more Actions click on "Shut Off Instance" and confirm the PopUP.
5. Observe that "Error: Unable to shut off instance" is displayed.

Expected Result: Instance needs to shutoff properly, else Shutoff option needs to be removed when Instance is in "Paused State".

Revision history for this message
Amogh (amogh-r-mavinagidad) wrote :
Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

'nova stop' rejects stopping a paused VM. StopInstance 'allowed' method should not include the PAUSED state.

Changed in horizon:
status: New → Confirmed
importance: Undecided → Low
tags: added: low-hanging-fruit nova
Changed in horizon:
assignee: nobody → Chaitanya Challa (cvskchaitanya)
Changed in horizon:
status: Confirmed → 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/127717

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

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

commit d436de24040bc504ba66e3287076d775e154c82e
Author: Chaitanya Challa <email address hidden>
Date: Sat Oct 11 10:18:52 2014 +0530

    Avoid shutting off a paused VM instance

    Currently, "Shut Off Instance" option is enabled even on a paused VM instance
    which results in an error that says "Error: Unable to shut off instance".
    With this commit, we are removing the option to shut off a paused VM instance.

    Change-Id: I95da413a398632d9300333a4dbaf028b7c6a6f68
    Closes-Bug: #1372620

Changed in horizon:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in horizon:
milestone: none → kilo-1
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-1 → 2015.1.0
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.