File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ RUN rm -f /etc/cni/net.d/*
3535# with the newer release. (This can go away when the base image is upgraded to
3636# OVS 2.8 prerelease or release versions and include OVN sub-packages)
3737RUN dnf -y install dnf-plugins-core &&\
38- dnf -y copr enable leifmadsen/ovs-master &&\
38+ dnf -y copr enable danw/origin-dind-ovs &&\
3939 dnf -y update openvswitch &&\
4040 dnf -y install openvswitch-ovn-*
4141
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ function is-northd-running() {
1616function have-token() {
1717 local master_dir=$1
1818
19- cat ${master_dir} /ovn.token > /dev/null
19+ [[ -s " ${master_dir} /ovn.token" ]]
2020}
2121
2222function ovn-kubernetes-node() {
4545 apiserver=$( grep server ${kube_config} | cut -f 6 -d' ' )
4646 ovn_master_ip=$( echo -n ${apiserver} | cut -d " /" -f 3 | cut -d " :" -f 1)
4747
48+ # Ensure GENEVE's UDP port isn't firewalled
49+ /usr/share/openvswitch/scripts/ovs-ctl --protocol=udp --dport=6081 enable-protocol
50+
4851 os::util::wait-for-condition " ovn-northd" " is-northd-running ${ovn_master_ip} " " 120"
4952
5053 echo " Enabling and start ovn-kubernetes node services"
You can’t perform that action at this time.
0 commit comments