Skip to content
Snippets Groups Projects
Commit deb99f3d authored by diazb's avatar diazb
Browse files

Adds healthcheck to POL


Change-Id: I7680e9d4ba70e7d46ff155071cfb75dca64f5e35
Signed-off-by: default avatarBenjamin Diaz <bdiaz@whitestack.com>
parent c34a5439
No related branches found
No related tags found
No related merge requests found
......@@ -55,4 +55,7 @@ ENV OSMPOL_SQL_DATABASE_URI sqlite:///mon_sqlite.db
ENV OSMPOL_GLOBAL_LOG_LEVEL INFO
HEALTHCHECK --interval=5s --timeout=2s --retries=12 \
CMD osm-pol-healthcheck || exit 1
CMD /bin/bash scripts/start.sh
#!/bin/sh
WAIT_TIME=340 # LCM healthcheck needs 2x(30+140) senconds
SERVICES_WITH_HEALTH="nbi ro zookeeper lcm mon light-ui"
SERVICES_WITH_HEALTH="nbi ro zookeeper lcm mon light-ui pol"
NUM_SERVICES_WITH_HEALTH=$(echo $SERVICES_WITH_HEALTH | wc -w)
WAIT_FINAL=30
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment