You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a VPC NAT Gateway is reconfigured with a replacement externalSubnets entry, the GW pod is correctly recreated on the new external network but the IP resource that was created for the previous external network is not removed.
I found a similar closed issue titled "vpc nat gw pod external ip crd duplicate" which was resolved by a pull request that fixed the issue of multus IP not being deleted [1]. However, the specific changes made in the pull request are not detailed in the available information.
In your case, it seems that when the VPC NAT Gateway is reconfigured to use a different external subnet, the IP resource from the previous subnet is not being automatically removed. This behavior might be related to the issue mentioned above, but without the specific details of the fix, it's unclear if the same solution applies.
To address this, you might want to check if there are any updates or patches available for your current version (v1.12.22) that address this specific issue. Additionally, reviewing the cleanup logic in the codebase related to IP resource management when changing external subnets might provide insights into why the old IP is not being deleted.
Kube-OVN Version
v1.12.22
Kubernetes Version
v1.28.6
Operation-system/Kernel Version
"Ubuntu 22.04.5 LTS" 6.8.0-47-generic
Description
If a VPC NAT Gateway is reconfigured with a replacement
externalSubnets
entry, the GW pod is correctly recreated on the new external network but theIP
resource that was created for the previous external network is not removed.Getting
IP
s show's 3 associated with the gateway even though theovn-vpc-external-network
one is no longer in use by the gateway.Manually deleting the dangling
IP
does free up the IP to be reallocated and there are no leaked network interfaces as far as I can tell.Steps To Reproduce
Create VPC NAT gateway on external subnet
Change gateway to use different external subnet
Current Behavior
Old external IP not cleared up when gateway moves networks.
Expected Behavior
External IP should be cleared up
The text was updated successfully, but these errors were encountered: