From 2f4a30294379c87829ab87abd1b08e42e109ad45 Mon Sep 17 00:00:00 2001 From: "waqas.ikram" Date: Thu, 16 Feb 2023 10:45:56 +0000 Subject: Fixing Jenkins job failure Change-Id: I1bfd82b6f58edfd9dd6f9030e86f5519f2f38aea Issue-ID: INT-2201 Signed-off-by: waqas.ikram --- plans/oom-platform-cert-service/certservice/setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plans/oom-platform-cert-service/certservice') diff --git a/plans/oom-platform-cert-service/certservice/setup.sh b/plans/oom-platform-cert-service/certservice/setup.sh index 0e2a4653..4219bf69 100644 --- a/plans/oom-platform-cert-service/certservice/setup.sh +++ b/plans/oom-platform-cert-service/certservice/setup.sh @@ -38,7 +38,7 @@ pip install -U docker==2.7.0 #reinstall pyopenssl library echo "Reinstall pyopenssl library." pip uninstall pyopenssl -y -pip install pyopenssl==17.5.0 +pip install pyopenssl==23.0.0 #install pyjks for .jks files management pip install pyjks @@ -92,7 +92,7 @@ for i in {1..9} do OOMCERT_IP=`get-instance-ip.sh oomcert-service` RESP_CODE=$(curl -s https://localhost:8443/actuator/health --cacert ./certs/root.crt --cert-type p12 --cert ./certs/certServiceServer-keystore.p12 --pass secret | \ - python2 -c 'import json,sys;obj=json.load(sys.stdin);print obj["status"]') + python3 -c 'import json,sys;obj=json.load(sys.stdin);print (obj["status"])') if [[ "$RESP_CODE" == "UP" ]]; then echo 'OOM Cert Service is ready' export OOMCERT_IP=${OOMCERT_IP} -- cgit 1.2.3-korg