summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2018-04-12 11:46:49 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-12 11:46:49 +0000
commitcee1efbac9389b19b76e8f3eac5ed015b663b269 (patch)
tree926f82cc7f10138077101f6ab8acff95db1cebf0 /kubernetes
parent52293c369364f464be90d2448772b4ccc6b97ff8 (diff)
parentc74329e0bbf40f9a39cb19b2ef23ab4801d42e2b (diff)
Merge "Fix to get main SDNC pod to come up"
Diffstat (limited to 'kubernetes')
-rwxr-xr-xkubernetes/sdnc/resources/config/bin/startODL.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/kubernetes/sdnc/resources/config/bin/startODL.sh b/kubernetes/sdnc/resources/config/bin/startODL.sh
index ee8106ccfe..aa50cdae29 100755
--- a/kubernetes/sdnc/resources/config/bin/startODL.sh
+++ b/kubernetes/sdnc/resources/config/bin/startODL.sh
@@ -27,8 +27,8 @@ function enable_odl_cluster(){
fi
echo "Installing Opendaylight cluster features"
- ${ODL_HOME}/bin/client -u karaf feature:install odl-mdsal-clustering
- ${ODL_HOME}/bin/client -u karaf feature:install odl-jolokia
+ ${ODL_HOME}/bin/client feature:install odl-mdsal-clustering
+ ${ODL_HOME}/bin/client feature:install odl-jolokia
echo "Update cluster information statically"
hm=$(hostname)
@@ -86,6 +86,10 @@ then
echo "Restarting OpenDaylight"
${ODL_HOME}/bin/stop
+
+ echo "Waiting 60 seconds for OpenDaylight stop to complete"
+ sleep 60
+
echo "Installed at `date`" > ${SDNC_HOME}/.installed
fi