]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
Adds cgroups packages and net_cls kernel module to ubuntu systems 94/head
authorIvo Jimenez <ivo.jimenez@gmail.com>
Fri, 24 Jul 2015 20:15:56 +0000 (13:15 -0700)
committerIvo Jimenez <ivo.jimenez@gmail.com>
Fri, 31 Jul 2015 18:09:08 +0000 (11:09 -0700)
commit369631b1646f9fddc65a7a8b1996f4622138693d
treeb87201061051f7cabd5a07a21bf3830f61677071
parent37157f12ffef9e88e0ac23d22dd8d7dfdc6f4b2f
Adds cgroups packages and net_cls kernel module to ubuntu systems

This commit is part of the work for http://tracker.ceph.com/issues/12424
which enables the ceph task in ceph/ceph-qa-suite to create and place
osd/mon/mds in control groups.

For ubuntu, kernels for precise and up have CONFIG_CGROUP_* enabled, so
the only thing that it's required is to install cgroup-lite which is a
service that mounts the cgroups virtual FS. The cgroup-bin package will
also be used from the ceph task to manipulate (create/modify/delete)
control groups.

The net_cls subsystem is included as a module (cls_cgroup) and is not
enabled by cgroup-lite, i.e. it has to be explicitly loaded. so we add
it to /etc/modules
roles/testnode/templates/modules
roles/testnode/vars/ubuntu.yml