Skip to content

Commit

Permalink
fix: check required module before start
Browse files Browse the repository at this point in the history
If geneve module do not exist, cross node communication will break and ovs-vswitchd will pop the messages below

```
2021-01-19T02:20:41.920Z|00088|bridge|WARN|Dropped 7 log messages in last 9 seconds (most recently, 9 seconds ago) due to excessive rate
2021-01-19T02:20:41.920Z|00089|bridge|WARN|could not add network device ovn-faced1-0 to ofproto (Address family not supported by protocol)
2021-01-19T02:20:41.921Z|00090|dpif|WARN|system@ovs-system: failed to add ovn-92c1eb-0 as port: Address family not supported by protocol
2021-01-19T02:20:41.923Z|00091|dpif|WARN|system@ovs-system: failed to add ovn-faced1-0 as port: Address family not supported by protocol
2021-01-19T02:20:41.925Z|00092|dpif|WARN|system@ovs-system: failed to add ovn-92c1eb-0 as port: Address family not supported by protocol
```

(cherry picked from commit 4a9901a)
  • Loading branch information
oilbeater committed Mar 9, 2021
1 parent b70f610 commit 9a8e787
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dist/images/start-ovs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ HW_OFFLOAD=${HW_OFFLOAD:-false}
ENABLE_SSL=${ENABLE_SSL:-false}
OVN_DB_IPS=${OVN_DB_IPS:-}


# Check required kernel module
modinfo openvswitch
modinfo geneve

# https://bugs.launchpad.net/neutron/+bug/1776778
if grep -q "3.10.0-862" /proc/version
then
Expand Down

0 comments on commit 9a8e787

Please sign in to comment.