Adding Kafka to Health Check 92/9392/1
authorbeierlm <mark.beierl@canonical.com>
Fri, 10 Jul 2020 19:42:38 +0000 (15:42 -0400)
committerbeierlm <mark.beierl@canonical.com>
Fri, 10 Jul 2020 20:45:18 +0000 (22:45 +0200)
Installation needs to wait for Kafka to be healthy before
continuing.

Change-Id: I8b7f0fd7c709075c7541c8962d808d4e4e45ed2c
Signed-off-by: beierlm <mark.beierl@canonical.com>
(cherry picked from commit 5a2ad88eaa8cdbb818e75c2f661a3d4719d5de66)

installers/osm_health.sh

index aed8e7a..0f7922a 100755 (executable)
@@ -16,7 +16,7 @@
 # limitations under the License.
 
 WAIT_TIME=340  # LCM healthcheck needs 2x(30+140) senconds
-SERVICES_WITH_HEALTH="nbi ro zookeeper lcm mon light-ui pol"
+SERVICES_WITH_HEALTH="nbi ro zookeeper lcm mon light-ui pol kafka"
 NUM_SERVICES_WITH_HEALTH=$(echo $SERVICES_WITH_HEALTH | wc -w)
 WAIT_FINAL=30
 OSM_DEPLOYMENT="light-ui nbi lcm ro mon pol keystone"