RHEL 7.4 Resource -- Loading NETPRIO_CGROUP module and mounting it does not create default files

Latest response

With RHEL 7.4, after loading netprio_cgroup and sch_mqprio and mounting CGROUP, I was expecting default files listed below to be created under /sys/fs/cgroup/net_prio. But they do not get created.

cgroup.clone_children
cgroup.procs
net_prio.ifpriomap
notify_on_release
tasks
cgroup.event_control
cgroup.sane_behavior
net_prio.prioidx
release_agent

These are the steps I executed:
modprobe netprio_cgroup
modprobe sch_mqprio
mount -t tmpfs cgroup_root /sys/fs/cgroup
mkdir /sys/fs/cgroup/net_prio
mount -t cgroup -o net_prio none /sys/fs/cgroup/net_prio

On one of the RHEL 7.2 systems, it is working as expected. Any suggestions?

Responses

The issue is resolved. After some debugging it was found that with RHEL 7.4 net_prio cgroup sub-system need to be mounted with option

-o net_prio,net_cls instead of -o net_prio

Close

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