From 2a5faca7814c4f7fcce77074465774d5ac72346d Mon Sep 17 00:00:00 2001 From: nasark Date: Wed, 5 Oct 2022 17:01:33 -0400 Subject: [PATCH] wait for kafka to be ready --- images/manageiq-orchestrator/container-assets/entrypoint | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/images/manageiq-orchestrator/container-assets/entrypoint b/images/manageiq-orchestrator/container-assets/entrypoint index ab631b423..25493091c 100755 --- a/images/manageiq-orchestrator/container-assets/entrypoint +++ b/images/manageiq-orchestrator/container-assets/entrypoint @@ -117,6 +117,10 @@ EOS check_svc_status ${MEMCACHED_SERVICE_HOST} ${MEMCACHED_SERVICE_PORT} check_svc_status ${database_hostname} ${database_port} +if [ -n "$MESSAGING_HOSTNAME" ] && [ -n "$MESSAGING_PORT" ]; then + check_svc_status ${MESSAGING_HOSTNAME} ${MESSAGING_PORT} +fi + check_deployment_status || exit 1 pushd ${APP_ROOT}