Fix to get main SDNC pod to come up 45/42345/1
authorjmac <james.macnider@amdocs.com>
Wed, 11 Apr 2018 21:52:01 +0000 (21:52 +0000)
committerjmac <james.macnider@amdocs.com>
Wed, 11 Apr 2018 21:52:06 +0000 (21:52 +0000)
Change-Id: I2a51a9f5b298346bf0f748d11a4eb723bdfc946a
Signed-off-by: jmac <james.macnider@amdocs.com>
Issue-ID: OOM-899

kubernetes/sdnc/resources/config/bin/startODL.sh

index ee8106c..aa50cda 100755 (executable)
@@ -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