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

VXLan existed issues #45

Open
ghost opened this issue Jul 29, 2022 · 3 comments
Open

VXLan existed issues #45

ghost opened this issue Jul 29, 2022 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 29, 2022

Hello, I just encountered the vxlan existed issue when creating topo through meshnet. Any suggestions? Thank you!

Warning FailedCreatePodSandBox 5s kubelet (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "15ec95fd9c2564055c051b9b1b0f6dade81bb856edecac2aabcb001ebb101ce0" network for pod "vswitch-12": networkPlugin cni failed to set up pod "vswitch-12_default" network: vxlan add failed: Failed to add vxlan koko4039455774: file exists

@networkop
Copy link
Owner

This is strange, it's not supposed to happen. How big is your topology? Can you share the topology CRDs?

@haylinmoore
Copy link

We are seeing this issue too. It happens randomly on some of our topologies. We've got 2 spines, with 4 leafs connected to each of the spines. We've been getting our fair share of

  Warning  FailedCreatePodSandBox  3m10s                kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "d176d34f7eaf3622f7a8ca162168dcd174aded523fa4eb7d0cc6d12914e2524b": plugin type="meshnet" name="meshnet" failed (add): vxlan add failed: Failed to add vxlan koko3772318383: file exists
  Warning  FailedCreatePodSandBox  2m56s                kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "6e0b091eda743122c3b03ec0b188fec3b6f4cd37754c1232ef2c050b8c7f5c49": plugin type="meshnet" name="meshnet" failed (add): vxlan add failed: Failed to add vxlan koko2288473695: file exists
  Warning  FailedCreatePodSandBox  2m40s                kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "da74f05393b56fba047c18870306aeae4c2e391f1b2bdabbe9b85acc9b1348e1": plugin type="meshnet" name="meshnet" failed (add): vxlan add failed: Failed to add vxlan koko566137827: file exists
  Warning  FailedCreatePodSandBox  2m27s                kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "881675c69b899b3a9782eeda23a259179a48a1745630acb9f066322265e853d7": plugin type="meshnet" name="meshnet" failed (add): vxlan add failed: Failed to add vxlan koko3526202731: file exists
  Warning  FailedCreatePodSandBox  2m10s                kubelet            (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "3d05d29c5bf4637399cecc1bf403b2f27ba325486bd899ac0302f99e9626ff42": plugin type="meshnet" name="meshnet" failed (add): vxlan add failed: Failed to add vxlan koko2171372583: file exists

during topology creations. After like 5 minutes of spitting out that error, it just suddenly works and pulls the init image

  Normal   Pulled                  118s                 kubelet            Container image "networkop/init-wait:latest" already present on machine
Normal   Created                 118s                 kubelet            Created container init-leaf1
Normal   Started                 118s                 kubelet            Started container init-leaf1

cc @burnyd

@networkop
Copy link
Owner

can you share your CRDs?

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