From: rajdeep11 Date: Thu, 27 Jun 2024 07:29:14 +0000 (+0530) Subject: fix the cassandra coming up bug X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=7d9cfe2fbb2d2c84b00a38ebc51709dceb93d8be;p=aiml-fw%2Faimlfw-dep.git fix the cassandra coming up bug to fix the issue cassandra version have been fixed now. Change-Id: I7b23297e10f97ab6b10e513ed123d022c9e798e7 Signed-off-by: rajdeep11 --- diff --git a/bin/install_databases.sh b/bin/install_databases.sh index 3488d5f..7b65a6c 100755 --- a/bin/install_databases.sh +++ b/bin/install_databases.sh @@ -20,6 +20,6 @@ helm repo add bitnami https://charts.bitnami.com/bitnami helm install tm-db bitnami/postgresql --namespace traininghost while [[ $(kubectl get pods tm-db-postgresql-0 -n traininghost -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}') != "True" ]]; do echo "waiting for training manager db pod" && sleep 1; done echo "Installed tm-db" -helm install cassandra --set dbUser.user="cassandra" --namespace="traininghost" bitnami/cassandra +helm install cassandra --set dbUser.user="cassandra" --namespace="traininghost" bitnami/cassandra --version 10.0.0 while [[ $(kubectl get pods cassandra-0 -n traininghost -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}') != "True" ]]; do echo "waiting for cassandra manager db pod" && sleep 1; done echo "Installed cassandra-db"