yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #65603
[Bug 1452568] Re: nova allows to live-migrate instance from one availability zone to another
Closing an old bug, as it was fixed by
http://specs.openstack.org/openstack/nova-specs/specs/newton/implemented
/check-destination-on-migrations-newton.html
Now, if you provide a destination, we verify by calling the scheduler
for that target unless you provide an explicit "force" flag to the
migration call.
** Changed in: nova
Status: Confirmed => Won't Fix
--
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/1452568
Title:
nova allows to live-migrate instance from one availability zone to
another
Status in OpenStack Compute (nova):
Won't Fix
Bug description:
Nova allows to live migrate instance from one AZ to another:
Steps to reproduce:
1.boot instance with --availability-zone param
2. live migrate this instance on host located in another AZ, nova live-migration inst1 host2
If user specify host during live-migration scheduler doen't make any checks:
Result: instance migrate successfully, but information in instances table in db doesn't updates
mysql> select hostname, availability_zone from instances where deleted=false;
+----------+-------------------+
| hostname | availability_zone |
+----------+-------------------+
| demo | alice-zone |
+----------+-------------------+
while nova show command show real AZ info:
root@node-7:~# nova show demo
+--------------------------------------+--------------------------------------------------------------------------------------------------+
| Property | Value |
+--------------------------------------+--------------------------------------------------------------------------------------------------+
| OS-EXT-AZ:availability_zone | bob-zone |
| name | demo |
+--------------------------------------+--------------------------------------------------------------------------------------------------+
Nova should forbid such live migration, by adding extra checks, or
update info in db table to provide data consistency
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1452568/+subscriptions
References