Bug 1112448
Summary: | oo-accept-node ignores OPENSHIFT_CGROUP_SUBSYSTEMS config | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Brenton Leanhardt <bleanhar> |
Component: | Containers | Assignee: | Luke Meyer <lmeyer> |
Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.1.0 | CC: | adellape, admiller, agrimm, jialiu, jokerman, libra-onpremise-devel, lmeyer, mmccomas, tdawson, yanpzhan |
Target Milestone: | --- | Keywords: | Upstream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openshift-origin-node-util-1.22.10.1-1.el6op | Doc Type: | Bug Fix |
Doc Text: |
The oo-accept-node script compared the list of cgroup subsystems in use against a hard-coded, default list. However, a custom list could be set using the OPENSHIFT_CGROUP_SUBSYSTEMS parameter in the /etc/openshift/node.conf file. When a custom list was in use, the script failed when the custom list differed from the hard-coded, default list. This bug fix updates the oo-accept -node script to make these comparisons using the custom list in the OPENSHIFT_CGROUP_SUBSYSTEMS parameter, if set, and the script no longer fails in this way.
|
Story Points: | --- |
Clone Of: | 1112378 | Environment: | |
Last Closed: | 2014-08-04 13:27:31 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: | |||
Bug Depends On: | 1112378 | ||
Bug Blocks: |
Description
Brenton Leanhardt
2014-06-24 01:50:58 UTC
Check this after upstream fix has been QEed. https://github.com/openshift/enterprise-server/pull/317 cherry-picking this fix: commit 9017a2a4fd2c4ffde6ec1320680364efaf1d2a71 Author: Andy Grimm <agrimm> Date: Mon Jun 23 15:24:23 2014 -0400 Bug 1112378 - Respect OPENSHIFT_CGROUP_SUBSYSTEMS in oo-accept-node Verified on OpenShiftEnterpriseErrata/2.1.z/2014-07-14.1 Steps to verify: 1. Create an app on the test node first, and set the OPENSHIFT_CGROUP_SUBSYSTEMS=cpu,cpuacct,memory,net_cls,freezer,blkio in node.conf 2. Mount the blkio from /etc/cgconfig.conf 3. service cgconfig restart 4. oo-cgroup-enable -a 5. oo-accept-node -v Actual results: 5.[root@node1 ~]# oo-accept-node -v INFO: using default accept-node extensions INFO: loading node configuration file /etc/openshift/node.conf INFO: loading resource limit file /etc/openshift/resource_limits.conf INFO: finding external network device INFO: checking node public hostname resolution INFO: checking selinux status INFO: checking selinux openshift-origin policy INFO: checking selinux booleans INFO: checking package list INFO: checking services INFO: checking kernel semaphores >= 512 INFO: checking cgroups configuration INFO: checking cgroups processes INFO: find district uuid: 53c47286db26c8d0e8000001 INFO: determining node uid range: 1000 to 6999 INFO: traffic control not enabled in /etc/openshift/node.conf, set TRAFFIC_CONTROL_ENABLED=true to enable INFO: checking filesystem quotas INFO: checking quota db file selinux label INFO: checking 1 user accounts INFO: checking application dirs INFO: checking system httpd configs INFO: checking cartridge repository PASS Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-0999.html |