Comment 10 for bug 1391010

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/nova (openstack-ci/fuel-7.0/2015.1.0)

Reviewed: https://review.fuel-infra.org/8260
Submitter: mos-infra-ci <>
Branch: openstack-ci/fuel-7.0/2015.1.0

Commit: 057e4171761445f5295538c947d0ab10b431ec49
Author: Timofey Durakov <email address hidden>
Date: Thu Jul 16 08:22:39 2015

Fixed nova-network dhcp-hostsfile update during live-migration

During live migration _post_live_migration and
post_live_migration_at_destination_method are executed
simultaneously, because second one is called over rpc.cast
In _post_live_migration method there was setup_network_on_host
call with teardown=True, which expects new host in instances
table db field. This update could be happened later, as it
executes on destination node in second method. To guarantee
execution order setup_network_on_host call, which cleans
dhcp-hostfile is moved to destination node.

Change-Id: I52bea4db7608abcf73fa781d2c0aaf3eaeb2f468
Closes-Bug: #1391010
Upstream-Bug: #1444497