Skip to content

Commit

Permalink
ovn: fix cluster connections when SSL is enabled (#3001)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzujian committed Jul 7, 2023
1 parent 18560c9 commit 1f1fb82
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dist/images/start-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,10 @@ else
--ovn-northd-ssl-key=/var/run/tls/key \
--ovn-northd-ssl-cert=/var/run/tls/cert \
--ovn-northd-ssl-ca-cert=/var/run/tls/cacert \
--db-nb-cluster-local-proto=ssl \
--db-sb-cluster-local-proto=ssl \
--db-nb-cluster-remote-proto=ssl \
--db-sb-cluster-remote-proto=ssl \
--db-nb-cluster-local-addr=[$DB_CLUSTER_ADDR] \
--db-sb-cluster-local-addr=[$DB_CLUSTER_ADDR] \
--db-nb-addr=[$DB_ADDR] \
Expand Down Expand Up @@ -427,6 +431,10 @@ else
--ovn-northd-ssl-key=/var/run/tls/key \
--ovn-northd-ssl-cert=/var/run/tls/cert \
--ovn-northd-ssl-ca-cert=/var/run/tls/cacert \
--db-nb-cluster-local-proto=ssl \
--db-sb-cluster-local-proto=ssl \
--db-nb-cluster-remote-proto=ssl \
--db-sb-cluster-remote-proto=ssl \
--db-nb-cluster-local-addr=[$DB_CLUSTER_ADDR] \
--db-sb-cluster-local-addr=[$DB_CLUSTER_ADDR] \
--db-nb-cluster-remote-addr=[$nb_leader_ip] \
Expand Down

0 comments on commit 1f1fb82

Please sign in to comment.