ceph-csi icon indicating copy to clipboard operation
ceph-csi copied to clipboard

CentOS Stream 8 is EOL

Open iPraveenParihar opened this issue 1 year ago • 1 comments

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 https://github.com/ceph/ceph-csi/issues/4658#issuecomment-2146673400

iPraveenParihar avatar Jun 04 '24 10:06 iPraveenParihar

See also ceph/ceph-container#2183 and https://lists.ceph.io/hyperkitty/list/[email protected]/thread/H7I4Q4RAIT6UZQNPPZ5O3YB6AUXLLAFI/

nixpanic avatar Jun 06 '24 07:06 nixpanic

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jul 06 '24 21:07 github-actions[bot]

This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.

github-actions[bot] avatar Jul 14 '24 21:07 github-actions[bot]

The quay.io/ceph/ceph:v18 image has been updated to CentOS Stream 9. New builds won't use CentOS 8 anymore.

nixpanic avatar Jul 24 '24 08:07 nixpanic