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
Updated by Ewoud Kohl van Wijngaarden over 8 years ago
https://github.com/Katello/katello-deploy/issues/223 is reporting the same issue.
Updated by Dominic Cleal over 8 years ago
In the first instance, please try opening a ticket in the CentOS Buildsys project, they may be willing to create appropriate symlinks on the mirrors so the repos are usable for RHEL too.
There are also RHEL-specific builds of centos-release-scl at https://github.com/sclorg/centos-release-scl#how-to-install-sclo-packages-on-rhel-systems and in Copr, but that's an added complication because the package names are identical. If anything I'd prefer to rebuild it as you suggest.
Updated by Marek Hulán over 8 years ago
I hope I created it at the right place - https://bugs.centos.org/view.php?id=10838
Updated by Dominic Cleal over 8 years ago
- Project changed from Installer to Packaging
- Category set to RPMs
- Status changed from New to Assigned
- Assignee set to Dominic Cleal
- Translation missing: en.field_release set to 136
Updated by Dominic Cleal over 8 years ago
- Has duplicate Bug #15147: Installer failed added
Updated by Dominic Cleal over 8 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Applied in changeset ee014c7868a402804b10eb93f1b2580ac1d7616a.