-
Notifications
You must be signed in to change notification settings - Fork 186
Description
I've just started experimenting with Singularity, so apologies if I've just misunderstood how it all works.
I've created a deploy for an ON_DEMAND request with the following health check fields:
"deployHealthTimeoutSeconds": 60,
"healthcheckUri": "/health",
"healthcheckPortIndex": 1,
"healthcheckMaxTotalTimeoutSeconds": 60,
After creating a run I can see the task in the UI, where the health check section says
Beginning when Task enters running, wait a max of 45s for app to start responding, then hit /health with a 5 second timeout every 5 second(s) until: HTTP 200 is recieved
followed by a dashed box with the text "No healthchecks". The HTTP access logs for the task don't show any hits on the /health endpoint. When querying /api/tasks/ids/request/REQUEST_NAME the task shows up in notYetHealthy. After 10 minutes it's killed with the message "OVERDUE_NEW_TASK - Task did not become healthy after 10:00.000".
If I click on the "/health" link in the UI it shows a correct health page, which gives me some confidence that I've got the port mapping set up right.
I'm using a local docker-compose setup for testing, with the following images:
- hubspot/singularityservice:0.22.0
- mesosphere/mesos-slave:1.5.0
- mesosphere/mesos-master:1.5.0
- netflixoss/exhibitor:1.5.2 (for Zookeeper)
I'm using the Docker containerizer with BRIDGE networking and not using the Singularity executor, in case that makes a difference.