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

[CLI Manager Operator] - cli manager cannot currently serve darwin/arm64 and windows/amd64 images

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.17.0
    • cli-manager
    • None
    • Important
    • None
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      Description of problem:

      when trying to retrieve darwin/arm64 and windows/amd64 binaries from the images built on linux platforms does not work and i see below error is thrown
      message: failed to pull the image error no child with platform darwin/arm64 in
            index registry.redhat.io/openshift4/ose-cli-artifacts-rhel9:v4.16.0-202410031007.p0.gcf533b5.assembly.stream.el9
      
          

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

           [knarra@knarra-thinkpadx1carbon7th aws]$ oc get csv -n openshift-cli-manager-operator
      NAME                          DISPLAY       VERSION   REPLACES   PHASE
      cli-manager-operator.v0.1.0   CLI Manager   0.1.0                Succeeded
      
          

      How reproducible:

          Always
          

      Steps to Reproduce:

          1. Install latest 4.17 ocp cluster
          2. Install cli-manager
          3. Install a darwin/arm64 machine, install krew and add ocp index to krew
          4. Try adding plugin with the yaml file below
           [knarra@knarra-thinkpadx1carbon7th aws]$ oc get plugin/oc -o yaml
      apiVersion: config.openshift.io/v1alpha1
      kind: Plugin
      metadata:
        creationTimestamp: "2024-10-18T10:23:36Z"
        generation: 7
        name: oc
        resourceVersion: "80389"
        uid: 7e6d2503-2d87-4e1a-b667-92c60f72ffb7
      spec:
        description: oc plugin
        homepage: https://github.com/openshift/oc
        platforms:
        - bin: oc
          files:
          - from: /usr/share/openhist/darwin_arm64
            to: .
          image: registry.redhat.io/openshift4/ose-cli-artifacts-rhel9:v4.16.0-202410031007.p0.gcf533b5.assembly.stream.el9
          imagePullSecret: openshift-config/pull-secret
          platform: darwin/arm64
        shortDescription: oc
        version: v4.16.0
      status:
        conditions:
        - lastTransitionTime: "2024-10-18T10:40:19Z"
          message: failed to pull the image error no child with platform darwin/arm64 in
            index registry.redhat.io/openshift4/ose-cli-artifacts-rhel9:v4.16.0-202410031007.p0.gcf533b5.assembly.stream.el9
          reason: ImagePullError
          status: "False"
          type: PluginInstalled
      
      
          

      Actual results:

          Plugin fails to install with the error above
          

      Expected results:

           cli-manager should be able to serve darwin/arm64 and windows/arm64 images
          

      Additional info:

           More info in the thread here: https://redhat-internal.slack.com/archives/GK58XC2G2/p1729251622431699?thread_ts=1729185581.907589&cid=GK58XC2G2
          

              aguclu@redhat.com Arda Guclu
              knarra@redhat.com Rama Kasturi Narra
              Rama Kasturi Narra Rama Kasturi Narra
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: