Skip to content

Commit

Permalink
wait for kafka to be ready
Browse files Browse the repository at this point in the history
  • Loading branch information
nasark committed Jan 3, 2024
1 parent abc7ef4 commit 2a5faca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions images/manageiq-orchestrator/container-assets/entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 2a5faca

Please sign in to comment.