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:
parent
1aa048ec6a
commit
75e69a0f99
|
@ -445,9 +445,6 @@ class FuelAgentDeploy(base.DeployInterface):
|
||||||
# Adding the node to provisioning network so that the dhcp
|
# Adding the node to provisioning network so that the dhcp
|
||||||
# options get added for the provisioning port.
|
# options get added for the provisioning port.
|
||||||
manager_utils.node_power_action(task, states.POWER_OFF)
|
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)
|
task.driver.network.add_provisioning_network(task)
|
||||||
|
|
||||||
_prepare_pxe_boot(task)
|
_prepare_pxe_boot(task)
|
||||||
|
|
Loading…
Reference in New Issue