aboutsummaryrefslogtreecommitdiffstats
path: root/plans
diff options
context:
space:
mode:
authorwaqas.ikram <waqas.ikram@est.tech>2023-02-16 10:45:56 +0000
committerwaqas.ikram <waqas.ikram@est.tech>2023-02-16 19:35:31 +0000
commit2f4a30294379c87829ab87abd1b08e42e109ad45 (patch)
treef9f41e85ced601b99c7d203e1cd9481aff425614 /plans
parent0eade46c24728e7e09e259e7fe64e0fcc8c57741 (diff)
Fixing Jenkins job failure
Change-Id: I1bfd82b6f58edfd9dd6f9030e86f5519f2f38aea Issue-ID: INT-2201 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
Diffstat (limited to 'plans')
-rw-r--r--plans/oom-platform-cert-service/certservice/setup.sh4
1 files changed, 2 insertions, 2 deletions
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}