Public bug reported: 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 | +--------------------------------------+------+---------+------------+-------------+------------------+ ** Affects: nova Importance: Undecided Assignee: Andrew Boik (drewboik) Status: In Progress ** Changed in: nova Assignee: (unassigned) => Andrew Boik (drewboik) -- 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): In Progress 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp