Bug 1006241 - i386 repository missing from yum.theforeman.org
Summary: i386 repository missing from yum.theforeman.org
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: distribution
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact: Jay Turner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-10 09:51 UTC by Derek Higgins
Modified: 2015-01-07 23:35 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-15 15:43:52 UTC


Attachments (Terms of Use)

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* ...


Note You need to log in before you can comment on or make changes to this bug.