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


Fix it, then Ship it!





src/slave/containerizer/mesos/isolators/network/cni/cni.cpp
Lines 1312-1313 (patched)
<https://reviews.apache.org/r/69590/#comment296517>

    This log line along is not enough information. You need to at containerId 
and network name so that folks can correlate.



src/slave/containerizer/mesos/isolators/network/cni/cni.cpp
Lines 1785 (patched)
<https://reviews.apache.org/r/69590/#comment296518>

    Ditto



src/slave/containerizer/mesos/isolators/network/cni/paths.hpp
Line 35 (original), 37 (patched)
<https://reviews.apache.org/r/69590/#comment296516>

    Please update the comments here.



src/slave/containerizer/mesos/isolators/network/cni/paths.hpp
Line 48 (original), 50 (patched)
<https://reviews.apache.org/r/69590/#comment296515>

    No need for this variable anymore. See my comments below.



src/slave/containerizer/mesos/isolators/network/cni/paths.cpp
Lines 37 (patched)
<https://reviews.apache.org/r/69590/#comment296514>

    instead of use `paths::ROOT_DIR`, you should use `flags.runtime_dir`


- Jie Yu


On Dec. 19, 2018, 4:52 a.m., Deepak Goel wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/69590/
> -----------------------------------------------------------
> 
> (Updated Dec. 19, 2018, 4:52 a.m.)
> 
> 
> Review request for mesos, Gilbert Song, Jie Yu, Qian Zhang, and Sergey 
> Urbanovich.
> 
> 
> Bugs: MESOS-9492
>     https://issues.apache.org/jira/browse/MESOS-9492
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This patch moves the CNI root directory to mesos working directory
> so that the network related information persist across reboot which
> will allow cni isolator to do proper cleanup post reboot
> 
> 
> Diffs
> -----
> 
>   docs/cni.md 4a0e0bf57c6ff8d2bcc9fdf30d20672324da224c 
>   docs/configuration/agent.md 7a8df6852dc2af174a6c5a552dca88fa1b1c29f3 
>   src/slave/containerizer/mesos/isolators/network/cni/cni.cpp 
> f19edce0671686bc2dccf5dc6d3abc40b925852e 
>   src/slave/containerizer/mesos/isolators/network/cni/paths.hpp 
> 3b06fb101d03b32a3a148e2b79502413a7268d1e 
>   src/slave/containerizer/mesos/isolators/network/cni/paths.cpp 
> c1cb4f7d667159abbf87219cde30528a4a7b5283 
>   src/slave/flags.hpp 29d8b7985ffde57da02b5fe0d3a524e98acc27c8 
>   src/slave/flags.cpp ccaf65029ec2d0e78041fc3992a0bf5ca0798686 
>   src/tests/containerizer/cni_isolator_tests.cpp 
> 5473737cdc71a3179c22be0d4db2060a6ef53d24 
> 
> 
> Diff: https://reviews.apache.org/r/69590/diff/4/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Deepak Goel
> 
>

Reply via email to