Project

General

Profile

Actions

Bug #15008

closed

foreman-installer fails on RHEL7 because of SCLo repository

Added by Marek Hulán over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
RPMs
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

After https://github.com/theforeman/puppet-foreman/pull/435 was merged, foreman-installer nightly fails on RHEL7 Server with errors like

# [ERROR 2016-05-11 07:31:35 verbose]  Execution of '/usr/bin/yum -d 0 -e 0 -y list foreman-postgresql' returned 1: One of the configured repositories failed (CentOS-7Server - SCLo rh),

I believe this happens because we ship upstream centos-release-scl package copy from upstream which defines the repository as

http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/

The issue is with $releasever which in this case is 7Server hence we get 404 on http://mirror.centos.org/centos/7Server/sclo/x86_64/sclo/repodata/repomd.xml

I'm not sure what would be the best fix, maybe repackaging the centos-release-scl or adding exception for RHEL platform in puppet-foreman module


Related issues 1 (0 open1 closed)

Has duplicate Foreman - Bug #15147: Installer failedDuplicate05/23/2016Actions
Actions

Also available in: Atom PDF