nova can not stop a vm when using fake driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Wishlist
|
Noel Nelson Dsouza |
Bug Description
When using fake driver, "nova stop" command did not change the instance's power state.
Steps to reproduce the bug:
(1) Config nova to use fake drive
vim /etc/nova/nova.conf
compute_driver = fake.FakeDriver
(2) Boot a VM
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 23f4abf8-
+------
(3) Stop this instance with "nova stop" command
$> nova stop test
$> nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 23f4abf8-
+------
(4) We can see the power state is still "Running", while it should be “Showdown".
Changed in nova: | |
assignee: | nobody → Feng Xi Yan (yanfengxi) |
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
status: | In Progress → Confirmed |
assignee: | Feng Xi Yan (yanfengxi) → nobody |
Changed in nova: | |
importance: | Undecided → Wishlist |
Changed in nova: | |
assignee: | nobody → Noel Nelson Dsouza (noelnelson) |
Fix proposed to branch: master /review. openstack. org/99825/
Review: https:/