Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.25.0
-
None
-
None
-
Mesosphere Sprint 65, Mesosphere Sprint 66
-
5
Description
As described in https://github.com/mesosphere/marathon/issues/3333
I would like to run a command health check
/bin/bash -c "</dev/tcp/$HOST/$PORT0"
The health check fails because Mesos, while running the command inside double quotes of a sh -c "" doesn't escape the double quotes in the command.
If I escape the double quotes myself the command health check succeeds. But this would mean that the user needs intimate knowledge of how Mesos executes his commands which can't be right.
I was told this is not a Marathon but a Mesos issue so am opening this JIRA. I don't know if this only affects the command health check.