Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-4812

Mesos fails to escape command health checks

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.25.0
    • Fix Version/s: None
    • Component/s: None
    • Epic Link:
    • Sprint:
      Mesosphere Sprint 65, Mesosphere Sprint 66
    • Story Points:
      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.

        Attachments

          Activity

            People

            • Assignee:
              akagup Akash Gupta
              Reporter:
              lloesche Lukas Loesche
              Shepherd:
              Alexander Rukletsov
            • Votes:
              4 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: