Bug 980913

Summary: openshift-enterprise-release does not correctly require ruby and rubygems
Product: OpenShift Container Platform Reporter: Jason DeTiberus <jdetiber>
Component: Cluster Version OperatorAssignee: Brenton Leanhardt <bleanhar>
Status: CLOSED ERRATA QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.1.1CC: adellape, bleanhar, jialiu, libra-onpremise-devel, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openshift-enterprise-upgrade-1.2.1-1.el6op Doc Type: Bug Fix
Doc Text:
Due to missing requirements in the RPM spec file for the openshift-enterprise-release package, the rubygems and ruby packages would not be installed in some cases. This was most common on OpenShift Enterprise infrastructures that were only hosting ActiveMQ. With this fix, the RPM spec file has been updated, and the rubygems and ruby packages are installed correctly.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-05 17:18:41 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 Jason DeTiberus 2013-07-03 13:45:12 UTC
Description of problem:
Install from a bare system (as the TPS tests do) causes an error in %post during install due to missing ruby dependency

Version-Release number of selected component (if applicable):
openshift-enterprise-release-1.1-1.el6op

How reproducible:
Always

Steps to Reproduce:
1. Install openshift-origin-release on a system without ruby

Actual results:
Install completes with a failure in %post

Expected results:
No failures during install

Additional info:
This generally should not be an issue, since anyone installing openshift-enterprise-release would have ruby installed as a prerequisite for running openshift, however this affects TPS tests where the rpms are installed on a bare system.

Comment 2 Johnny Liu 2013-07-04 02:48:48 UTC
Not only ruby is required but also rubygems is required by openshift-origin-release.

Comment 3 John W. Lamb 2013-07-09 19:35:07 UTC
System ruby and rubygems packages need to be added to specfile for this package

Comment 4 Brenton Leanhardt 2013-07-10 17:44:30 UTC
commit 7206fdebf7c4da97e2ca22ce8335444d8e97e277
Author: Brenton Leanhardt <bleanhar>
Date:   Wed Jul 10 13:43:11 2013 -0400

    Bug 980913 - openshift-enterprise-release does not correctly require ruby and rubygems

Comment 6 Johnny Liu 2013-07-18 03:20:31 UTC
Verified this bug with 1.2/2013-07-17.1 puddle, and pass.

When installing openshift-enterprise-release, ruby and rubygems will be pulled in as dependency. And no any error is seen in %post during installation.

Comment 9 errata-xmlrpc 2013-08-05 17:18:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1138.html