Bug 1119650

Summary: oo-cgroup-enable does not work when remove net_cls from OPENSHIFT_CGROUP_SUBSYSTEMS.
Product: OpenShift Container Platform Reporter: Johnny Liu <jialiu>
Component: ContainersAssignee: Brenton Leanhardt <bleanhar>
Status: CLOSED EOL QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.2.0CC: jokerman, libra-onpremise-devel, mmccomas, rthrashe
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-13 22:17:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Johnny Liu 2014-07-15 08:37:55 UTC
Description of problem:
When user remove net_cls from OPENSHIFT_CGROUP_SUBSYSTEMS, "oo-cgroup-enable -a" does not work.
# oo-cgroup-enable -a
undefined method `[]=' for nil:NilClass

Version-Release number of selected component (if applicable):
rubygem-openshift-origin-node-1.23.9.11-1.el6op.noarch

How reproducible:
Always

Steps to Reproduce:
1.Create an app.
2.On node, run "oo-cgroup-disable -a"
3.Set OPENSHIFT_CGROUP_SUBSYSTEMS in /etc/openshift/node.conf, note that not include net_cls
OPENSHIFT_CGROUP_SUBSYSTEMS=cpu,cpuacct,memory,freezer,blkio
4.On node, run "oo-cgroup-enable -a"


Actual results:
# oo-cgroup-enable -a
undefined method `[]=' for nil:NilClass

Expected results:
should be no error, and no net_cls cgroup subsystem is defined.

Additional info:
If remove other CGROUP items, e.g: memory, it is working well.

Comment 1 Rory Thrasher 2017-01-13 22:17:20 UTC
OpenShift Enterprise v2 has officially reached EoL.  This product is no longer supported and bugs will be closed.

Please look into the replacement enterprise-grade container option, OpenShift Container Platform v3.  https://www.openshift.com/container-platform/

More information can be found here: https://access.redhat.com/support/policy/updates/openshift/