Bug 1019190 - Some issues for openshift.sh instllation script.
Summary: Some issues for openshift.sh instllation script.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 2.0.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Luke Meyer
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-15 09:27 UTC by Johnny Liu
Modified: 2017-03-08 17:35 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Johnny Liu 2013-10-15 09:27:53 UTC
Description of problem:
wget https://raw.github.com/openshift/openshift-extras/enterprise-2.0/enterprise/install-scripts/generic/openshift.sh

Review the code, found the following issues:
1. miss  "|| abort_install" for line 733, and using an incorrect repo name for rhscl channel in line 734.
 731   if need_rhscl_repo
 732   then
 733     rhn-channel --add --channel rhscl-1-x86_64-server-6-rpm --user ${CONF_RHN_REG_NAME} --password ${CONF_RHN_REG_PASS}
 734     echo -e "[jb-ews-2-x86_64-server-6-rpm]\npriority=3\n" >> $RHNPLUGINCONF
 735   fi

2. miss "--save" option for 809 line, and did not set priority for rhscl channel.
 813    if need_rhscl_repo
 814    then
 815      yum-config-manager --enable rhscl-1-for-rhel-6-server-rpms
 816    fi


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Brenton Leanhardt 2013-11-05 19:19:30 UTC
It looks like the yum configuration code has been refactored recently and that these problems have been addressed.

Comment 3 Johnny Liu 2013-11-07 06:37:16 UTC
Verified this bug the latest installation script, it is indeed refactored, and the above issue is fixed now.


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