spidernet-io / spiderpool

Underlay and RDMA network solution of the Kubernetes, for bare metal, VM and any public cloud
https://spidernet-io.github.io/spiderpool/
Apache License 2.0
526 stars 76 forks source link

documentation not clear for 'make setup_dualCni_cilium' command #3782

Open haiwu opened 2 months ago

haiwu commented 2 months ago

Spiderpool Version

latest

Bug Type

Installation Issue

Main CNI

cilium

What happened?

Simply running 'make setup_dualCni_cilium' per webpage doc, and got this error: 'docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: open /proc/sys/net/ipv6/conf/all/disable_ipv6: no such file or directory: unknown.'

What did you expect to happen?

The doc should be clear to say if ipv6 is disabled, then use this instead: E2E_IP_FAMILY=ipv4 make setup_dualCni_cilium

How to reproduce it (as minimally and precisely as possible)

  1. disable ipv6 in linux kernel
  2. run 'make setup_dualCni_cilium'

Additional Context

No response

cyclinder commented 2 months ago

Thanks for the report! @haiwu, I'll look into this. Could you show your docker config?(/etc/docker/daemon.conf)

ty-dc commented 2 weeks ago

Hi, make setup_dualCni_cilium will enable ipv6 settings by default. Maybe you have other problems, such as failure to set up IPv6? No need to change the document?

- sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0