Bug 1039876 - The openshift.sh assumes ose-rhc/2 but there is ose-rhc/2.0, no ose-rhc/2
Summary: The openshift.sh assumes ose-rhc/2 but there is ose-rhc/2.0, no ose-rhc/2
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Release
Version: 2.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Luke Meyer
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-10 08:51 UTC by Jan Pazdziora
Modified: 2017-03-08 17:35 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-04 14:51:15 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Jan Pazdziora 2013-12-10 08:51:37 UTC
Description of problem:

The OpenShift Enterprise 2.0 installation script at

https://raw.github.com/openshift/openshift-extras/enterprise-2.0/enterprise/install-scripts/generic/openshift.sh

assumes that the versioned subdirectory under ose-rhc and similar is 2. But there is only 2.0, no 2.

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

https://raw.github.com/openshift/openshift-extras/enterprise-2.0/enterprise/install-scripts/generic/openshift.sh as of today and CDN as of today

How reproducible:

Seen once, assume deterministic.

Steps to Reproduce:
1. Download openshift.sh.
2. Try to use it.

Actual results:

the-url/rhel/server/6/6Server/x86_64/ose-rhc/2/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

Expected results:

openshift.sh.passes.

Additional info:

Comment 6 Brenton Leanhardt 2013-12-10 09:24:59 UTC
Mind testing again? I just pushed https://github.com/openshift/openshift-extras/commit/6c412a27ce56a33c4022052deaaf275f76f80391.

Comment 12 Luke Meyer 2013-12-12 21:28:20 UTC
openshift.sh with the "yum" install method does not set up the RHSCL repo unless you set CONF_RHSCL_REPO_BASE or CONF_CDN_REPO_BASE (they would typically be the same). Should work then. However I should note that current oo-install doesn't allow you to set either of those. That's a bug of some sort.

Comment 13 Jan Pazdziora 2013-12-18 06:44:00 UTC
(In reply to Luke Meyer from comment #12)
> openshift.sh with the "yum" install method does not set up the RHSCL repo
> unless you set CONF_RHSCL_REPO_BASE or CONF_CDN_REPO_BASE (they would
> typically be the same). Should work then. However I should note that current
> oo-install doesn't allow you to set either of those. That's a bug of some
> sort.

It looks like you fixed the problem in 1fb3ec6f0a2731de15d2d60cc7faa3457e51037d, the rhscl yum repo is now there setup when I try it and the yum install passes.

Moving ON_QA, QE can pick up from here.

Comment 14 Luke Meyer 2013-12-18 16:35:38 UTC
Yeah, I added that workaround to populate CONF_RHSCL_REPO_BASE based on the RHEL repo if not otherwise specified, since I don't think oo-install will be modified to specify CONF_RHSCL_REPO_BASE or CONF_CDN_REPO_BASE really soon. Seemed easiest.

Comment 15 Ma xiaoqiang 2013-12-20 03:33:48 UTC
1.export installing env
export CONF_INSTALL_METHOD=yum
export CONF_RHSCL_REPO_BASE="http://cdn.rcm-qa.redhat.com/content/dist/rhel/server/6/6.5/x86_64/"
export CONF_CDN_REPO_BASE="http://cdn.rcm-qa.redhat.com/content/dist/rhel/server/6/6.5/x86_64/"
export CONF_JBOSS_REPO_BASE="http://cdn.rcm-qa.redhat.com/content/dist/rhel/server/6/6.5/x86_64/"
export CONF_RHEL_REPO="http://cdn.rcm-qa.redhat.com/content/dist/rhel/server-6/updates/6Server/x86_64/os"
2.get openshift.sh
wget https://raw.github.com/openshift/openshift-extras/enterprise-2.0/enterprise/install-scripts/generic/openshift.sh
3.configure the repos using openshift.sh
4.list all repos
#yum repolist 
jbosseap                                                    jbosseap                                                   
jbossews                                                    jbossews               
openshift_client                                            OpenShift Client       
openshift_infrastructure                                    OpenShift Infrastructure         
openshift_jbosseap                                          OpenShift JBossEAP            
openshift_node                                              OpenShift Node      
rhel6                                                       RHEL 6 base OS    
rhscl                                                       rhscl


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