From: jmac Date: Fri, 7 Sep 2018 20:23:53 +0000 (+0000) Subject: fix sdnc.cluster script to use new NodePort prefix X-Git-Tag: 3.0.0-ONAP~382^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=7e131f3f58de49bbcb513c0caee1523f5862a24b;p=oom.git fix sdnc.cluster script to use new NodePort prefix Change-Id: Ie2c84aad411e26019eb38cb9262ff98096345ad6 Signed-off-by: jmac Issue-ID: OOM-1379 --- diff --git a/kubernetes/sdnc/resources/geo/bin/sdnc.cluster b/kubernetes/sdnc/resources/geo/bin/sdnc.cluster index 87cdeffe89..48db5744de 100755 --- a/kubernetes/sdnc/resources/geo/bin/sdnc.cluster +++ b/kubernetes/sdnc/resources/geo/bin/sdnc.cluster @@ -42,7 +42,7 @@ PASSWORD=admin for pod_number in {0..2} do - response=`curl -s -u $USERNAME:$PASSWORD -H "Content-Type: application/json" -H "Accept: application/json" -X GET http://localhost:3026$((${pod_number} + 1))/jolokia/read/org.opendaylight.controller:Category=Shards,name=member-$((${MEMBER_NUMBER} + ${pod_number}))-shard-default-config,type=DistributedConfigDatastore` + response=`curl -s -u $USERNAME:$PASSWORD -H "Content-Type: application/json" -H "Accept: application/json" -X GET http://localhost:3046$((${pod_number} + 1))/jolokia/read/org.opendaylight.controller:Category=Shards,name=member-$((${MEMBER_NUMBER} + ${pod_number}))-shard-default-config,type=DistributedConfigDatastore` if [ $? -ne 0 ]; then continue