From 91e5ae958d0fa9584713d2ab887e2ead7371fb68 Mon Sep 17 00:00:00 2001 From: Abhijit Dasgupta Date: Tue, 12 Nov 2019 04:43:28 +0000 Subject: [PATCH] Bug Fix and Enhancement of setup.sh Modified verifyedgex method Added log lines for CAdvisor and Prometheus Setup Signed-off-by: Abhijit Dasgupta Change-Id: Idb5bd8c2dd3b6b6a2fe068f2dc7d8e6b460d39b2 --- blueprints/iotgateway/scripts/setup.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/blueprints/iotgateway/scripts/setup.sh b/blueprints/iotgateway/scripts/setup.sh index 2d8af77..638167b 100755 --- a/blueprints/iotgateway/scripts/setup.sh +++ b/blueprints/iotgateway/scripts/setup.sh @@ -136,7 +136,7 @@ install_edgex(){ verify_edgex() { set -o xtrace - source verifyedgex.sh + cd edgex && source verifyedgex.sh } @@ -152,11 +152,13 @@ install_cadvisor_edge(){ nodepaswd=$(echo ${nodeinfo} | cut -d"|" -f3) sshpass -p ${nodepaswd} ssh ${nodeusr}@${nodeip} ${SETUP_CADVISOR_ATEDGE} < /dev/null done < nodelist > /dev/null 2>&1 + echo "CADVISOR Installed in all the ELIOT IOT-GATEWAY Nodes" } install_prometheus(){ -set -o xtrace -source prometheus.sh | tee install_prometheus.log + set -o xtrace + source prometheus.sh | tee install_prometheus.log + echo "Prometheus deployed successfully on ELIOT Manager Node and integrated with CAdvisor running on IOT-Gateway Nodes " } # Start -- 2.16.6