Bug 851261 - Status and Power status not updated after "os-stop" action
Summary: Status and Power status not updated after "os-stop" action
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 1.0 (Essex)
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Julie Pichon
QA Contact: Yaniv Kaul
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-23 15:23 UTC by Jaroslav Henner
Modified: 2016-04-26 15:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-14 15:17:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jaroslav Henner 2012-08-23 15:23:49 UTC
Description of problem:


Version-Release number of selected component (if applicable):
Puddle Essex 2012-08-10.3

How reproducible:
always

Steps to Reproduce:
1. Have a server
2. Stop it using:

echo '{"os-stop": null}' \
| curl -H 'accept: application/json' \
       -H 'Content-Type: application/json' \
       -H 'X-Auth-Token: e9de9e0863d3474b8b20d3078a7c35b7' \
       --data @- \
'http://nova-api.lithium:8774/v2/77ee297e46894491b6836119608b2b1c/servers/2d6c3405-c59e-4593-8736-56c0d033f611/action'

3. Observe status in dashboard
  
Actual results:
Status: Stopped, hourglass
Power State: Running, after some time it switches to No State

Expected results:
Stopped, no hourglass, SHUTOFF

Additional info:
Severity high because it causes long waiting for timeout in Tempest tests

Comment 2 Jaroslav Henner 2012-08-23 15:31:16 UTC
Note that the server really shuts down -- virsh list gets empty and it disappears from virt-manager, but the power status is not updated.

Comment 3 Alan Pevec 2012-11-05 16:42:20 UTC
> 3. Observe status in dashboard
So is this a Dashboard issue, not Nova?

Comment 4 Alan Pevec 2012-12-17 10:22:54 UTC
Please try with latest python-django-horizon-2012.2.1-2.el6ost

Comment 5 Julie Pichon 2013-01-14 15:17:15 UTC
Using Folsom / python-django-horizon-2012.2.1-2.el6ost, if I run the curl command in the description, the instance status and power state in the dashboard immediately switch to "shutoff" and "shutdown".


Note You need to log in before you can comment on or make changes to this bug.