X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=installation%2Fappc%2Fsrc%2Fmain%2Fscripts%2FdockerInstall.sh;h=264e8d9078bb58f2e83cf34e05e2d2a40a09bee6;hb=refs%2Fchanges%2F05%2F82705%2F2;hp=a1831554cf4268c7dfabe1f587b4c10710e5cb9e;hpb=80c7ca3eb3509163ebf5a4f94a7fdc37fc4fc16a;p=appc%2Fdeployment.git diff --git a/installation/appc/src/main/scripts/dockerInstall.sh b/installation/appc/src/main/scripts/dockerInstall.sh index a183155..264e8d9 100644 --- a/installation/appc/src/main/scripts/dockerInstall.sh +++ b/installation/appc/src/main/scripts/dockerInstall.sh @@ -40,6 +40,15 @@ ${ODL_HOME}/bin/start echo "Waiting ${SLEEP_TIME} seconds for OpenDaylight to initialize" sleep ${SLEEP_TIME} +echo "Checking that Karaf can be accessed" +clientOutput=$(${ODL_HOME}/bin/client shell:echo KarafLoginCheckIsWorking) +if echo "$clientOutput" | grep -q "KarafLoginCheckIsWorking"; then +echo "Karaf login succeeded" +else +echo "Error during Karaf login" +exit 1 +fi + echo "Copying a working version of the logging configuration into the opendaylight etc folder" cp ${APPC_HOME}/data/org.ops4j.pax.logging.cfg ${ODL_HOME}/etc/org.ops4j.pax.logging.cfg echo "Copying a new version of aaf cadi shiro into the opendaylight deploy folder"