Bug 1058581

Summary: The nightly repos are missing openshift-origin-cartridge-jbossas even if release/3 has them
Product: OKD Reporter: Jan Pazdziora (Red Hat) <jpazdziora>
Component: ImageAssignee: N. Harrison Ripps <hripps>
Status: CLOSED WONTFIX QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 2.xCC: hripps, jpazdziora, mfojtik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-31 18:22:11 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 Jan Pazdziora (Red Hat) 2014-01-28 05:30:37 UTC
Description of problem:

When I try to install openshift-origin-cartridge-jbossas on OpenShift Origin nightly, yum fails.

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

Origin nightly.

How reproducible:

Detemrinistic.

Steps to Reproduce:
1. Install Origin nightly using the http://openshift.github.io/documentation/oo_deployment_guide_puppet.html documentation and the all-in-one setup.
2. Try to add the JBoss AS cartridge: yum install openshift-origin-cartridge-jbossas

Actual results:

Setting up Install Process
No package openshift-origin-cartridge-jbossas available.
Error: Nothing to do

Expected results:

Cartridge installed and usable.

Additional info:

At http://mirror.openshift.com/pub/origin-server/release/3/rhel-6/packages/x86_64/ there are

openshift-origin-cartridge-jbossas-1.18.0.1-1.el6.noarch.rpm	25-Nov-2013 20:15 	67K	 
openshift-origin-cartridge-jbosseap-2.11.1.1-1.el6.noarch.rpm	25-Nov-2013 20:19 	72K	 

They are missing from https://mirror.openshift.com/pub/origin-server/nightly/rhel-6/packages/latest/x86_64/ which is the repo that the puppet template configures.

Comment 1 Jan Pazdziora (Red Hat) 2014-01-28 05:52:39 UTC
The problem is only present on RHEL 6 -- on Fedora 19, the packages are present just fine:

https://mirror.openshift.com/pub/origin-server/nightly/fedora-19/packages/latest/x86_64/

openshift-origin-cartridge-jbossas-1.18.0-1.git.63.dec301c.fc19.noarch.rpm	25-Nov-2013 21:07 	65K

Comment 3 Jan Pazdziora (Red Hat) 2014-01-28 08:04:39 UTC
Hmm, release/3 might have the openshift-origin-cartridge-jbossas rpm but attempt to install it fails with

Error: Package: openshift-origin-cartridge-jbossas-1.18.0.1-1.el6.noarch (origin-base)
           Requires: jboss-as7 >= 7.1.1.Final

The

http://openshift.github.io/documentation/oo_deployment_guide_puppet.html#install_method

mentions jboss_repo_base but clearly there is no sensible default, nor does the page suggest what repo has been tested and should be used with Origin Release 3.

Comment 4 Michal Fojtik 2014-09-16 13:43:49 UTC
Harrison, can you please have look at this? Troy said you are to person to ask :-)

Comment 5 N. Harrison Ripps 2014-09-16 16:34:11 UTC
I have discovered that the root issue is related to the fact that neither JBoss not WildFly are distributed by their upstream communities as RPMs, and therefore cannot be included in our dependencies repo.

I have opened an issue with the WildFly issue tracker to raise awareness on this opportunity to be distributed as part of OpenShift Origin:
https://issues.jboss.org/browse/WFLY-3861

I will leave this issue open but it cannot be resolved until upstream RPMs are available.

Comment 6 Eric Paris 2017-05-31 18:22:11 UTC
We apologize, however, we do not plan to address this report at this time. The majority of our active development is for the v3 version of OpenShift. If you would like for Red Hat to reconsider this decision, please reach out to your support representative. We are very sorry for any inconvenience this may cause.