-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
area/agentCilium agent related.Cilium agent related.area/cniImpacts the Container Networking Interface between Cilium and the orchestrator.Impacts the Container Networking Interface between Cilium and the orchestrator.kind/bugThis is a bug in the Cilium logic.This is a bug in the Cilium logic.kind/community-reportThis was reported by a user in the Cilium community, eg via Slack.This was reported by a user in the Cilium community, eg via Slack.needs/triageThis issue requires triaging to establish severity and next steps.This issue requires triaging to establish severity and next steps.
Description
Is there an existing issue for this?
- I have searched the existing issues
What happened?
If copying of the loopback
CNI binary gets interrupted, then a truncated version will exist on the node. This causes CNI operations to fail. Also, cilium-agent
can't recover the node from this state even if it's restarted because it thinks that loopback
already exists.
cilium-cni
isn't affected by this because it does an atomic copy (cp
+ mv
). I think we should do the same for loopback
.
Relevant code: https://github.com/cilium/cilium/blob/1aa21ecc3697a78d66a1fbd3f9e4cc3d7f6ebcc6/plugins/cilium-cni/install-plugin.sh#L21C2-L21C4
Cilium Version
All
Kernel Version
N/A
Kubernetes Version
N/A
Sysdump
N/A
Relevant log output
plugin type="loopback" failed (delete): netplugin failed with no error message: signal: segmentation fault
Anything else?
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
area/agentCilium agent related.Cilium agent related.area/cniImpacts the Container Networking Interface between Cilium and the orchestrator.Impacts the Container Networking Interface between Cilium and the orchestrator.kind/bugThis is a bug in the Cilium logic.This is a bug in the Cilium logic.kind/community-reportThis was reported by a user in the Cilium community, eg via Slack.This was reported by a user in the Cilium community, eg via Slack.needs/triageThis issue requires triaging to establish severity and next steps.This issue requires triaging to establish severity and next steps.