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

Flannel is not working:“Error registering network: operation not supported” #1953

Open
HuangYuFe opened this issue Apr 22, 2024 · 6 comments

Comments

@HuangYuFe
Copy link

I've tried to join the i.mx8 board as a node to the kubernetes cluster, but Flannel keeps not starting properly.

Expected Behavior

Under normal circumstances, when you run the command to add Kubernetes to a cluster, Flannel is automatically run on the node

Current Behavior

Nodes other than the IMX8 development board are working normally. flannel on imx8 is always in CrashLoopBackOff state。
屏幕截图 2024-04-22 154308

I tried to look at the log information and it shows“Error registering network: operation not supported”
屏幕截图 2024-04-22 114208

I searched for past issues and executed the "ip link" command, but no "flannel.1" vxlan appeared:
屏幕截图 2024-04-22 155017

Possible Solution

Steps to Reproduce (for bugs)

1.I tried modifying the Linux kernel config options, but it didn't work
屏幕截图 2024-04-22 155421
屏幕截图 2024-04-22 155416

Context

Your Environment

  • Flannel version:v0.24.2
  • Backend used (e.g. vxlan or udp):
  • Etcd version:3.5.0-0
  • Kubernetes version (if used):1.22.4
  • Operating System and version:NXP i.MX Release Distro 4.14-sumo
  • Hardware:NXP IMX8MM
  • Link to your project (optional):
@HuangYuFe HuangYuFe reopened this Apr 22, 2024
@rbrtbnfgl
Copy link
Contributor

Does the kernel support the VXLan interface?

@HuangYuFe
Copy link
Author

Yes, it is not supported. But after I opened some configurations that support VXLAN according to the tutorial, I still can't start VXLAN. Because my attempt to execute "ip link add vxlan0 type vxlan id xxx dstport xxx remote xxx local xxx dev etho" still fails.
屏幕截图 2024-04-22 155421
屏幕截图 2024-04-22 155416

屏幕截图 2024-04-17 205434

@HuangYuFe
Copy link
Author

Is there something wrong with my workaround? @rbrtbnfgl

@rbrtbnfgl
Copy link
Contributor

Are you sure that those flags enable VXLan on the kernel? Are you manually building it? Could you try to build the kernel with menuconfig and search if the VXLan modules are enabled? They should be enabled with y if the config is m you should activate them on the system with modprobe.

@rbrtbnfgl
Copy link
Contributor

Could you check #1747 ?

@HuangYuFe
Copy link
Author

Could you check #1747 ?

OK,I will try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants