#675 Duffy fedora 35 mirror issue
Closed: Wrong tracker by arrfab. Opened by lrossett.

I have the current workflow:

  • Create a new duffy VM from Jenkins
  • Install podman in that VM
  • Pull from a remote git repository [1]
  • Build and push a linux container image using podman [2]

I am seeing the following error when building from fedora:35 container images:

Errors during downloading metadata for repository 'fedora':
  - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-35&arch=x86_64 [getaddrinfo() thread failed to start]
Error: Failed to download metadata for repo 'fedora': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-35&arch=x86_64 [getaddrinfo() thread failed to start]
Error: error building at STEP "RUN dnf install --setopt=tsflags=  -y koji koji-hub koji-web koji-hub-plugins curl httpd mod_ssl postgresql fedora-messaging python3-mod_wsgi": error while running runtime: exit status 1

The above error doesn't happen for fedora:34 images.

[1] - https://pagure.io/kube-sig/koji-operator
[2] - https://pagure.io/kube-sig/koji-operator/blob/main/f/images/koji-hub/Dockerfile


I was speaking with Leo and was able to replicate this issue on the admin.ci.centos.org machine.

[dkirwan@admin ~]$ podman build . -t leo-test
STEP 1: FROM quay.io/fedora/fedora:35
Getting image source signatures
Copying blob c6183d119aa8 done
Copying config e417cd49a8 done
Writing manifest to image destination
Storing signatures
STEP 2: RUN dnf install --setopt=tsflags=  -y koji koji-hub koji-web koji-hub-plugins curl httpd mod_ssl postgresql fedora-messaging python3-mod_wsgi
Fedora 35 - x86_64                              0.0  B/s |   0  B     00:00
Errors during downloading metadata for repository 'fedora':
  - Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-35&arch=x86_64 [getaddrinfo() thread failed to start]
Error: Failed to download metadata for repo 'fedora': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-35&arch=x86_64 [getaddrinfo() thread failed to start]
Error: error building at STEP "RUN dnf install --setopt=tsflags=  -y koji koji-hub koji-web koji-hub-plugins curl httpd mod_ssl postgresql fedora-messaging python3-mod_wsgi": error while running runtime: exit status 1

I encountered the same error and @kevin pointed me to this issue https://bugzilla.redhat.com/show_bug.cgi?id=2032085

Metadata Update from @zlopez:
- Issue priority set to: Waiting on External (was: Needs Review)

Curious about the host : are you tested on top of CentOS Linux 7 , Stream 8 or Stream 9
This is a known bug that even prevented to use systemd-nspawn in koji and so reason why some builders/tags had to move back to "simple" isolation : https://bugzilla.redhat.com/show_bug.cgi?id=1988199

And I'd just like you to confirm that you're not using centos linux 7, as per https://bugzilla.redhat.com/show_bug.cgi?id=1988199#c26 comment (never fixed in glibc for el7 but normally should be there for 8-stream and 9-stream)

I am requesting a stream 9 node from duffy: cico node get --release 9-stream...which is where I am running podman.

Metadata Update from @arrfab:
- Issue assigned to arrfab

Metadata Update from @arrfab:
- Issue tagged with: centos-ci-infra, low-gain, medium-trouble

It works on a freshly deployed 8-stream node :

podman build ./
STEP 1/13: FROM quay.io/fedora/fedora:35
Trying to pull quay.io/fedora/fedora:35...
Getting image source signatures
Copying blob c6183d119aa8 done  
Copying config e417cd49a8 done  
Writing manifest to image destination
Storing signatures
STEP 2/13: RUN dnf install --setopt=tsflags=  -y koji koji-hub koji-web koji-hub-plugins curl httpd mod_ssl postgresql fedora-messaging python3-mod_wsgi
Fedora 35 - x86_64                               24 MB/s |  79 MB     00:03    
Fedora 35 openh264 (From Cisco) - x86_64        3.9 kB/s | 2.5 kB     00:00    
Fedora Modular 35 - x86_64                       11 MB/s | 3.3 MB     00:00    
Fedora 35 - x86_64 - Updates                     26 MB/s |  27 MB     00:01    
Fedora Modular 35 - x86_64 - Updates            8.6 MB/s | 2.8 MB     00:00    
Package curl-7.79.1-1.fc35.x86_64 is already installed.
Dependencies resolved.
================================================================================
 Package                        Arch      Version              Repository  Size
================================================================================
Installing:
 fedora-messaging               noarch    3.0.0-1.fc35         updates     28 k
 httpd                          x86_64    2.4.52-1.fc35        updates    1.4 M
 koji                           noarch    1.28.0-1.fc35        updates    203 k
<snip>

So seems a CentOS Stream 9 bug and not infra bug, so please open a bugzilla report for that, per report bug policy (see https://wiki.centos.org/ReportBugs)

Metadata Update from @arrfab:
- Issue close_status updated to: Wrong tracker
- Issue status updated to: Closed (was: Open)

Log in to comment on this ticket.

Metadata