Bug 1028576

Summary: [PROD] oo-accept-node fails on MCS labels
Product: OpenShift Online Reporter: Sten Turpin <sten>
Component: ContainersAssignee: mfisher
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 2.xCC: bmeng
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-24 03:29:17 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:

Description Sten Turpin 2013-11-08 19:39:42 UTC
Description of problem: 3 new nodes fail oo-accept-node on MCS labels


Version-Release number of selected component (if applicable):


How reproducible:
always on these 3 nodes

Steps to Reproduce:
1. run oo-accept-node -v


Actual results:
INFO: checking selinux nodes
uninitialized constant OpenShift::Runtime::Utils::SELinux::EtcUtils
uninitialized constant OpenShift::Runtime::Utils::SELinux::EtcUtils
FAIL: Was not able to get MCS labels for the min or max uids


Expected results:
oo-accept-node should pass


Additional info:

Comment 1 Rob Millner 2013-11-08 19:41:53 UTC
It looks like there's an issue with how EtcUtils was included into the SELinux module.

Comment 2 Rob Millner 2013-11-09 01:59:39 UTC
Master pull request:
https://github.com/openshift/origin-server/pull/4146

Stage pull request:
https://github.com/openshift/origin-server/pull/4145

Comment 3 openshift-github-bot 2013-11-09 03:59:11 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/8528dd424d2b5e485c34a85ce51dcef3b209f4b0
Bug 1028576 - EtcUtils should be explicitly required by the selinux module if its going to be used.

Comment 4 Meng Bo 2013-11-11 11:48:24 UTC
Checked devenv_4016 with the fix in, there is no issue for the oo-accept-node, and no regression.

Move the bug to verified.