Skip to content

CentOS Stream 8 is EOL #4659

@iPraveenParihar

Description

CI was failing to build ceph-csi image

#8 [updated_base 4/4] RUN dnf -y update --nobest        && dnf -y install nfs-utils        && dnf clean all        && rm -rf /var/cache/yum
#8 0.555 CentOS Stream 8 - AppStream                     490  B/s |  38  B     00:00    
#8 0.563 Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
#8 ERROR: process "/bin/sh -c dnf -y update --nobest        && dnf -y install nfs-utils        && dnf clean all        && rm -rf /var/cache/yum" did not complete successfully: exit code: 1
------
 > [updated_base 4/4] RUN dnf -y update --nobest        && dnf -y install nfs-utils        && dnf clean all        && rm -rf /var/cache/yum:
0.555 CentOS Stream 8 - AppStream                     490  B/s |  38  B     00:00    
0.563 Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

CentOS 8 was EOL on 31 May 2024.
And quay.io/ceph/ceph:v18 is based on CentOS 8 stream. Probably that is the reason.

pm@dhcp53-176:~$ podman run --rm -it quay.io/ceph/ceph:v18 cat /etc/os-release
NAME="CentOS Stream"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Stream 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"

Workaround for now will be to update the centos repo url. This should be removed once the base image (ceph) is updated to a version with a newer CentOS.

Originally posted by @iPraveenParihar in #4658 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    dependency/cephdepends on core Ceph functionalitykeepaliveThis label can be used to disable stale bot activiity in the repo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions