Bug 1119650 - oo-cgroup-enable does not work when remove net_cls from OPENSHIFT_CGROUP_SUBSYSTEMS.
Summary: oo-cgroup-enable does not work when remove net_cls from OPENSHIFT_CGROUP_SUBS...
Keywords:
Status: CLOSED EOL
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Containers
Version: 2.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-15 08:37 UTC by Johnny Liu
Modified: 2017-01-13 22:17 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-13 22:17:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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/


Note You need to log in before you can comment on or make changes to this bug.