From 2d58f14d9beba9b222cafd241d79290320d69067 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Mon, 3 Jul 2023 17:43:27 +0200 Subject: [PATCH] build: disable ceph-iscsi repository for test-container builds too The ceph-iscsi repository seems to provide broken metadata or packages. Ceph-CSI does not need to install them, so disable the repository for now. It seems that other repositories gave issues before too, but these repositories were disabled after installing all available updates. For ceph-iscsi updating fails already, so disable the repositories before updating. Updates: #2034 Signed-off-by: Niels de Vos (cherry picked from commit ebfd915ad67963f1da5c66200d81eda8e905d3c9) --- scripts/Dockerfile.devel | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/Dockerfile.devel b/scripts/Dockerfile.devel index 33afbb8d498..99ad3114ca3 100644 --- a/scripts/Dockerfile.devel +++ b/scripts/Dockerfile.devel @@ -17,10 +17,10 @@ RUN source /build.env \ && mkdir -p /usr/local/go \ && curl https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${GOARCH}.tar.gz | tar xzf - -C ${GOROOT} --strip-components=1 -# FIXME: Ceph does not need Apache Arrow anymore, some container images may -# still have the repository enabled. Disabling the repository can be removed in -# the future, see https://github.com/ceph/ceph-container/pull/1990 . -RUN dnf config-manager --disable apache-arrow-centos || true +# TODO: remove the following cmd, when issue +# https://github.com/ceph/ceph-container/issues/2034 is fixed. +RUN dnf config-manager --disable \ + tcmu-runner,tcmu-runner-source,tcmu-runner-noarch,ceph-iscsi || true RUN dnf -y install \ git \