Skip to content

Commit

Permalink
Merge pull request #269 from alauda/fix/probe
Browse files Browse the repository at this point in the history
fix: add inactivity_probe back
  • Loading branch information
oilbeater authored Mar 11, 2020
2 parents 340c850 + d196858 commit a5d4321
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/images/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -926,6 +926,8 @@ vsctl(){
}
diagnose(){
kubectl get crd subnets.kubeovn.io
kubectl get crd ips.kubeovn.io
checkDeployment ovn-central
checkDeployment kube-ovn-controller
checkDaemonSet kube-ovn-cni
Expand Down
4 changes: 4 additions & 0 deletions dist/images/start-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ else
--ovn-northd-nb-db=$(gen_conn_str 6641) \
--ovn-northd-sb-db=$(gen_conn_str 6642) \
start_northd
ovn-nbctl set-connection ptcp:"${DB_NB_PORT}":0.0.0.0
ovn-nbctl set Connection . inactivity_probe=0
ovn-sbctl set-connection ptcp:"${DB_SB_PORT}":0.0.0.0
ovn-sbctl set Connection . inactivity_probe=0
else
while ! nc -z "${nb_leader_ip}" "${DB_NB_PORT}" >/dev/null;
do
Expand Down

0 comments on commit a5d4321

Please sign in to comment.