fix(manage): retry dataplane setup after restart - #1939
AnouarMohamed wants to merge 2 commits into
Conversation
Signed-off-by: AnouarMohamed <m.anouar@mundiapolis.ma>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Welcome @AnouarMohamed! It looks like this is your first PR to kmesh-net/kmesh 🎉 |
Codecov Report✅ All modified and coverable lines are covered by tests.
... and 3 files with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
Signed-off-by: AnouarMohamed <m.anouar@mundiapolis.ma>
|
Hi, it looks like the two failed E2E jobs both hit the same timeout in
I don't have permission to rerun the workflows from my fork. Could a maintainer please rerun these two failed jobs when you have a chance? Thanks! |
|
These failures look like the same issue already tracked in #1859. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Informer replay after a Kmesh restart treated pod dataplane setup as a best-effort side effect: network namespace, XDP, and TC failures were discarded, and the managed annotation could be queued before those programs were attached. A transient restart-time failure could therefore leave a pod marked as managed without the authorization dataplane.
This change:
Which issue(s) this PR fixes:
Fixes #1204
Special notes for your reviewer:
verified with:
make gen-check./pkg/controller/manage/...go vet ./pkg/controller/manage-race -gcflags=all=-lin a privileged containerintegbuild tagmake copyright-checkfrom a clean checkoutThe full repository test target was also run. The affected manage package passed; the overall target encountered unrelated environment-sensitive failures in existing authorization/BPF, cache, CNI, and IPsec tests (including the host kernel rejecting the authorization BPF program at the verifier instruction limit and absent mounted CNI fixtures).
Does this PR introduce a user-facing change?: