Description of problem: Running oo-accept-broker returns FAIL: LOCAL: mongod service not enabled, but service is active. How reproducible: Always Steps to Reproduce: 1. Setup system locale info (In my case Colombia) 2. Install openshift origin from puppet scripts 3. Run oo-accept-broker Actual results: FAIL: LOCAL: mongod service not enabled Expected results: Additional info: The check on the script assumes english language (checks for on on line 507): chkconfig --list 2>/dev/null | grep '^mongod.*2:on.*3:on.*4:on.*5:on' but as system returns mongod 0:desactivado 1:desactivado 2:activo 3:activo 4:activo 5:activo 6:desactivado the check fails.
pull request https://github.com/openshift/origin-server/pull/3872
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/136a1984465a3b9e32fae39df8bf1772767cb0f4 bug 950299 and bug 1018569 https://bugzilla.redhat.com/show_bug.cgi?id=950299 https://bugzilla.redhat.com/show_bug.cgi?id=1018569 changed the way it checks package and service status to make it runs on all language
Verified on OpenShift Origin-3 on Fedora 19(installed with oo-install), oo-accept-broker works fine even locale is not English language. Steps used as below: 1. Install OpenShift Origin via oo-install. 2. Run oo-accept-broker. $ oo-accept-broker NOTICE: SELinux is Enforcing PASS 3. Change LANG to zh_CN.UTF-8 $ export LANG=zh_CN.UTF-8 4. Run chkconfig to check that language is Chinese. $ chkconfig activemq 0:关 1:关 2:开 3:开 4:开 5:开 6:关 5. Run oo-accept-broker again. $ oo-accept-broker NOTICE: SELinux is Enforcing PASS