From 79508e6201a7561628b1040122f3ce1920d2bb1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=A5=96=E5=BB=BA?= Date: Fri, 30 Jun 2023 18:31:38 +0800 Subject: [PATCH] ovn: fix cluster connections when SSL is enabled --- dist/images/start-db.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dist/images/start-db.sh b/dist/images/start-db.sh index efc0861d1f4..3e1a262fa38 100755 --- a/dist/images/start-db.sh +++ b/dist/images/start-db.sh @@ -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] \ @@ -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] \