Skip to content

Conversation

@huntergregory
Copy link
Contributor

@huntergregory huntergregory commented Jan 4, 2023

Changes:

  1. In deleteIPSetsAndReferences(), ignore the error that the set doesn't exist just in case this is possible.
  2. Fix Azure-NPM Windows: rare race condition where removing a label from a Pod when the Pod is the last one using the label may cause Network Policy Create/Update to fail on the node of the given NPM Pod #1613:
    a. In ApplyDataPlane(), ignore errors related to updating pods. These errors are retriable and should not block other dataplane operations.
    b. In UpdatePod(), ignore sets to add/remove that don't exist anymore (i.e. they were deleted in the background ipset reconcile thread after all referenced Policies were deleted from the kernel)

@huntergregory huntergregory added bug npm Related to NPM. windows labels Jan 4, 2023
@huntergregory huntergregory requested a review from a team as a code owner January 4, 2023 01:32
@huntergregory huntergregory requested review from matmerr and removed request for a team January 4, 2023 01:32
@huntergregory huntergregory changed the title fix: [NPM-WIN] ignore irrelevant errors and only track updatePods on-node fix: [NPM-WIN] ignore irrelevant errors from ipsetmanager Jan 5, 2023
@vakalapa vakalapa merged commit bd299fe into master Jan 19, 2023
@vakalapa vakalapa deleted the hgregory/issue-1613 branch January 19, 2023 17:45
rjdenney pushed a commit to rjdenney/azure-container-networking that referenced this pull request Jan 19, 2023
* ignore certain errors

* remove changes to updatePod tracking (on/off-node)
smittal22 pushed a commit to smittal22/azure-container-networking that referenced this pull request Feb 3, 2023
* ignore certain errors

* remove changes to updatePod tracking (on/off-node)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug npm Related to NPM. windows

Projects

None yet

3 participants