From: palsus Date: Thu, 1 Apr 2021 07:49:20 +0000 (+0000) Subject: Fix for bug 1433 check if common-db is ready X-Git-Tag: branch-bug1511-start~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=321ca740b8b2aacb30315b081efd49cabd3f5751;p=osm%2FMON.git Fix for bug 1433 check if common-db is ready Change-Id: Id2ed40088cbc0a7f73752b125144a9addd515918 Signed-off-by: palsus (cherry picked from commit 0cf6b55f445ceacfe4066fd7cc8f81f779a27629) --- diff --git a/osm_mon/cmd/mon_utils.py b/osm_mon/cmd/mon_utils.py index a5d3d07..5b62d6c 100644 --- a/osm_mon/cmd/mon_utils.py +++ b/osm_mon/cmd/mon_utils.py @@ -75,14 +75,14 @@ def wait_till_kafka_is_ready(config, process_name="osm-mon", kafka_wait_time=5): def wait_till_core_services_are_ready(config, process_name="osm-mon", commondb_wait_time=5, kafka_wait_time=5): - logging.debug("wait_till_services_are_ready") + logging.debug("wait_till_core_services_are_ready") if not config: logging.info("Config information is not available") return False # Check if common-db is ready - wait_till_kafka_is_ready(config, process_name, commondb_wait_time) + wait_till_commondb_is_ready(config, process_name, commondb_wait_time) # Check if kafka is ready wait_till_kafka_is_ready(config, process_name, kafka_wait_time)