> On Янв. 13, 2020, 6:53 д.п., Qian Zhang wrote: > > src/slave/containerizer/mesos/isolators/cgroups/cgroups.cpp > > Lines 315 (patched) > > <https://reviews.apache.org/r/71966/diff/1/?file=2199233#file2199233line316> > > > > Shouldn't it be a warning instead? > > Andrei Budnik wrote: > I copied it from the Linux Launcher: > https://github.com/apache/mesos/blob/1e75e3875a14e5d358a4f2f278831057bf689267/src/slave/containerizer/mesos/linux_launcher.cpp#L329-L331
I copied a comment from the Linux launcher to clarify the reason we do `parseCgroupPath`. This log message is written for cgroups that are not created by the Mesos agent. We use `mesos` separator to distinguish between nested containers created by Mesos and nested containers created by some 3rd-party components. I think we should leave `INFO` here (and in the Linux launcher) since it's a normal case. We shouldn't warn anyone (operators). - Andrei ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/71966/#review219229 ----------------------------------------------------------- On Фев. 12, 2020, 3:47 п.п., Andrei Budnik wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/71966/ > ----------------------------------------------------------- > > (Updated Фев. 12, 2020, 3:47 п.п.) > > > Review request for mesos, Greg Mann and Qian Zhang. > > > Bugs: MESOS-10079 > https://issues.apache.org/jira/browse/MESOS-10079 > > > Repository: mesos > > > Description > ------- > > This patch enables recovery for nested cgroups and implements > the detection of orphaned nested cgroups. > > > Diffs > ----- > > src/slave/containerizer/mesos/isolators/cgroups/cgroups.cpp > b12b73d8e0161d448075378765e77867521de04e > > > Diff: https://reviews.apache.org/r/71966/diff/3/ > > > Testing > ------- > > > Thanks, > > Andrei Budnik > >
