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

oc-mirror does not mirror the RHCOS image for HyperShift KubeVirt provider from the OCP release payload

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 4.16.0
    • oc / oc-mirror
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      The KubeVirt provider for HyperShift uses an RHCOS image to boot VMs that will be used as nodes of the hosted clusters.
      The OCP release payload image contains a pointer to it but oc-mirror ignores it.
      
      The pull URL of this image can be obtained from the OCP release payload image as:
      
      $ cat release-manifests/0000_50_installer_coreos-bootimages.yaml | yq -r .data.stream | jq -r '.architectures.x86_64.images.kubevirt."digest-ref"'
      quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:6ae6015fec8edc8c46248e2f7beba7ef1ce00efe7c050f71f9658043435f7715

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

          

      How reproducible:

          100%

      Steps to Reproduce:

          1. Mirror the OCP release payload image with oc-mirror
          2. Check for the presence of the RHCOS image for the HyperShift KubeVirt provider (cat release-manifests/0000_50_installer_coreos-bootimages.yaml | yq -r .data.stream | jq -r '.architectures.x86_64.images.kubevirt."digest-ref"')
          3.
          

      Actual results:

          The RHCOS image used for the HyperShift KubeVirt provider is not present on the internal registry 

      Expected results:

          The RHCOS image used for the HyperShift KubeVirt provider got mirrored to the internal registry 

      Additional info:

          This is required for the disconnected scenario of HCP with the Kubevirt Provider

            luzuccar@redhat.com Luigi Mario Zuccarelli
            stirabos Simone Tiraboschi
            ying zhou ying zhou
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: