Skip to content

Commit 1f1fb82

Browse files
authored
ovn: fix cluster connections when SSL is enabled (#3001)
1 parent 18560c9 commit 1f1fb82

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dist/images/start-db.sh

+8
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,10 @@ else
369369
--ovn-northd-ssl-key=/var/run/tls/key \
370370
--ovn-northd-ssl-cert=/var/run/tls/cert \
371371
--ovn-northd-ssl-ca-cert=/var/run/tls/cacert \
372+
--db-nb-cluster-local-proto=ssl \
373+
--db-sb-cluster-local-proto=ssl \
374+
--db-nb-cluster-remote-proto=ssl \
375+
--db-sb-cluster-remote-proto=ssl \
372376
--db-nb-cluster-local-addr=[$DB_CLUSTER_ADDR] \
373377
--db-sb-cluster-local-addr=[$DB_CLUSTER_ADDR] \
374378
--db-nb-addr=[$DB_ADDR] \
@@ -427,6 +431,10 @@ else
427431
--ovn-northd-ssl-key=/var/run/tls/key \
428432
--ovn-northd-ssl-cert=/var/run/tls/cert \
429433
--ovn-northd-ssl-ca-cert=/var/run/tls/cacert \
434+
--db-nb-cluster-local-proto=ssl \
435+
--db-sb-cluster-local-proto=ssl \
436+
--db-nb-cluster-remote-proto=ssl \
437+
--db-sb-cluster-remote-proto=ssl \
430438
--db-nb-cluster-local-addr=[$DB_CLUSTER_ADDR] \
431439
--db-sb-cluster-local-addr=[$DB_CLUSTER_ADDR] \
432440
--db-nb-cluster-remote-addr=[$nb_leader_ip] \

0 commit comments

Comments
 (0)