Bug 993250
Summary: | Broker plugins and other gem problems lead to recommendation to run "bundle install" | |||
---|---|---|---|---|
Product: | OKD | Reporter: | Luke Meyer <lmeyer> | |
Component: | Pod | Assignee: | Luke Meyer <lmeyer> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 2.x | CC: | jhou | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 993252 (view as bug list) | Environment: | ||
Last Closed: | 2014-01-24 03:21: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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 993252 |
Description
Luke Meyer
2013-08-05 17:26:44 UTC
https://github.com/openshift/origin-server/pull/3294 should wrap Bundler errors in most situations. However, it actually doesn't for most of the above scripts; but at least they do not recommend "bundle install" which is the most important thing. I am hesitant to make changes to these that would improve the messaging... most would likely break things in under certain scenarios. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/0771a6d1c2e57a41bbd9e49dc16f99d4657a34ac <broker> improve Gemfile loading + bug 993250 https://bugzilla.redhat.com/show_bug.cgi?id=993250 Bundler load failures are wrapped and re-interpreted for OpenShift instead of telling the user to "bundle install" OPENSHIFT_CONF_DIR overrides /etc/openshift base for broker config files Gemfile loads plugins even if just the -dev.conf file is present Plugins are loaded in sorted order, in case it matters Verified with latest origin build The user won't be informed to run 'bundle install', instead, they will be adviced to install the rpm packages. [root@broker ~]# oo-admin-clear-pending-ops Error while loading gems for the broker: Could not find gem 'openshift-origin-auth-mongo (>= 0) ruby' in the gems available on this machine. You may need to install the rubygem-openshift-origin-auth-mongo RPM. Or, you may need to remove/rename the openshift-origin-auth-mongo conf file(s) in /etc/openshift/plugins.d |