Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-74271

mirror with kubeVirtContainer or unsigned image failed

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 4.21
    • oc-mirror
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Yes
    • None
    • None
    • None
    • CLID Sprint 283
    • 1
    • In Progress
    • Known Issue
    • KubeVirtContainer image was not signed. Asked ART team to sign it and it fixed the issue.
    • None
    • None
    • None
    • None

      Description of problem:

      mirror with kubeVirtContainer, got error 

      Version-Release number of selected component (if applicable):

      4.21

      How reproducible:

      Always    

      Steps to Reproduce:

      1 prepare isc.yaml:
      apiVersion: mirror.openshift.io/v2alpha1
      kind: ImageSetConfiguration
      mirror:
        platform:
          graph: true
          release: quay.io/openshift-release-dev/ocp-release:4.20.11-x86_64 
          kubeVirtContainer: true
      2. mirror to disk
      oc-mirror -c isc.yaml file://test --v2 --src-tls-verify=false     

      Actual results:

      mirror failed
      [ERROR]  : [Executor] unable to add image blobs to the archive : archive error: error when creating a new image source: reading manifest sha256-d6f7de2cc6c6bc49486533a2550d8180c30c7a8b2ec9cd8ec069c5d92bffd11a.sig in localhost:55000/openshift/release: manifest unknown

      Expected results:

       mirror succeed without error     

      Additional info:

      1. 4.20.11-x86_64 no such issue
      2. kubeVirtContainer: true with --remove-signatures, no error
      3. kubeVirtContainer: false without --remove-signatures, no error.   
      4. under ~/.config/containers/registries.d and /etc/containers/registries.d folder, no yaml file set "use-sigstore-attachments" value 

              rh-ee-aguidi Alex Guidi
              maxu@redhat.com May Xu
              Joep van Delft
              None
              May Xu May Xu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: