+++ This bug was initially created as a clone of Bug #950299 +++ Description of problem: Running oo-accept-broker won't return package not installed in French system. How reproducible: Always Steps to Reproduce: 1. Setup system locale info (In my case French) 2. Install openshift origin. 3. Remove mongodb 3. Run oo-accept-broker Actual results: FAIL: LOCAL: mongod service not enabled Expected results: package mongodb is not installed Additional info: The check on the script assumes english language (checks for line 368): if echo $PKGSTATUS | grep "not installed" >/dev/null However, in Francais, it is "le paquet $PKGNAME n'est pas installé" the check fails.
pull request https://github.com/openshift/origin-server/pull/3872
The pull request above is merged. This should now be fixed.
Verified on oso-3 on Feodra 19(setup with oo-install) 1. Edit /usr/sbin/oo-accept-broker on line 637, added a line of additional package to check which is not on the system: eg: check_packages abc 2. export LC_ALL=fr_FR.utf_8 3. oo-accept-broker -v Result: The program is able to detect the package which is not installed. FAIL: package abc is not installed