yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #15931
[Bug 1329192] [NEW] nova can not stop a vm when using fake driver
Public bug reported:
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-664b-4aff-bf9e-fdad35cc7a9d | test | ACTIVE | - | Running | test-net=55.0.0.125 |
+----------------------------------------------+-------+------------+--------------+--------------+------------------------+
(3) Stop this instance with "nova stop" command
$> nova stop test
$> nova list
+----------------------------------------------+-------+------------+--------------+--------------+------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+----------------------------------------------+-------+------------+--------------+--------------+------------------------+
| 23f4abf8-664b-4aff-bf9e-fdad35cc7a9d | test | SHUTOFF | - | Running | test-net=55.0.0.125 |
+----------------------------------------------+-------+------------+--------------+--------------+------------------------+
(4) We can see the power state is still "Running", while it should be
“Showdown".
** Affects: nova
Importance: Undecided
Status: New
--
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/1329192
Title:
nova can not stop a vm when using fake driver
Status in OpenStack Compute (Nova):
New
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-664b-4aff-bf9e-fdad35cc7a9d | test | ACTIVE | - | Running | test-net=55.0.0.125 |
+----------------------------------------------+-------+------------+--------------+--------------+------------------------+
(3) Stop this instance with "nova stop" command
$> nova stop test
$> nova list
+----------------------------------------------+-------+------------+--------------+--------------+------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+----------------------------------------------+-------+------------+--------------+--------------+------------------------+
| 23f4abf8-664b-4aff-bf9e-fdad35cc7a9d | test | SHUTOFF | - | Running | test-net=55.0.0.125 |
+----------------------------------------------+-------+------------+--------------+--------------+------------------------+
(4) We can see the power state is still "Running", while it should be
“Showdown".
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1329192/+subscriptions
Follow ups
References