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

dnf install fails with newer ceph images

Open Rakshith-R opened this issue 3 years ago • 1 comments

Is this a bug report or feature request?

  • Bug Report

Bug Report

What happened: Ceph-CSI build is failing with the following error

tcmu-runner packages for x86_64                 883  B/s | 162  B     00:00    
Errors during downloading metadata for repository 'tcmu-runner':
  - Status code: 404 for https://3.chacra.ceph.com/r/tcmu-runner/master/245914c1446dddf07d5b58b0a7b2060b50fde4d7/centos/8/flavors/default/x86_64/repodata/repomd.xml (IP: 158.69.93.173)
Error: Failed to download metadata for repo 'tcmu-runner': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Error: error building at STEP "RUN dnf -y install 	librados-devel librbd-devel 	/usr/bin/cc 	make 	git 	&& dnf clean all 	&& rm -rf /var/cache/yum     && true": error while running runtime: exit status 1
make: *** [Makefile:233: image-cephcsi] Error 1
script returned exit code 2

dnf install fails when it run with ceph:v17 image.

[rakshith@fedora ~]$ docker run quay.io/ceph/ceph:v17  dnf install -y make
CentOS Stream 8 - AppStream                     7.0 MB/s |  24 MB     00:03    
CentOS Stream 8 - BaseOS                        8.1 MB/s |  23 MB     00:02    
CentOS Stream 8 - Extras                         27 kB/s |  18 kB     00:00    
Copr repo for python-scikit-learn owned by tcha  11 kB/s |  20 kB     00:01    
Copr repo for python3-asyncssh owned by tchaiko 619  B/s | 3.5 kB     00:05    
Ceph packages for x86_64                         53 kB/s |  77 kB     00:01    
Ceph noarch packages                            7.7 kB/s | 9.1 kB     00:01    
Ceph source packages                            1.6 kB/s | 1.7 kB     00:01    
ceph-iscsi noarch packages                      2.6 kB/s | 2.9 kB     00:01    
Extra Packages for Enterprise Linux 8 - x86_64  7.4 MB/s |  12 MB     00:01    
Extra Packages for Enterprise Linux Modular 8 - 2.0 MB/s | 1.0 MB     00:00    
Extra Packages for Enterprise Linux 8 - Next -  1.3 MB/s | 562 kB     00:00    
ganesha                                         2.9 kB/s | 7.3 kB     00:02    
tcmu-runner packages for x86_64                  85  B/s | 162  B     00:01    
Errors during downloading metadata for repository 'tcmu-runner':
  - Status code: 404 for https://3.chacra.ceph.com/r/tcmu-runner/master/245914c1446dddf07d5b58b0a7b2060b50fde4d7/centos/8/flavors/default/x86_64/repodata/repomd.xml (IP: 158.69.93.173)
Error: Failed to download metadata for repo 'tcmu-runner': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

This maybe related to https://github.com/ceph/ceph-container/pull/2029

What you expected to happen: Ceph-csi build should be successful

How to reproduce it (minimal and precise):

try to run

docker run quay.io/ceph/ceph:v17  dnf install -y make

Rakshith-R avatar Jul 20 '22 07:07 Rakshith-R

What's the latest status?

mykaul avatar Aug 28 '22 11:08 mykaul