ironic/releasenotes/notes/ensure-unbind-flat-vifs-and-clear-macs-34eec149618e5964.yaml
Sam Betts db16984b47 Ensure we unbind flat network ports and clear BM mac addresses
This patch fixes a bug in the ironic nova neutron interaction triangle,
where a port in a flat network can be left with bound and with the mac
address of a baremetal server if it is not deleted after a deployment or
deployment failure. The fix is to ensure that the network interfaces
reset the mac address to a random mac address when it unbinds the port
in the unconfigure step for provisioning and tenant networks, and then
rebind and set the mac address for the configure steps.

Co-Authored-By: Harald Jensås <hjensas@redhat.com>
Story: #2004428
Task: #28087
Change-Id: I11fff92e0a58ac68e795c003c14a336bceba6d89
2018-11-27 21:09:58 +01:00

14 lines
621 B
YAML

---
fixes:
- |
Fixes an issue where Neutron ports would be left with a baremetal MAC
address associated after an instance is deleted from a baremetal host. This
caused problems with MAC address conflicts in follow up deployments to the
same baremetal host. `bug 2004428
<https://storyboard.openstack.org/#!/story/2004428>`_.
- |
Fixes an issue where a flat Neutron port would be left with a host ID
associated with it after an instance is deleted from a baremetal host. This
caused problems with reusing the same port for a new instance as it is
already bound to the old instance.