-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v1.13] health: only launch /hello after host datapath is ready #33253
Conversation
/test-backport-1.13 |
/test-1.16-4.19 Error authenticating to ghcr |
/test-1.16-4.19 |
f8a07fe
to
2c5d85e
Compare
/test-backport-1.13 Job 'Cilium-PR-K8s-1.19-kernel-4.19' failed: Click to show.Test Name
Failure Output
Jenkins URL: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.19-kernel-4.19/579/ If it is a flake and a GitHub issue doesn't already exist to track it, comment Then please upload the Jenkins artifacts to that issue. |
Blocked on #33376 to fix a couple of workflows. |
[ upstream commit 8c97a21 ] The code to restore endpoint state checks for the presence of bpf_host.o to determine whether the host endpoint ID needs to be restored. Use ep.IsHost instead to decouple the restore process from what the loader is doing under the covers. Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
[ upstream commit 916a2ce ] Delay starting the /hello endpoint until we've loaded the host datapath at least once. This means that the presence of /health can be used to infer not only that the cilium unix socket API is up but also that the datapath can do basic packet processing. Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
[ upstream commit acf3141 ] [ backporter's notes: only needed a single line from this patch, the rest was not compatible ] BPF regeneration writes state into a new temporary directory. Once it has succeeded we need to swap the old and new directory. This is currently achieved by "backing up" the current state by renaming the directory. This code has a bunch of corner cases around cleaning up old directories and so on which are necessary since the synchronization isn't truly atomic. Instead, use the RENAME_EXCHANGE flag to atomically exchange the two existing directories. Also use hard links to retain existing state so that killing the agent during a synchronization doesn't lead to corruption. Signed-off-by: Lorenz Bauer <lmb@isovalent.com> Signed-off-by: Timo Beckers <timo@isovalent.com>
/test-backport-1.13 Job 'Cilium-PR-K8s-1.20-kernel-4.19' failed: Click to show.Test Name
Failure Output
Jenkins URL: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.20-kernel-4.19/580/ If it is a flake and a GitHub issue doesn't already exist to track it, comment Then please upload the Jenkins artifacts to that issue. Job 'Cilium-PR-K8s-1.17-kernel-4.19' failed: Click to show.Test Name
Failure Output
Jenkins URL: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.17-kernel-4.19/591/ If it is a flake and a GitHub issue doesn't already exist to track it, comment Then please upload the Jenkins artifacts to that issue. |
/test-1.17-4.19 |
/test-1.16-4.19 |
/test-1.20-4.19 |
/test-1.17-4.19 |
3 similar comments
/test-1.17-4.19 |
/test-1.17-4.19 |
/test-1.17-4.19 |
Backporting some host endpoint-related fixes to hopefully address
HOST_EP_ID 65535
being rendered into bpf_lxc's ep_config.h.