metallb: Creating NDP responders returns errors for a long time after interface comes up

With the new all-interfaces listening code, NDP responders are created for every interface on a machine, including the virtual ones going into containers.

For some reason, on minikube, binding to those interfaces continues to fail for 10-60s after the interface is brought up and given a link-local address (which are the two things we test for before creating a responder).

Sample error:

{"caller":"announcer.go:93","error":"creating NDP responder for \"veth1755bdb\": listen ip6:ipv6-icmp fe80::f0af:49ff:fe87:f134%veth1755bdb: bind: invalid argument","interface":"veth1755bdb","msg":"failed to create NDP responder","op":"createNDPResponder","ts":"2018-04-20T02:34:30.667836249Z"}

The interface status seems unchanged during/after the errors:

$ ip addr show veth1755bdb      
105: veth1755bdb@if104: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default 
    link/ether f2:af:49:87:f1:34 brd ff:ff:ff:ff:ff:ff link-netnsid 7
    inet6 fe80::f0af:49ff:fe87:f134/64 scope link 
       valid_lft forever preferred_lft forever

So, it’s unclear to me why this would be an invalid bind, based on information available here…

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Reactions: 6
  • Comments: 15 (3 by maintainers)

Commits related to this issue

Most upvoted comments

ve traced the source codes.

I have the same issue, you said you dsiable ip6 to fix it, it had any other problem?

Yes I just disabled ipv6 in the worker nodes (i.e. the Linux OS level), then the problem has gone.

Hope you could also fix it by this method.