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

Mesos fails to escape command health checks

    XMLWordPrintableJSON

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.

      Attachments

        1. health_task.gif
          878 kB
          haosdent

        Activity

          People

            akagup Akash Gupta
            lloesche Lukas Loesche
            Alex R Alex R
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: