Bug 1017671 - Package "minitest" was not installed on node that caused web console can not be accessed.
Summary: Package "minitest" was not installed on node that caused web console can not ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Website
Version: 2.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-10 10:19 UTC by Ma xiaoqiang
Modified: 2017-03-08 17:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-16 09:11:06 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Ma xiaoqiang 2013-10-10 10:19:43 UTC
Description of problem:
Package "ruby193-rubygem-minitest.noarch" was not installed on node, compared with ose-1.2.z, ruby193-rubygem-minitest is installed as dependency of rubygem-openshift-origin-console.

Version-Release number of selected component (if applicable):
puddle:[2.0/2013-10-08.1] 
http://buildvm-devops.usersys.redhat.com/puddle/build/OpenShiftEnterprise/2.0/2013-10-08.1

How reproducible:
always

Steps to Reproduce:
1.Using openshift.sh script to setup ose env.
2.Try to access web console, open "https://broker.ose20-scale.com/console" in browser 

Actual results:
Output:
Error message:
    cannot load such file -- minitest/unit
Exception class:
    LoadError
Application root:
    /var/www/openshift/console 
Backtrace:
    #     File     Line     Location
    0     /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb     251     in `require'
    1     /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb     251     in `block in require'
    2     /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb     236     in `load_dependency'
    3     /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb     251     in `require'
On ose-1.2.z, ruby193-rubygem-minitest.noarch is needed by rubygem-openshift-origin-console,but on ose-2.0,it isn't needed by any package!!

Expected results:
Web console should be accessed successfully!

Additional info:
This problem didn't happen on ose-1.2.z

Comment 3 Ma xiaoqiang 2013-10-16 05:20:41 UTC
wait for next puddle.because this bug is fixed at 11:46:33, the lasted puddle is deployed at 10:56.

Comment 5 Ma xiaoqiang 2013-10-21 01:49:47 UTC
check this problem on puddle: 2013-10-18
1.Using openshift.sh script to setup ose env.
2.Try to access web console, open "https://broker.ose-1018.com.cn/console" in browser 

Output:
Error message:
    cannot load such file -- minitest/unit
Exception class:
    LoadError
Application root:
    /var/www/openshift/console 


this problem is not fixed.
# rpm -qa|grep openshift-origin-console                                         
rubygem-openshift-origin-console-1.16.0-1.git.487.6f950fc.el6op.noarch
openshift-origin-console-1.15.1-1.git.712.ea02323.el6op.noarch

Comment 6 openshift-github-bot 2013-10-21 14:50:09 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/7ab80a6f4bf4fffc348b8c7880510c7f9e20101e
Bug 1017671 - Minitest is required by parts of activesupport for the console gem

And apparently it doesn't even need to be added to the Gemfile in order to load.

Comment 8 Ma xiaoqiang 2013-10-25 01:55:39 UTC
check it on puddle [2.0-2013-10-23]

# rpm -qa|grep minitest
ruby193-rubygem-minitest-3.5.0-3.el6op.noarch

open console in browser successfully!


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