diff options
author | Brian Freeman <bf1936@att.com> | 2019-04-23 23:54:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-23 23:54:38 +0000 |
commit | 5076ffec383b95935c8821c9f849a29a3bbef224 (patch) | |
tree | 4f67022384187e0fdd7aac910aee5ec7b6e49fe8 /kubernetes | |
parent | fdc049528aee000a27622c75e9be339ca6cd0513 (diff) | |
parent | d0d6919071303f14e6cc9f2f642fb588a12e000c (diff) |
Merge "remove startODL string check"
Diffstat (limited to 'kubernetes')
-rwxr-xr-x | kubernetes/appc/resources/config/appc/opt/onap/appc/bin/health_check.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kubernetes/appc/resources/config/appc/opt/onap/appc/bin/health_check.sh b/kubernetes/appc/resources/config/appc/opt/onap/appc/bin/health_check.sh index 481163a1d5..825f7ab56a 100755 --- a/kubernetes/appc/resources/config/appc/opt/onap/appc/bin/health_check.sh +++ b/kubernetes/appc/resources/config/appc/opt/onap/appc/bin/health_check.sh @@ -13,11 +13,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -startODL_status=$(ps -e | grep startODL | wc -l) waiting_bundles=$(/opt/opendaylight/current/bin/client bundle:list | grep Waiting | wc -l) run_level=$(/opt/opendaylight/current/bin/client system:start-level) - if [ "$run_level" == "Level 100" ] && [ "$startODL_status" -lt "1" ] && [ "$waiting_bundles" -lt "1" ] + if [ "$run_level" == "Level 100" ] && [ "$waiting_bundles" -lt "1" ] then echo APPC is healthy. else |