Have checked this URL (https://support.mesosphere.com/hc/en-us/articles/205575835-My-Marathon-app-isn-t-deploying-What-s-wrong-) the logs did not show any reason. Also logs in /var/log/syslog and /var/log/mesos do not give any reason.
The JSON file of the app I'm trying to deploy:
{
"id": "/nodeexporter",
"instances": 1,
"constraints": [["hostname", "UNIQUE"]],
"container": {
"type": "DOCKER",
"docker": {
"image": "prom/node-exporter",
"network": "BRIDGE",
"portMappings": [
{
"containerPort": 9100,
"hostPort": 0,
"protocol": "tcp"
}
]
}
},
"healthChecks": [{
"protocol": "TCP",
"gracePeriodSeconds": 600,
"intervalSeconds": 30,
"portIndex": 0,
"timeoutSeconds": 10,
"maxConsecutiveFailures": 2
}]
}