Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-8300

[Tracker] Got the `file exists` error when different digest direct to the same tag for oc-mirror 4.12

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • Build and Release
    • None
    • False
    • None
    • False
    • Testable
    • No
    • No
    • No
    • Pending
    • None

      Description of problem:

      It seems that despite providing a list of images in the additional images of the ImageSetConfig, some of the images were not pushed to the private registry (the images which are not pushed are from additionalimages section and with random images).  Images with the same image name cause issue while pushing the images into a private registry. 

      Note: This issue is a tracker issue it will be verified with Rhods once fix is released with oc-mirror  

       

      Workaround:
      podman login <your-private-repo-url>
      podman pull quay.io/<username>/<image-name>:<tag>
      podman tag quay.io/<username>/<image-name>:<tag> <your-private-repo-url>/<image-name>:<tag>
      podman push <your-private-repo-url>/<image-name>:<tag>

      Additional info

      the problem is in the mapping.txt all the images with same name is assigned tag as latest as there are multiple tags as the latest oc mirror is not able to push 

      for more info https://issues.redhat.com/browse/RHODS-8274 

      __________________________________

      mapping.txt

      registry.redhat.io/rhods/odh-rhel8-operator@sha256:7d2469dd66c88aff0600e8a62579a87edfeffe589d9a2917772e2502f64541c8=registry.rh-ods.com:8443/rhods/odh-rhel8-operator:c58b7b2b quay.io/modh/openvino-model-server@sha256:c89f76386bc8b59f0748cf173868e5beef21ac7d2f78dada69089c4d37c44116=registry.rh-ods.com:8443/modh/openvino-model-server:latest registry.redhat.io/rhods/odh-ml-pipelines-cache-rhel8@sha256:779a1f99368aeed5011988e035d5f84909f9cca5a3ebabb6e34587ab3717d285=registry.rh-ods.com:8443/rhods/odh-ml-pipelines-cache-rhel8:fd4ae5bb quay.io/modh/must-gather@sha256:2a5abc16745d72c14c4144d89edbe373d6d56c8b6ce7965fcbed1862519092ab=registry.rh-ods.com:8443/modh/must-gather:latest registry.redhat.io/rhods/odh-operator-bundle@sha256:563db1fda5cb47b9017b34bd59870e4a476640432b3d18e4219833c2b3439da3=registry.rh-ods.com:8443/rhods/odh-operator-bundle:86b36d9b registry.redhat.io/openshift4/ose-prometheus@sha256:c432e571eb737d55323b5f350b5f714803bf525144cfee3f20782660d9bf10ad=registry.rh-ods.com:8443/openshift4/ose-prometheus:756c9333 registry.redhat.io/openshift4/ose-prometheus-config-reloader@sha256:bd543e039c7c2b0857a7e0ce34d582b8954a8ad3a3f13a2eaaff2904cdae7c53=registry.rh-ods.com:8443/openshift4/ose-prometheus-config-reloader:4b43510f registry.redhat.io/ubi8/ubi-micro@sha256:6a56010de933f172b195a1a575855d37b70a4968be8edb35157f6ca193969ad2=registry.rh-ods.com:8443/ubi8/ubi-micro:994e2518 registry.redhat.io/openshift4/ose-cli@sha256:75bf9b911b6481dcf29f7942240d1555adaa607eec7fc61bedb7f624f87c36d4=registry.rh-ods.com:8443/openshift4/ose-cli:e11912cb registry.redhat.io/redhat/redhat-operator-index:v4.12=registry.rh-ods.com:8443/redhat/redhat-operator-index:v4.12 registry.redhat.io/rhods/odh-mm-rest-proxy-rhel8@sha256:a7fde4e4fcf66cdefb520788d310e83d7b2f24e94762b61a09a2b52ae3b12d6e=registry.rh-ods.com:8443/rhods/odh-mm-rest-proxy-rhel8:9b3f0394 registry.redhat.io/rhel7/etcd@sha256:d3495b263b103681f1b09a558be43c21989bfc269eb90f84c2609042cebdc626=registry.rh-ods.com:8443/rhel7/etcd:7601a270 registry.redhat.io/ubi8/ubi-minimal@sha256:5d2d4d4dbec470f8ffb679915e2a8ae25ad754cd9193fa966deee1ecb7b3ee00=registry.rh-ods.com:8443/ubi8/ubi-minimal:5f29ff29 quay.io/modh/cuda-notebooks@sha256:0070bf826f759be89068133edf73ba73855263c9788624b4f94dd3acb14d23b7=registry.rh-ods.com:8443/modh/cuda-notebooks:latest registry.redhat.io/rhods/odh-model-controller-rhel8@sha256:a97112e475ad23386d604488ca3e46db319a1455d7a7980dde1751dd950a3614=registry.rh-ods.com:8443/rhods/odh-model-controller-rhel8:d44a8bc3 quay.io/modh/odh-minimal-notebook-container@sha256:43c88006d3bf71513b5e265a9bcf09b315aaa2142b6175c0e618829927dbaac2=registry.rh-ods.com:8443/modh/odh-minimal-notebook-container:latest quay.io/modh/odh-generic-data-science-notebook@sha256:46dbee9764ae96d95fb5719446226bf0b86ec1e8cc695ac12df575a352d79f8f=registry.rh-ods.com:8443/modh/odh-generic-data-science-notebook:latest registry.redhat.io/rhods/odh-trustyai-service-rhel8@sha256:cf8d9c3c90eea67d00a6f993284afccc71750ef290bba383d6347758505a3b50=registry.rh-ods.com:8443/rhods/odh-trustyai-service-rhel8:c9033fd6 registry.redhat.io/rhods/odh-kf-notebook-controller-rhel8@sha256:661ef8c3b324d3e69d2255c97ddf893768f931d42451c3ce0fda4ac9cf2d27af=registry.rh-ods.com:8443/rhods/odh-kf-notebook-controller-rhel8:2d0253c9 registry.redhat.io/rhods/odh-data-science-pipelines-operator-controller-rhel8@sha256:c058ab70c568f56008df1d550356a3c6724fc1297412f26e50dbcc0405de479c=registry.rh-ods.com:8443/rhods/odh-data-science-pipelines-operator-controller-rhel8:38818496 quay.io/modh/cuda-notebooks@sha256:2163ba74f602ec4b3049a88dcfa4fe0a8d0fff231090001947da66ef8e75ab9a=registry.rh-ods.com:8443/modh/cuda-notebooks:latest registry.redhat.io/rhods/odh-ml-pipelines-persistenceagent-rhel8@sha256:616f774930996358f73e6a0dcc253158e3f39d96dad1d1eeb4f056a282b1d549=registry.rh-ods.com:8443/rhods/odh-ml-pipelines-persistenceagent-rhel8:1f81a50d registry.redhat.io/rhods/odh-deployer-rhel8@sha256:e482b2f625015b0d2e420939501ee7d15791e901ca58093614e4a64de69b77b5=registry.rh-ods.com:8443/rhods/odh-deployer-rhel8:107cddf9 registry.redhat.io/rhods/odh-modelmesh-runtime-adapter-rhel8@sha256:0cc12dbfecc5278a62064cb4e5d5e74b551b05e3608b1146c9b021203e5f6015=registry.rh-ods.com:8443/rhods/odh-modelmesh-runtime-adapter-rhel8:fd1ea34d quay.io/modh/odh-generic-data-science-notebook@sha256:ebb5613e6b53dc4e8efcfe3878b4cd10ccb77c67d12c00d2b8c9d41aeffd7df5=registry.rh-ods.com:8443/modh/odh-generic-data-science-notebook:latest registry.redhat.io/openshift4/ose-prometheus-alertmanager@sha256:169b788b3f8eb8909ecc1d698ab0a6bf103b49043c7f5fd569789b179928def6=registry.rh-ods.com:8443/openshift4/ose-prometheus-alertmanager:5c33893d registry.redhat.io/rhods/odh-ml-pipelines-scheduledworkflow-rhel8@sha256:82d923559a4b77bb152f7260d0e37fee4d239a1e180808f1ca46cfbd766941df=registry.rh-ods.com:8443/rhods/odh-ml-pipelines-scheduledworkflow-rhel8:c02ad21c registry.redhat.io/rhods/odh-ml-pipelines-artifact-manager-rhel8@sha256:2e59c36ca154829dff6918625498d4a7d3d874e77dd66c5b89b780da64a789f6=registry.rh-ods.com:8443/rhods/odh-ml-pipelines-artifact-manager-rhel8:ffeacaa2 registry.redhat.io/openshift4/ose-oauth-proxy@sha256:4bef31eb993feb6f1096b51b4876c65a6fb1f4401fee97fa4f4542b6b7c9bc46=registry.rh-ods.com:8443/openshift4/ose-oauth-proxy:444130ab quay.io/modh/cuda-notebooks@sha256:492c37fb4b71c07d929ac7963896e074871ded506230fe926cdac21eb1ab9db8=registry.rh-ods.com:8443/modh/cuda-notebooks:latest registry.redhat.io/rhods/odh-modelmesh-rhel8@sha256:e6412858f0ce6e084e955b7cacec2323636049839f3b3a341cc467ce36dde69d=registry.rh-ods.com:8443/rhods/odh-modelmesh-rhel8:8c8ef696 registry.redhat.io/rhods/odh-notebook-controller-rhel8@sha256:bcaf3d4db9ddd4750cfb5ba784f0f5749daf7923ddef4dcdfee8406295350e61=registry.rh-ods.com:8443/rhods/odh-notebook-controller-rhel8:5838ee92 quay.io/modh/cuda-notebooks@sha256:348fa993347f86d1e0913853fb726c584ae8b5181152f0430967d380d68d804f=registry.rh-ods.com:8443/modh/cuda-notebooks:latest quay.io/modh/cuda-notebooks@sha256:a6080e64d9b70683d8f19334d85e5df7d574f260e2923568e1c5d955d2a8bdc5=registry.rh-ods.com:8443/modh/cuda-notebooks:latest registry.redhat.io/rhods/odh-ml-pipelines-api-server-rhel8@sha256:615194339fba09e874b7a1a874c1fcac0433651fed33b5dc8bf48394cab95c4d=registry.rh-ods.com:8443/rhods/odh-ml-pipelines-api-server-rhel8:a08082f4 quay.io/modh/odh-minimal-notebook-container@sha256:a5a7738b09a204804e084a45f96360b568b0b9d85709c0ce6742d440ff917183=registry.rh-ods.com:8443/modh/odh-minimal-notebook-container:latest registry.redhat.io/openshift4/ose-prometheus-operator@sha256:4aeb07f66dc39889e3d0e66eee7c4ea2e39ce4025852d1d1eaf662af8bd8eeb6=registry.rh-ods.com:8443/openshift4/ose-prometheus-operator:b2a5105 registry.redhat.io/rhel8/mariadb-103@sha256:08c90a8f133b4cdb1477a742bc44be4d8fc4e88153b8bc2a2a148cbdf19f4e7d=registry.rh-ods.com:8443/rhel8/mariadb-103:fe9c820d quay.io/modh/odh-pytorch-notebook@sha256:9eb63a61da203178ff2579861a39efedd264447aa45a787d6b7bd9b08c13b1af=registry.rh-ods.com:8443/modh/odh-pytorch-notebook:latest registry.redhat.io/rhods/odh-dashboard-rhel8@sha256:34818583556c7476c85a32df4d7aef47667f836db1fafabfb1320cd0fc52edb9=registry.rh-ods.com:8443/rhods/odh-dashboard-rhel8:58fb447c registry.redhat.io/rhods/odh-ml-pipelines-viewercontroller-rhel8@sha256:8cfd914531cd57b7a4e51b675dc775bbbe83e37f4b1ce116175a154aa87c4704=registry.rh-ods.com:8443/rhods/odh-ml-pipelines-viewercontroller-rhel8:79ea0d56 registry.redhat.io/rhods/odh-modelmesh-serving-controller-rhel8@sha256:1ab1ab6a3af6dfef2c827e35c690fc795219684ad191f205c790ac8637daf04d=registry.rh-ods.com:8443/rhods/odh-modelmesh-serving-controller-rhel8:f8a5b725 registry.redhat.io/openshift4/ose-cli@sha256:25fef269ac6e7491cb8340119a9b473acbeb53bc6970ad029fdaae59c3d0ca61=registry.rh-ods.com:8443/openshift4/ose-cli:64a6e075 quay.io/modh/odh-trustyai-notebook@sha256:f8be3f6622d4bca653568e9c8b43363a842808d4669a3cd397f0d3a4f9a4c165=registry.rh-ods.com:8443/modh/odh-trustyai-notebook:latest

       

              Unassigned Unassigned
              mwaykole Milind Waykole
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: