tripleo-ci-centos-8-content-provider is failing DLRN build with "Error: Failed to download metadata for repo 'extras-common': Cannot prepare internal mirrorlist: No URLs in mirrorlist"

Bug #1967012 reported by Ronelle Landy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned
Ronelle Landy (rlandy)
Changed in tripleo:
milestone: none → zed-1
importance: Undecided → Critical
status: New → Triaged
tags: added: promotion-blocker
Revision history for this message
Ronelle Landy (rlandy) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart (master)
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-quickstart (master)

Change abandoned by "Ronelle Landy <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/tripleo-quickstart/+/835764
Reason: This does not fix it - only build test packages

Revision history for this message
Ronelle Landy (rlandy) wrote :
Revision history for this message
Alfredo Moralejo (amoralej) wrote :

The extras-common repo has been recently added to the centos-stream-repos and it's enabled by default. IIRC the build-test-packages role addes the official centos repos to the dlrn config. My doubt is why it's failing to get it in mirrorlist. It may be just a matter of time. In my test environment it works as expected. May we recheck some of the failed tests?

Revision history for this message
Alfredo Moralejo (amoralej) wrote :

Actually, here is the code which adds the centos official repos to the dlrn config:

https://github.com/openstack/tripleo-quickstart-extras/blob/master/roles/build-test-packages/tasks/main.yml#L149-L150

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-quickstart-extras (master)
Revision history for this message
Alfredo Moralejo (amoralej) wrote :

This is the explanation of what is happening:

CentOS has added a new version of centos-stream-repos which adds a new repo extras-common enabled by default. Last image doesn't have that package.

Relese configs disable all the repos as in:

https://github.com/openstack/tripleo-quickstart/blob/master/config/release/tripleo-ci/CentOS-8/master.yml#L74

But at that point, extras-common is not yet in the system.

Then, they do "dnf update -y" at the end and the new "extras-common" repo is added:

https://github.com/openstack/tripleo-quickstart/blob/master/config/release/tripleo-ci/CentOS-8/master.yml#L228

final question is whay it fails to pull the repos from mirrorlist. That may be only a temporary issue until the repos are propagated but i'm not sure. In my environment works fine.

Note that this would be automatically fixed just by waiting until the next image when the centos-stream-repos is included in the image or when mirrorlist is fixed. Anyway, it'd be probably would to update centos-stream-repos package before doint the "dnf config-manager --disabe "*".

Revision history for this message
Marios Andreou (marios-b) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/835815
Committed: https://opendev.org/openstack/tripleo-quickstart-extras/commit/b8f09e015927ada8acdb3640f4652621013ba86c
Submitter: "Zuul (22348)"
Branch: master

commit b8f09e015927ada8acdb3640f4652621013ba86c
Author: Marios Andreou <email address hidden>
Date: Wed Mar 30 13:44:28 2022 +0300

    Disable extras common for build-test-packages

    This explicitly removes the extras-common repo from being
    included by build-test-packages role for the dlrn build.
    See related-bug for more information

    Related-Bug: 1967012

    Change-Id: Iec7c3baad8ddffe692bd3317aa1753d6241b8203

Revision history for this message
Alan Pevec (apevec) wrote :

Can you confirm CS8 jobs work fine now?

Ronelle Landy (rlandy)
Changed in tripleo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.