From: Gary Wu Date: Fri, 25 May 2018 15:08:36 +0000 (-0700) Subject: Bug fix on OOM deploy script X-Git-Tag: v2.0.0~47^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=bea96298eea47ca1f32ce0dfece057e8e99d2917;p=integration.git Bug fix on OOM deploy script Change-Id: I2ddaa3cbfdebdc5c007ed077f92dfca51c904eb5 Issue-ID: INT-381 Signed-off-by: Gary Wu --- diff --git a/deployment/heat/onap-oom/scripts/deploy.sh b/deployment/heat/onap-oom/scripts/deploy.sh index 98ba2bd6a..aaf5924e7 100755 --- a/deployment/heat/onap-oom/scripts/deploy.sh +++ b/deployment/heat/onap-oom/scripts/deploy.sh @@ -71,7 +71,7 @@ if [ "$ROBOT_POD" == "" ]; then exit 1 fi -LOG_DIR=$(echo "kubectl exec -n onap $ROBOT_POD -- ls -1t /share/logs | grep {robot-tag} | head -1" | ssh -i $SSH_KEY ubuntu@$RANCHER_IP sudo su) +LOG_DIR=$(echo "kubectl exec -n onap $ROBOT_POD -- ls -1t /share/logs | grep health | head -1" | ssh -i $SSH_KEY ubuntu@$RANCHER_IP sudo su) if [ "$LOG_DIR" == "" ]; then exit 1 fi