ironic/releasenotes/notes/fix-provisioning-port-cleanup-79ee7930ca206c42.yaml
Mark Goddard 9e2b3284ea Remove provisioning network ports during tear down
Previously, provisioning network ports were only deleted during a
successful deployment, when the node's network is flipped from the
provisioning network to the tenant network. In many failure scenarios
this code path would not be reached, as well as the case of aborting
deployment. This is not normally an issue, because during instance
termination, nova deletes all ports with a device ID matching the
instance's UUID, including any remaining provisioning ports.

This change removes the provisioning network ports when tearing down a
node to ensure that they are deleted in all scenarios.

Change-Id: I5656802ee04b44247f4a81bb311b5e306a737a4e
Closes-Bug: #1732412
Related-Bug: #1607394
2017-11-15 18:32:08 +00:00

10 lines
383 B
YAML

---
fixes:
- |
Fixes an issue whereby in certain deployment failure scenarios a node's
provisioning ports are not deleted. The issue would typically have been
masked by nova, which deletes all ports with a device ID matching the
instance's UUID during instance termination. See `bug 1732412
<https://bugs.launchpad.net/ironic/+bug/1732412>`_
for details.