hyperv: make sure to plug OVS VIFs after resize/migrate
Since the network_info wasn't getting passed to vmops.power_on after a resize/cold migrate confirmation, the OVS VIFs weren't getting plugged. Change-Id: Ia9b7dc11cd74ba896a7254c16a95b7a834a28475 Closes-Bug: #1657424
This commit is contained in:
@@ -298,7 +298,7 @@ class MigrationOps(object):
|
||||
self._check_and_attach_config_drive(instance, vm_gen)
|
||||
self._vmops.set_boot_order(instance_name, vm_gen, block_device_info)
|
||||
if power_on:
|
||||
self._vmops.power_on(instance)
|
||||
self._vmops.power_on(instance, network_info=network_info)
|
||||
|
||||
def _check_ephemeral_disks(self, instance, ephemerals,
|
||||
resize_instance=False):
|
||||
|
||||
Reference in New Issue
Block a user