mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Budnik <abud...@mesosphere.com>
Subject Re: Review Request 62381: Removed `docker exec` when performing health checks in docker executor.
Date Thu, 21 Sep 2017 10:30:24 GMT


> On Sept. 19, 2017, 11:13 p.m., Gastón Kleiman wrote:
> > src/docker/executor.cpp
> > Line 590 (original), 596 (patched)
> > <https://reviews.apache.org/r/62381/diff/2/?file=1828609#file1828609line596>
> >
> >     We should check with Andrew Schwarztmeyer to see what to do on Windows.
> 
> Alexander Rukletsov wrote:
>     And at least shorten the scope of the #ifdef to filtering available namespaces.

Why we should shorten it? Do we expect that Windows will support namespaces someday?


- Andrei


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62381/#review185744
-----------------------------------------------------------


On Sept. 18, 2017, 5:21 p.m., Andrei Budnik wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62381/
> -----------------------------------------------------------
> 
> (Updated Sept. 18, 2017, 5:21 p.m.)
> 
> 
> Review request for mesos, Alexander Rukletsov, Gastón Kleiman, haosdent huang, and Lukas
Loesche.
> 
> 
> Bugs: MESOS-4812
>     https://issues.apache.org/jira/browse/MESOS-4812
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Mesos can enter namespaces via `setns` for launched subprocesses, hence
> we got rid of `docker exec` for command health checks. This change
> leads to more stable command health checks by making them independent
> from docker daemon that might hang. Also, this commit fixes the issue
> with incorrect escaping of quote characters in command health checks.
> 
> 
> Diffs
> -----
> 
>   src/docker/executor.cpp e9949f652cd8527991ebfdfbf14e68b4c958fe79 
>   src/tests/health_check_tests.cpp f4b50b1cb505084f64bf2dd279d9189ca65c8cdc 
> 
> 
> Diff: https://reviews.apache.org/r/62381/diff/2/
> 
> 
> Testing
> -------
> 
> internal CI
> 
> 
> Thanks,
> 
> Andrei Budnik
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message