mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukas Loesche (JIRA)" <>
Subject [jira] [Commented] (MESOS-4812) Mesos fails to escape command health checks
Date Thu, 20 Jul 2017 10:46:00 GMT


Lukas Loesche commented on MESOS-4812:

[~alexr] do you have cycles to look into this?

> Mesos fails to escape command health checks
> -------------------------------------------
>                 Key: MESOS-4812
>                 URL:
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 0.25.0
>            Reporter: Lukas Loesche
>            Assignee: haosdent
>              Labels: health-check, mesosphere, tech-debt
>         Attachments: health_task.gif
> As described in
> I would like to run a command health check
> {noformat}
> /bin/bash -c "</dev/tcp/$HOST/$PORT0"
> {noformat}
> 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.

This message was sent by Atlassian JIRA

View raw message