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


Fix it, then Ship it!





src/slave/containerizer/mesos/isolators/docker/volume/isolator.cpp
Lines 91-94 (patched)
<https://reviews.apache.org/r/66175/#comment279901>

    Just one question: under what scenarios does `ns::supported` return an 
error? I ask because this might lead to misleading error messages.



src/slave/containerizer/mesos/isolators/filesystem/shared.cpp
Line 59 (original), 59 (patched)
<https://reviews.apache.org/r/66175/#comment279900>

    // TODO(andschwa): Write a cross-platform `os::is_root()` function...


- Andrew Schwartzmeyer


On March 20, 2018, 1:13 p.m., James Peach wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66175/
> -----------------------------------------------------------
> 
> (Updated March 20, 2018, 1:13 p.m.)
> 
> 
> Review request for mesos, Andrew Schwartzmeyer and Jie Yu.
> 
> 
> Bugs: MESOS-6555
>     https://issues.apache.org/jira/browse/MESOS-6555
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Some isolators assumed that the Linux namespaces they needed were
> supported but did not explicitly check for them. Added explicit
> checks for the required namespaces so that the isolators can emit
> a more specifc error message.
> 
> 
> Diffs
> -----
> 
>   src/slave/containerizer/mesos/isolators/docker/volume/isolator.cpp 
> a6f05a8cf7eab2b2cc4c2142efdf3125462ec68e 
>   src/slave/containerizer/mesos/isolators/filesystem/linux.cpp 
> 6ee249997fcdfa37f7d073d9c150d06908b3f921 
>   src/slave/containerizer/mesos/isolators/filesystem/shared.cpp 
> 118f39871fd76ca00b92e4fa80c698a2a8f02f19 
>   src/slave/containerizer/mesos/isolators/network/cni/cni.cpp 
> d8dc02a686603e8f5dca073084c09992270b7f42 
> 
> 
> Diff: https://reviews.apache.org/r/66175/diff/1/
> 
> 
> Testing
> -------
> 
> make check (Fedora 27)
> 
> 
> Thanks,
> 
> James Peach
> 
>

Reply via email to