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

Azure CNI breaks with Linux kernel 6.2 #2156

Closed
tamilmani1989 opened this issue Aug 18, 2023 · 2 comments · Fixed by #2150
Closed

Azure CNI breaks with Linux kernel 6.2 #2156

tamilmani1989 opened this issue Aug 18, 2023 · 2 comments · Fixed by #2150
Assignees
Labels
bug cni Related to CNI. linux stale Stale due to inactivity.

Comments

@tamilmani1989
Copy link
Member

What happened:
Azure CNI fails to run successfully in newly released 6.2 kernel. Investigating further reveals that Azure CNI returns operation not supported error on netlink delete route request calls. The flag (NLM_F_EXCL) that used for netlink delete route got repurposed and kernel netlink api started to throw this error if that flag is passed. This resulted in Azure CNI to throw error on CNI Add call which led to pod creation failures.

What you expected to happen:

How to reproduce it:
Create a kubernetes cluster in Azure and upgrade your nodes to 6.2 kernel and then try to create pods and it should fail with Azure CNI error.

Orchestrator and Version (e.g. Kubernetes, Docker):
Kubernetes

Operating System (Linux/Windows):
Linux

Kernel (e.g. uanme -a for Linux or $(Get-ItemProperty -Path "C:\windows\system32\hal.dll").VersionInfo.FileVersion for Windows):
6.2

Anything else we need to know?:
[Miscellaneous information that will assist in solving the issue.]

@paulgmiller
Copy link
Member

Techincally its the 5.19 kernel but 6.2 is scheduled to be pushed to ubuntu security pocket end of month thats the more important news.

Beware if you're vms have ubuntu unattended upgrades on.

@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days

@github-actions github-actions bot added the stale Stale due to inactivity. label Oct 18, 2023
@rbtr rbtr closed this as completed Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cni Related to CNI. linux stale Stale due to inactivity.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants