]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
script/ceph-debug-docker.sh: fix manifest unknown error
authorDhairya Parmar <dparmar@redhat.com>
Tue, 28 Jan 2025 10:44:14 +0000 (16:14 +0530)
committerDhairya Parmar <dparmar@redhat.com>
Tue, 28 Jan 2025 10:44:14 +0000 (16:14 +0530)
looks like centos9 image is not present on https://hub.docker.com/_/centos
hence it fails to build image and instantiate debug container:
Step 1/4 : FROM centos:stream9
manifest for centos:stream9 not found: manifest unknown: manifest unknown

hence switching to quay.io/centos/centos:stream9

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
src/script/ceph-debug-docker.sh

index c3edc5df76d4b854884103754688399ad4a10e4c..3e92979c990917a86ad73870a43d590b773aeaeb 100755 (executable)
@@ -96,7 +96,7 @@ function main {
     pushd "$T"
     case "$env" in
         centos:stream|centos:stream9)
-            env=centos:stream9
+            env=quay.io/centos/centos:stream9
             distro="centos/9"
             ;;
         centos:stream8)
@@ -154,7 +154,7 @@ EOF
                     ceph_debuginfo="ceph-base-debuginfo"
                     debuginfo=/etc/yum.repos.d/CentOS-Stream-Debuginfo.repo
                     ;;
-                centos:stream9)
+                quay.io/centos/centos:stream9)
                     python_bindings="python3-rados python3-cephfs"
                     base_debuginfo="glibc-debuginfo"
                     ceph_debuginfo="ceph-base-debuginfo"