Bug 1108762
| Summary: | Need to install v8314 package to start openshift-broker service | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Kenjiro Nakayama <knakayam> |
| Component: | Node | Assignee: | Luke Meyer <lmeyer> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | high | ||
| Version: | 2.1.0 | CC: | adellape, bleanhar, jialiu, jokerman, knakayam, libra-onpremise-devel, lmeyer, mmccomas, xiama |
| Target Milestone: | --- | Keywords: | EasyFix, NeedsTestCase |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | openshift-origin-broker-1.16.1.13-1.el6op | Doc Type: | Bug Fix |
| Doc Text: |
The broker requires V8, which is provided by Red Hat Software Collections (SCL). While the Management Console and Administration Console plug-ins packaged this requirement, the openshift-origin-broker packages did not. As a result, if an administrator followed the manual installation instructions for a broker host, the broker service would fail to start unless either of the console plug-ins were also installed. This bug fix updates the openshift-origin-broker packages to require V8, and manual installations now work as intended.
|
Story Points: | --- |
| Clone Of: | Environment: |
Build Name: 20635, Deployment Guide-2-1.0
Build Date: 10-06-2014 13:04:09
Topic ID: 20558-592369 [Latest]
|
|
| Last Closed: | 2014-10-02 13:59:29 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: | |||
|
Description
Kenjiro Nakayama
2014-06-12 14:09:15 UTC
Can you explain how exactly you hit this situation? OpenShift Enterprise requires a fully updated RHEL installation. When you run 'yum update' on this system ruby193-v8 should be replaced by v8314-v8. The latest broker RPM should be pulled in as well. I few this more as a packaging bug. I did following steps. * Step 1. subscription-manager repos \ --enable=rhel-6-server-rpms \ --enable=rhel-server-rhscl-6-rpms \ --enable=rhel-6-server-ose-2.1-infra-rpms \ --enable=rhel-6-server-ose-2.1-rhc-rpms \ --enable=rhel-6-server-ose-2.1-node-rpms \ --enable=jb-ews-2-for-rhel-6-server-rpms \ --enable=rhel-6-server-ose-2.1-jbosseap-rpms \ --enable=jb-eap-6-for-rhel-6-server-rpms * Step 2. yum install -y openshift-enterprise-release * Step 3. oo-admin-yum-validator -o 2.1 -r broker -r client -r node -r node-eap --fix-all * Step 4. Followed by deployment guide from Chan 7.3 * Step 5 Chap 7.8.10, I got following message. [root@broker ~]# service openshift-broker start Starting openshift-broker: Unable to open /etc/scl/prefixes/v8314! chown: cannot access `Gemfile.lock': No such file or directory Bundle failed Run 'bundle install --local' in /var/www/openshift/broker/ to see the problem. * Step 6 I installed v8314.x86_64 and fixed it. ~~~ OK, I might make mistake, I will do it again. And update this bugzilla. Thanks, Kenjiro Hm, could be a packaging bug, yeah. [root@vm ~]# rpm -q --whatrequires v8314-v8 nodejs010-nodejs-0.10.25-1.el6.x86_64 nodejs010-nodejs-0.10.25-1.el6.x86_64 v8314-v8-devel-3.14.5.10-3.6.el6.x86_64 mongodb24-mongodb-2.4.9-8.el6.x86_64 mongodb24-mongodb-server-2.4.9-8.el6.x86_64 There could be an indirect way the package is required but I'm not immediately seeing that anything on the broker would require it. That's odd... Let's treat this as a packaging bug. I think I understand. v8314-v8 is required (as "libv8.so.v8314-3.14.5()(64bit)") by ruby193-rubygem-therubyracer. That in turn is required by rubygem-openshift-origin-admin-console and openshift-origin-console, but not directly by the broker (which, to be fair, doesn't use it). If you were following along in the manual, you would install the broker first without those and it wouldn't work. Since our install scripts always install the admin console and mgmt console along with the broker, we never noticed the broker chokes without v8314 installed. I'm frankly not sure how best to address this. After some consideration, the plan is to add the requirement to the broker packaging and upstream the changes. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/0ee0ff1948779d1b343a79b24938a830d03229b9 broker: require v8 (SCLized in RHEL 6) Bug 1108762 - Need to install v8314 package to start openshift-broker service https://bugzilla.redhat.com/show_bug.cgi?id=1108762 openshift-broker requires v8 at startup, but the packaging did not express this requirement. Modified so it does. Check on puddle [2.1.z/2014-09-10.1] #rpm -qR openshift-origin-broker-1.16.1.13-1.el6op <--snip--> v8314-v8 rpmlib(PayloadIsXz) <= 5.2-1 The package 'v8314-v8' is required by package 'openshift-origin-broker'. 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-1353.html |