Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhoublue committed Dec 18, 2024
1 parent 30b2e46 commit 163698c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/scripts/install-ovs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,16 @@ for NODE in $KIND_NODES; do

echo "=========install openvswitch"
install_openvswitch

echo "start ovs"
docker exec ${NODE} systemctl start openvswitch-switch || { docker exec ${NODE} journalctl -xe ; docker exec ${NODE} systemctl status openvswitch-switch ; docker exec ${NODE} journalctl -u openvswitch-switch ; exit 1 ; }
lsmod | grep open
modinfo openvswitch
docker exec ${NODE} uname -a || true
docker exec ${NODE} cat /etc/centos-release || true
docker exec ${NODE} modinfo openvswitch || true
docker exec ${NODE} systemctl start openvswitch-switch || \
{ lsmod | grep open ; docker exec ${NODE} journalctl -xe ; docker exec ${NODE} systemctl status openvswitch-switch ; docker exec ${NODE} journalctl -u openvswitch-switch ; exit 1 ; }

docker exec ${NODE} ovs-vsctl add-br ${BRIDGE_INTERFACE}
docker exec ${NODE} ovs-vsctl add-port ${BRIDGE_INTERFACE} ${HOST_ADDITIONAL_INTERFACE}

Expand Down

0 comments on commit 163698c

Please sign in to comment.