Skip to content

Commit

Permalink
fix: add inactivity_probe back
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Mar 11, 2020
1 parent 340c850 commit d196858
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 d196858

Please sign in to comment.