OpenShift Enterprise 1.2 Deployment Guide refers to /cgroup/all which does not exist

Solution Verified - Updated -

Issue

  • In the OpenShift Enterprise 1.2 Deployment guide, under section 6.7.2. Configuring cgroups, it asks to verify the cgroups configuration and makes references to the /cgroup/all directory. There is also no mention of /cgroup/all in /etc/cgconfig.conf. Is this a documentation bug?

  • Here is the snip:

Verifying the cgroups Configuration
When cgroups have been configured correctly you should see the following:

    the /etc/cgconfig.conf file exists with SELinux label system_u:object_r:cgconfig_etc_t:s0.
    the /etc/cgconfig.conf file mounts cpu, cpuacct, memory, and net_cls on the /cgroup/all directory.
    the /cgroup directory exists, with SELinux label system_u:object_r:cgroup_t:s0.
    the command service cgconfig status returns "Running".
    the /cgroup/all directory exists and contains subsystem files for cpu, cpuacct, memory, and net_cls. 

When the cgred service is running correctly you should see the following:

    the /etc/cgrules.conf file exists with SELinux label system_u:object_r:cgrules_etc_t:s0.
    the service cgred status command returns "Running". 

When the openshift-cgroups pseudo-service has been run successfully, the /cgroup/all/openshift directory should exist, and contain subsystem files for cpu, cpuacct, memory, freezer, and net_cls. 

The contents of /opt/rh/ruby193/root/usr/share/gems/doc/openshift-origin-node-*/cgconfig.conf contains:

mount {
        cpuset  = /cgroup/cpuset;
        cpu     = /cgroup/cpu;
        cpuacct = /cgroup/cpuacct;
        memory  = /cgroup/memory;
        devices = /cgroup/devices;
        freezer = /cgroup/freezer;
        net_cls = /cgroup/net_cls;
        blkio   = /cgroup/blkio;
}

Environment

  • OpenShift Enterprise 1.2
  • OpenShift Enterprise 1.2 Deployment Guide

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.