Bug 1028576 - [PROD] oo-accept-node fails on MCS labels
Summary: [PROD] oo-accept-node fails on MCS labels
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: ---
Assignee: mfisher
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-08 19:39 UTC by Sten Turpin
Modified: 2015-05-14 23:32 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-24 03:29:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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