Closed phoracek closed 1 year ago
/lgtm /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: phoracek, qinqon
The full list of commands accepted by this bot can be found here.
The pull request process is described here
What this PR does / why we need it:
While most of the configuration gets cleaned up on ADD failure through the removal of containers netns, OVS ports do not.
In case port attachment succeeded but the following IPAM configuration failed, we end up with the port left behind.
With this patch, the port gets explicitly deleted on IPAM failure.
This fixes https://github.com/k8snetworkplumbingwg/ovs-cni/issues/258
Release note: