summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/resources/config/bin
diff options
context:
space:
mode:
authorjmac <james.macnider@amdocs.com>2018-04-11 21:52:01 +0000
committerjmac <james.macnider@amdocs.com>2018-04-11 21:52:06 +0000
commitc74329e0bbf40f9a39cb19b2ef23ab4801d42e2b (patch)
tree1d76c38c15ade373b6b3037246af731404484d98 /kubernetes/sdnc/resources/config/bin
parent809661a28e8b711e8c6504a22584467d79a952ac (diff)
Fix to get main SDNC pod to come up
Change-Id: I2a51a9f5b298346bf0f748d11a4eb723bdfc946a Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-899
Diffstat (limited to 'kubernetes/sdnc/resources/config/bin')
-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