Increase init job timeout for smo installation 27/14427/1
authoraravind.est <aravindhan.a@est.tech>
Sun, 18 May 2025 20:25:27 +0000 (21:25 +0100)
committeraravind.est <aravindhan.a@est.tech>
Sun, 18 May 2025 20:25:27 +0000 (21:25 +0100)
SMO installation fails randomly because of the slowness of the resource allocation/dependent containers.

This will increase the job waiting timeout before helm decides to consider that as a failure.

Issue-ID: NONRTRIC-1020
Change-Id: I88d5a57628108511bc7d44326bd29be012661f7b
Signed-off-by: aravind.est <aravindhan.a@est.tech>
smo-install/scripts/sub-scripts/install-smo.sh

index ef79a5f..6ddfe23 100755 (executable)
@@ -29,7 +29,7 @@ MODE=$2
 
 if [ "$MODE" == "dev" ]; then
     echo "Installing SMO in dev mode"
-    helm install --debug oran-smo local/smo --namespace smo -f $OVERRIDEYAML
+    helm install --debug oran-smo local/smo --namespace smo -f $OVERRIDEYAML --timeout 15m
 else
     echo "Installing SMO in release mode"
     # This following should be modified once the charts are uploaded and available in the nexus repository
@@ -37,7 +37,7 @@ else
         # helm repo add smo https://nexus3.o-ran-sc.org/repository/smo-helm-snapshots/
         # helm repo update
         # helm install oran-smo smo/smo --namespace nonrtric -f $OVERRIDEYAML --create-namespace
-    helm install oran-smo local/smo --namespace smo -f $OVERRIDEYAML
+    helm install oran-smo local/smo --namespace smo -f $OVERRIDEYAML  --timeout 15m
 fi
 
 check_for_secrets() {