Skip to content
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

probes: use veth device for probing managed neighbor support #25598

Merged
merged 1 commit into from May 30, 2023

Conversation

ti-mo
Copy link
Contributor

@ti-mo ti-mo commented May 22, 2023

Some distributions don't ship with dummy device support/module, leading to the following error when probing for managed neighbors:

level=fatal msg="failed to probe managed neighbor support"
error="failed to add dummy link: operation not supported" subsys=probes

This patch uses a veth device instead, which should be available on nodes running Cilium, if it's not already loaded.

Use veth device for probing managed neighbor support

@ti-mo ti-mo added the release-note/misc This PR makes changes that have no direct user impact. label May 22, 2023
@ti-mo ti-mo requested a review from a team as a code owner May 22, 2023 18:09
@ti-mo ti-mo requested a review from rgo3 May 22, 2023 18:09
@rgo3
Copy link
Contributor

rgo3 commented May 22, 2023

/test

@ti-mo
Copy link
Contributor Author

ti-mo commented May 23, 2023

/test-1.26-net-next

Job 'Cilium-PR-K8s-1.26-kernel-net-next' failed:

Click to show.

Test Name

K8sDatapathConfig High-scale IPcache Test ingress policy enforcement

Failure Output

FAIL: Expected command: kubectl exec -n kube-system cilium-8pqgr -- bpftool map update pinned /sys/fs/bpf/tc/globals/cilium_world_cidrs4 key 0 0 0 0 0 0 0 0 value 1 

Jenkins URL: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.26-kernel-net-next/67/

If it is a flake and a GitHub issue doesn't already exist to track it, comment /mlh new-flake Cilium-PR-K8s-1.26-kernel-net-next so I can create one.

Then please upload the Jenkins artifacts to that issue.

@ti-mo
Copy link
Contributor Author

ti-mo commented May 24, 2023

net-next is hitting #25524, applying ready-to-merge

@ti-mo ti-mo added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 24, 2023
@ti-mo ti-mo force-pushed the tb/managed-neighbors-veth branch from 760a834 to 32348dc Compare May 25, 2023 13:31
@ti-mo ti-mo removed the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 25, 2023
@ti-mo
Copy link
Contributor Author

ti-mo commented May 25, 2023

/test

derailed added a commit to derailed/cilium that referenced this pull request May 25, 2023
- Add Timo's update to resolve issue
  (cilium#25598)

Signed-off-by: Fernand <fernand.galiana@isovalent.com>
@ti-mo ti-mo force-pushed the tb/managed-neighbors-veth branch from 32348dc to fb3b67c Compare May 26, 2023 06:51
@ti-mo
Copy link
Contributor Author

ti-mo commented May 26, 2023

/test

Some distributions don't ship with dummy device support/module, leading to the
following error when probing for managed neighbors:

```
level=fatal msg="failed to probe managed neighbor support"
error="failed to add dummy link: operation not supported" subsys=probes
```

This patch uses a veth device instead, which should be available on nodes
running Cilium, if it's not already loaded.

Signed-off-by: Timo Beckers <timo@isovalent.com>
Reported-by: Fernand Galiana <fernand.galiana@isovalent.com>
@ti-mo ti-mo force-pushed the tb/managed-neighbors-veth branch from fb3b67c to fd41f0f Compare May 26, 2023 13:31
@ti-mo
Copy link
Contributor Author

ti-mo commented May 26, 2023

/test

@ti-mo
Copy link
Contributor Author

ti-mo commented May 30, 2023

/test-1.26-net-next

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 30, 2023
@ti-mo ti-mo merged commit 31794e3 into cilium:main May 30, 2023
58 checks passed
@ti-mo ti-mo deleted the tb/managed-neighbors-veth branch May 30, 2023 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants