Actions
Bug #15008
closedforeman-installer fails on RHEL7 because of SCLo repository
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
Actions