Bug 1091564

Summary: openstack-foreman-installer fails to install on CentOS 6.5 or RHEL 6.5 due to ruby193-ruby dependencies
Product: [Community] RDO Reporter: Ramon Acedo <ramon>
Component: openstack-foreman-installerAssignee: Jason Guiditta <jguiditt>
Status: CLOSED WONTFIX QA Contact: Ami Jeain <ajeain>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: lars, madko, morazi, pasik, pbrady, rhos-maint, yeylon
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: 2015-03-26 20:29:30 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 Ramon Acedo 2014-04-25 22:21:45 UTC
Description of problem:

After installing a new CentOS 6.5 or RHEL 6.5 with EPEL and the OpenStack repository (rdo-release-havana-7.noarch.rpm or rdo-release-havana-8.noarch.rpm) openstack-foreman-installer installation fails due to ruby193-ruby dependencies (see below).

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

RHEL 6.5 or CentOS 6.5 + EPEL repository + rdo-release-havana-7 or rdo-release-havana-8

How reproducible:

1. Install RHEL 6.5 or CentOS 6.5

2. Add the repos, for example:
  yum install http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
  yum install http://repos.fedorapeople.org/repos/openstack/openstack-havana/rdo-release-havana-7.noarch.rpm

3. Install openstack-foreman-installer with yum

Actual results:

http://paste.openstack.org/show/77125/

Comment 2 Ramon Acedo 2014-04-28 12:46:50 UTC
I could fix it by installing the SCL repository: 

yum install centos-release-SCL

Should this be updated in the RDO documentation? (for example https://github.com/theforeman/)

Comment 3 Jason Guiditta 2014-04-28 13:35:00 UTC
Padraig, is this something we want in the release rpm like we do with foreman/puppetlabs repos, or should we just add to the directions?  If the latter, tell me where you want it, I can add.

Comment 4 Pádraig Brady 2014-04-28 15:16:31 UTC
Since this is foreman specific it would be good to have the logic for the scl repos there. I understood (from dcleal) that the foreman installer already had logic for this.

Comment 5 Ramon Acedo 2014-04-29 09:30:39 UTC
To be more precise:

- Foreman 1.5, which repositories are installed by rdo-release-havana-8 need the EPEL and SCL repos.

- Foreman 1.3, which repositories are installed by rdo-release-havana-7 only need EPEL (and obviously the RDO repos).

- The combination of foreman 1.3 repos + SCL fail too: http://fpaste.org/97731/

The package rdo-release-havana-7 is upgraded to rdo-release-havana-8 with a "yum update" so after installing the rdo-release-havana-7 package chances are that the user will get upgraded to rdo-release-havana-8 and then to foreman 1.5 leading to the issue.

Comment 6 Lars Kellogg-Stedman 2015-03-26 20:29:30 UTC
openstack-foreman-installer has been deprecated.  As noted in the above comments, the workaround for this issue is, on a CentOS 6 system:

# yum -y install https://repos.fedorapeople.org/repos/openstack/openstack-icehouse/rdo-release-icehouse-4.noarch.rpm
# yum -y install epel-release
# yum -y install centos-release-SCL