Bug 1633270

Summary: delorean-deps.repo depends on virt/*/container repo which exists only for x86-64
Product: [Community] RDO Reporter: Marcin Juszkiewicz <mjuszkie>
Component: InfrastructureAssignee: Alan Pevec <apevec>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: trunk   
Target Milestone: ---   
Target Release: trunk   
Hardware: aarch64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-26 15:44:21 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:
Embargoed:

Description Marcin Juszkiewicz 2018-09-26 14:50:13 UTC
Description of problem:

We are using RDO repos in Kolla project. So recently I wanted to build set of images with CentOS as base system (instead of Debian I usually use).

Job failed:

INFO:kolla.common.utils.base:Step 14/24 : RUN yum -y install centos-release-ceph-luminous centos-release-opstools centos-release-qemu-ev epel-release yum-plugin-priorities &&
INFO:kolla.common.utils.base: ---> Running in e4b21d67b9c3                                                                                                                    
INFO:kolla.common.utils.base:Loaded plugins: fastestmirror, ovl                                                                                                               
INFO:kolla.common.utils.base:Determining fastest mirrors                                                                                                                      
INFO:kolla.common.utils.base:.[91mhttps://buildlogs.centos.org/centos/7/virt/aarch64/container/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found                    
INFO:kolla.common.utils.base:.[0m                                                                                                                                             
INFO:kolla.common.utils.base:.[91mTrying other mirror.                                                                                                                        


How reproducible:

always

Steps to Reproduce:
1. "docker run -it -u root centos:7" (on arm64 system)
2.  curl -L https://trunk.rdoproject.org/centos7/delorean-deps.repo -o /etc/yum.repos.d/delorean-deps.repo
3. yum update

Actual results:

[root@4c0a5e573dec yum.repos.d]# yum update
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * epel: www.mirrorservice.org
https://buildlogs.centos.org/centos/7/virt/aarch64/container/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found                                                     
Trying other mirror.


Expected results:

yum works

Additional info:

Adding "skip_if_not_available=1" would be fine for now. In meantime we may get CentOS team to populate that repo for non-x86 architectures.

Comment 1 Javier Peña 2018-09-26 15:01:44 UTC
Sorry for this, while adding the configuration I checked that https://buildlogs.centos.org/centos/7/virt/aarch64/ was available, but I didn't check the container subdirectory.

I have created https://review.rdoproject.org/r/16489 with the fix. As soon as it is merged, I will apply the updated manifests in the RDO Trunk builders.

Comment 2 Javier Peña 2018-09-26 15:44:21 UTC
The updated repo files are already available, closing.