Drop unconfigure_tenant_networks in prepare

unconfigre_tenant_networks() removes vif_port_id from ironic port,
as result during deploy we don't know for which port to update DHCP.
It was reworked in Ocata, but shouldn't be present in Newton.

Related-Bug: #1675673

Change-Id: I3a2da0ab20ed32273c8e426c0d13b0fd02583a54
This commit is contained in:
Vasyl Saienko 2017-03-28 10:53:04 +03:00
parent 1aa048ec6a
commit 75e69a0f99
1 changed files with 0 additions and 3 deletions

View File

@ -445,9 +445,6 @@ class FuelAgentDeploy(base.DeployInterface):
# Adding the node to provisioning network so that the dhcp
# options get added for the provisioning port.
manager_utils.node_power_action(task, states.POWER_OFF)
# NOTE(vdrok): in case of rebuild, we have tenant network already
# configured, unbind tenant ports if present
task.driver.network.unconfigure_tenant_networks(task)
task.driver.network.add_provisioning_network(task)
_prepare_pxe_boot(task)