You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Timothy St. Clair (JIRA)" <ji...@apache.org> on 2014/04/07 20:29:15 UTC

[jira] [Commented] (MESOS-1195) Systemd : cgroups fails on co-mounted subsystem

    [ https://issues.apache.org/jira/browse/MESOS-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13962103#comment-13962103 ] 

Timothy St. Clair commented on MESOS-1195:
------------------------------------------

FWIW the logic fails in cgroups.cpp @: 

if (attached.get().size() > 1) {
      return Error("The " + subsystem + " subsystem is co-mounted at " +
                   hierarchy + " with other subsytems");
}

This logic has no comment, and doesn't really make sense to me, so perhaps a comment is in order why it exists at all 


> Systemd : cgroups fails on co-mounted subsystem
> -----------------------------------------------
>
>                 Key: MESOS-1195
>                 URL: https://issues.apache.org/jira/browse/MESOS-1195
>             Project: Mesos
>          Issue Type: Bug
>          Components: containerization
>    Affects Versions: 0.19.0
>            Reporter: Timothy St. Clair
>
> When attempting to configure mesos to use systemd slices it fails creating the isolator: 
> I0407 12:39:28.035354 14916 containerizer.cpp:180] Using isolation: cgroups/cpu,cgroups/mem
> Failed to create a containerizer: Could not create isolator cgroups/cpu: Failed to create isolator: The cpu subsystem is co-mounted at /sys/fs/cgroup/cpu with other subsytems
> ------ details ------
> /sys/fs/cgroup
> total 0
> drwxr-xr-x. 12 root root 280 Mar 18 08:47 .
> drwxr-xr-x.  6 root root   0 Mar 18 08:47 ..
> drwxr-xr-x.  2 root root   0 Mar 18 08:47 blkio
> lrwxrwxrwx.  1 root root  11 Mar 18 08:47 cpu -> cpu,cpuacct
> lrwxrwxrwx.  1 root root  11 Mar 18 08:47 cpuacct -> cpu,cpuacct
> drwxr-xr-x.  2 root root   0 Mar 18 08:47 cpu,cpuacct
> drwxr-xr-x.  2 root root   0 Mar 18 08:47 cpuset
> drwxr-xr-x.  2 root root   0 Mar 18 08:47 devices
> drwxr-xr-x.  2 root root   0 Mar 18 08:47 freezer
> drwxr-xr-x.  2 root root   0 Mar 18 08:47 hugetlb
> drwxr-xr-x.  3 root root   0 Apr  3 11:26 memory
> drwxr-xr-x.  2 root root   0 Mar 18 08:47 net_cls
> drwxr-xr-x.  2 root root   0 Mar 18 08:47 perf_event
> drwxr-xr-x.  4 root root   0 Mar 18 08:47 systemd



--
This message was sent by Atlassian JIRA
(v6.2#6252)