Comment 1 for bug 1065440

Revision history for this message
Jian Wen (wenjianhn) wrote :

The reason is :

network_api.setup_networks_on_host is called before _instance_update(host=migration_ref['dest_compute']) in compute.manager._finish_resize, thus db.network_get_associated_fixed_ips(host='dest_compute_name') will not return this
instance's DHCP host info in FlatDHCPManager._setup_networks_on_host().

Update instance's host to dest_compute_node_name before setup_networks_on_host would fix this.