Bug 1006241

Summary: i386 repository missing from yum.theforeman.org
Product: [Community] RDO Reporter: Derek Higgins <derekh>
Component: distributionAssignee: RHOS Maint <rhos-maint>
Status: CLOSED NEXTRELEASE QA Contact: Jay Turner <jkt>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: brad, bsettle, markmc, pbrady, srevivo
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: 2014-01-15 15:43:52 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:

Description Derek Higgins 2013-09-10 09:51:16 UTC
On i386 arch once I install havana I can no longer use yum


[root@localhost ~]# rpm -q rdo-release
rdo-release-havana-6.noarch

[root@localhost ~]# yum install wget
fedora/19/i386/metalink                                                                                                                                                                     |  33 kB  00:00:00     
http://yum.theforeman.org/releases/1.2/f19/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
Error: failure: repodata/repomd.xml from foreman: [Errno 256] No more mirrors to try.
http://yum.theforeman.org/releases/1.2/f19/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
[root@localhost ~]# 


There is no i386 repo on yum.theforeman.org

Comment 1 Brad P. Crochet 2014-01-15 15:43:52 UTC
1. This is an old rdo-release repo
2. The only supported builds of rdo havana are 64-bit

Comment 2 Pádraig Brady 2014-01-15 16:09:49 UTC
So yum aborts if there is any issue with a repo as per bug #528014

Now the RDO repos only have x86_64 packages, but that is only in the el[67] variants. In the Fedora repos we only have noarch packages (at present at least),
and so we do support RDO on any Fedora arch.
Even if this wasn't supported on any Fedora arch we shouldn't break yum.

However for foreman this is restricted to x86_64 again.
So what we should do here is set an ExclusiveArch in the openstack-foreman-installer package which will restrict this package to be installed on x86_64 archs. Alternatively we could hardcode x86_64 in the repo file, but that
would be a little less direct. The ExclusiveArch approach is proposed at:
https://github.com/redhat-openstack/openstack-foreman-installer/pull/2

Note the foreman.repo is no longer installed on RDO icehouse Fedora 20 systems,
due to the fc20 dir not being present either on the foreman.org repos,
so this would not be an issue anyway on Icehouse i686 installs.

For completeness the workaround for where this is an issue is to:
yum --disablerepo=foreman* ...