[
https://issues.apache.org/jira/browse/MESOS-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14946545#comment-14946545
]
Erhan Kesken commented on MESOS-3136:
-------------------------------------
both mesos-docker-executor and mesos-health-check binaries are under
/usr/libexec/mesos folder.
before passing --launch-dir to mesos-slave, mesos-docker-executor was failing,
launch_dir fixed that problem but at next step health_check failed.
when I checked code at
https://github.com/apache/mesos/blob/5058fac1083dc91bca54d33c26c810c17ad95dd1/src/docker/executor.cpp#L573,
I concluded that --launch-dir parameter does not set MESOS_LAUNCHER_DIR
environment variable.
I removed --launch-dir parameter and put MESOS_LAUNCHER_DIR enviroment setting
to mesos-slave process by editing /etc/default/mesos-slave file. I confirmed
new enviroment setting is active by checking /proc/XXXX/environ file.
mesos-docker-executor did not fail like I passed --launch-dir parameter, but
mesos-health-check failed again.
I checked mesos-docker-executor process environment from proc, but
MESOS_LAUNCHER_DIR was not there. finally I solved problem by putting
environment variable to my marathon config after understanding health checks
are running inside docker.
> COMMAND health checks with Marathon 0.10.0 are broken
> -----------------------------------------------------
>
> Key: MESOS-3136
> URL: https://issues.apache.org/jira/browse/MESOS-3136
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 0.23.0
> Reporter: Dr. Stefan Schimanski
> Assignee: haosdent
> Priority: Critical
> Fix For: 0.23.1, 0.24.1, 0.25.0
>
> Attachments: MESOS-3136_0_23_0.patch, MESOS-3136_0_24_0.patch
>
>
> When deploying Mesos 0.23rc4 with latest Marathon 0.10.0 RC3 command health
> check stop working. Rolling back to Mesos 0.22.1 fixes the problem.
> Containerizer is Docker.
> All packages are from official Mesosphere Ubuntu 14.04 sources.
> The issue must be analyzed further.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)