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

oc-mirror does not mirror arm64 OCP release payload

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • 4.12
    • 4.11
    • oc / oc-mirror
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None
    • Hide
      The {product-title} {product-version} release updates the `oc-mirror` library, so that the library supports multi-arch platform images. This means that you can choose from a wider selection of architectures, such as `arm64`, when mirroring a platform release payload.

      (link:https://issues.redhat.com/browse/OCPBUGS-617[*OCPBUGS-617*])
      Show
      The {product-title} {product-version} release updates the `oc-mirror` library, so that the library supports multi-arch platform images. This means that you can choose from a wider selection of architectures, such as `arm64`, when mirroring a platform release payload. (link: https://issues.redhat.com/browse/OCPBUGS-617 [* OCPBUGS-617 *])
    • Enhancement
    • Done

      Description of problem:

      oc-mirror does not mirror the OCP release payload for arm64

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

      $ oc-mirror version
      Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.11.0-202208020235.p0.g3c1c80c.assembly.stream-3c1c80c", GitCommit:"3c1c80ca6a5a22b5826c88897e7a9e5acd7c1a96", GitTreeState:"clean", BuildDate:"2022-08-02T04:04:36Z", GoVersion:"go1.18.4", Compiler:"gc", Platform:"linux/amd64"}
      

      How reproducible:

      100%

      Steps to Reproduce:

      $ cat architecture-imageset-configuration.yaml
      apiVersion: mirror.openshift.io/v1alpha2
      kind: ImageSetConfiguration
      mirror:
        platform:
          architectures:
            - "arm64"
          channels:
            - name: stable-4.11
      $ oc-mirror --config=architecture-imageset-configuration.yaml docker://provisioning.schmaustech.com:5000 --dest-skip-tls --dry-run
      Checking push permissions for provisioning.schmaustech.com:5000
      error: invalid configuration: release architecture "arm64" is not a supported architecture 

      Actual results:

      The release architecture is reported as not supported.

      Expected results:

      The release payload should be mirrored because it is a supported OCP architecture.

      Additional info:

      Related GH https://github.com/openshift/oc-mirror/issues/500

            lfrfla Alex Flom (Inactive)
            jpower_personal Jennifer Power
            ying zhou ying zhou
            Darragh Fitzmaurice Darragh Fitzmaurice
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: