Skip to content

Commit

Permalink
fix: check and load ip_tables module
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Oct 22, 2021
1 parent ad3d640 commit 86f63f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions dist/images/start-ovs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ TUNNEL_TYPE=${TUNNEL_TYPE:-geneve}
# Check required kernel module
modinfo openvswitch
modinfo geneve
modinfo ip_tables

# CentOS 8 might not load iptables module by default, which will hurt nat function
modprobe ip_tables

# https://bugs.launchpad.net/neutron/+bug/1776778
if grep -q "3.10.0-862" /proc/version
Expand Down
2 changes: 1 addition & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Kube-OVN includes two parts:
- Kubernetes >= 1.11, version 1.16 and later is recommended
- Docker >= 1.12.6
- OS: CentOS 7/8, Ubuntu 16.04/18.04
- Other Linux distributions with geneve and openvswitch module installed. You can use commands `modinfo geneve` and `modinfo openvswitch` to verify
- Other Linux distributions with geneve, openvswitch and ip_tables module installed. You can use commands `modinfo geneve`, `modinfo openvswitch` and `modinfo ip_tables` to verify
- Kernel boot with `ipv6.disable=0`
- Kube-proxy *MUST* be ready so that Kube-OVN can connect to apiserver

Expand Down

0 comments on commit 86f63f2

Please sign in to comment.