diff options
author | Yuli Shlosberg <ys9693@att.com> | 2018-02-25 16:03:45 +0200 |
---|---|---|
committer | Yuli Shlosberg <ys9693@att.com> | 2018-02-25 16:04:06 +0200 |
commit | 36604c71a72b1023ad412ccd4ab694647817f9a9 (patch) | |
tree | 1e3002d162760e843a6e1d9a4704f9b98145a12d /sdc-os-chef | |
parent | e56a2a869983480efcec9245946e7100f6e80385 (diff) |
update template files
Change-Id: I495fcb8c6cfced09a921834f2ea730b519f453db
Issue-ID: SDC-920
Signed-off-by: Yuli Shlosberg <ys9693@att.com>
Diffstat (limited to 'sdc-os-chef')
-rwxr-xr-x | sdc-os-chef/scripts/docker_run.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sdc-os-chef/scripts/docker_run.sh b/sdc-os-chef/scripts/docker_run.sh index bb742765b8..9fd604744c 100755 --- a/sdc-os-chef/scripts/docker_run.sh +++ b/sdc-os-chef/scripts/docker_run.sh @@ -37,6 +37,7 @@ function dir_perms { mkdir -p ${WORKSPACE}/data/logs/FE/SDC/SDC-FE chmod -R 777 ${WORKSPACE}/data/logs } + function probe_cs { cs_stat=false @@ -125,6 +126,8 @@ function monitor_docker { TIME=$(($TIME+$INTERVAL)) done + docker logs $1 > ${WORKSPACE}/data/logs/$1_docker.log + if [ "$TIME" -ge "$TIME_OUT" ]; then echo -e "\e[1;31mTIME OUT: DOCKER was NOT fully started in $TIME_OUT seconds... Could cause problems ...\e[0m" fi @@ -140,7 +143,7 @@ function healthCheck { echo "" echo "" echo "FE health-Check:" - curl http://${IP}:8181/sdc1/rest/healthCheck + curl http://127.0.0.1:8181/sdc1/rest/healthCheck echo "" |