flannel icon indicating copy to clipboard operation
flannel copied to clipboard

Wireguard backend has duplicate peers

Open txomon opened this issue 3 years ago • 2 comments

Expected Behavior

Running wg should show one link per node

Current Behavior

Running wg may show more than one link per node

Possible Solution

Probably check for existing peers before adding a new one

Steps to Reproduce (for bugs)

Set up several nodes with wireguard backend, check all of them

Context

Thankfully it doesn't break functionality so it's not such a big problem, but maybe something could be done

Your Environment

  • Flannel version: master
  • Backend used (e.g. vxlan or udp): wireguard
  • Etcd version: N/A
  • Kubernetes version (if used): 1.20
  • Operating System and version: arch + k3s
  • Link to your project (optional): None

txomon avatar Mar 18 '21 10:03 txomon

I think I experience exactly the same issue here https://github.com/k3s-io/k3s/issues/5216. Flannel is a bit outdated in the k3s version that I'm running, not sure if it's fixed in later releases of flannel.

nabam avatar Mar 07 '22 13:03 nabam

This issue is solved by #1230.

Can be closed.

andreek avatar Jun 08 '22 23:06 andreek

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 25 '23 20:01 stale[bot]