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
Prevent UDN deletion race condition by checking controller state
Adds GetActiveNetwork method to verify network controllers
are stopped before allowing UDN/CUDN deletion, preventing race
conditions in a scenario where a network is recreated before the
cluster-manager controller stopped running.
Signed-off-by: Patryk Diak <[email protected]>
returnnil, &networkInUseError{err: fmt.Errorf("cannot remove UDN, controller for network %s is still running", util.GenerateUDNNetworkName(udn.Namespace, udn.Name))}
returnnil, &networkInUseError{err: fmt.Errorf("cannot remove cluster UDN, controller for network %s is still running", util.GenerateCUDNNetworkName(cudn.Name))}
0 commit comments