yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #04604
[Bug 1212496] Re: vm_state and task_state were not updated after deleting vm
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => havana-3
--
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/1212496
Title:
vm_state and task_state were not updated after deleting vm
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Before deleting:
$ nova list
+--------------------------------------+------+--------+------------+-------------+------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+------------------+
| bbb92836-0e73-49b0-99cd-268b3bad05ea | vm | ACTIVE | None | Running | private=10.0.0.3 |
+--------------------------------------+------+--------+------------+-------------+------------------+
mysql> select id,vm_state,task_state,deleted from instances;
+----+----------+------------+---------+
| id | vm_state | task_state | deleted |
+----+----------+------------+---------+
| 1 | active | NULL | 0 |
+----+----------+------------+---------+
1 row in set (0.00 sec)
After deleting:
hacker@ubuntu-devstack:~/devstack$ nova delete vm
hacker@ubuntu-devstack:~/devstack$ nova list
+----+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+----+------+--------+------------+-------------+----------+
+----+------+--------+------------+-------------+----------+
mysql> select id,vm_state,task_state,deleted from instances;
+----+----------+------------+---------+
| id | vm_state | task_state | deleted |
+----+----------+------------+---------+
| 1 | active | deleting | 1 |
+----+----------+------------+---------+
1 row in set (0.00 sec)
vm_state should be 'deleted', task_state should be 'NULL'
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1212496/+subscriptions