yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #28154
[Bug 1392798] Re: Deleted instances show power state as 'Running'
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => kilo-2
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1392798
Title:
Deleted instances show power state as 'Running'
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
After deleting an instance and executing a `nova list --deleted`
command as an administrator, the Power State of the deleted instance
is still displayed as 'Running' and set to 1 in the database as well.
Steps to reproduce:
Boot an instance:
dboik@dboik-VirtualBox:~$ nova boot foo --flavor m1.tiny --image cirros-032-x86_64-uec
Wait for instance to finish building:
dboik@dboik-VirtualBox:~$ nova list
+--------------------------------------+------+--------+------------+-------------+------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+------------------+
| 2fed0daa-b083-43cf-9285-7364ce4852ce | foo | ACTIVE | - | Running | private=10.0.0.2 |
+--------------------------------------+------+--------+------------+-------------+------------------+
Delete the instance:
dboik@dboik-VirtualBox:~$ nova delete foo
Request to delete server foo has been accepted.
As an OpenStack administrator, list the deleted instances:
dboik@dboik-VirtualBox:~$ nova list --deleted
+--------------------------------------+------+---------+------------+-------------+------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+---------+------------+-------------+------------------+
| 2fed0daa-b083-43cf-9285-7364ce4852ce | foo | DELETED | - | Running | private=10.0.0.2 |
+--------------------------------------+------+---------+------------+-------------+------------------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1392798/+subscriptions
References