yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02135
[Bug 1051881] Re: Failed Live Block Migration leaves with Inconsistent Instance Status
** Changed in: nova/folsom
Status: Fix Committed => Fix Released
--
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/1051881
Title:
Failed Live Block Migration leaves with Inconsistent Instance Status
Status in OpenStack Compute (Nova):
Fix Released
Status in OpenStack Compute (nova) folsom series:
Fix Released
Bug description:
I have a master and slave devstack installation. As I issued a live
block migrate to an invalid host, the status of the Instance was
changed to "Migrating"
CONFIGURATION:
stack@DevStackOSDomU:~$ less /etc/nova/nova.conf | grep compute_driver
compute_driver=xenapi.XenAPIDriver
STEPS TO REPRODUCE:
1.) You have a server
stack@DevStackOSDomU:~/devstack$ nova list
+--------------------------------------+------+--------+------------------+
| ID | Name | Status | Networks |
+--------------------------------------+------+--------+------------------+
| 083a1d11-22f9-4e32-b476-21412b8bd725 | asd | ACTIVE | private=10.0.0.2 |
2.) And multiple compute resources
stack@DevStackOSDomU:~/devstack$ nova-manage service list
Binary Host Zone Status State
nova-compute DevStackOSDomU nova enabled :-)
...
nova-compute DevStackComputeSlave nova enabled :-)
3.) Server is running on DevStackOSDomU:
+-------------------------------------+------------------...
| Property | Value
+-------------------------------------+------------------...
...
| OS-EXT-SRV-ATTR:host | DevStackOSDomU
...
4.) You live migrate the server to an invalid host:
stack@DevStackOSDomU:~/devstack$ nova live-migration 083a1d11-22f9-4e32-b476-21412b8bd725 SomeHostThatDoesNotExist --block-migrate
5.) You get an error as expected:
...
ComputeHostNotFound: Compute host SomeHostThatDoesNotExist could not be found.
(HTTP 400) (Request-ID: req-0dbf7ad3-c45b-4924-aa3d-9b62edd95fd0)
6.) But the servers state is changed to "MIGRATING":
stack@DevStackOSDomU:~/devstack$ nova list
+--------------------------------------+------+-----------+------------------+
| ID | Name | Status | Networks |
+--------------------------------------+------+-----------+------------------+
| 083a1d11-22f9-4e32-b476-21412b8bd725 | asd | MIGRATING | private=10.0.0.2 |
+--------------------------------------+------+-----------+------------------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1051881/+subscriptions