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

Console OperatorHub drop-down version list should not show the versions not supporting the env's arch for user to select

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • 4.14
    • OLM / OperatorHub
    • Moderate
    • No
    • Rasputin OLM Sprint 252
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Console OperatorHub drop-down version list should not show the versions not supporting the env's arch for user to select
      

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

      4.14.8
      

      How reproducible:

      Always
      

      Steps to Reproduce:

      1. Launch a 4.14 arm env.
      2. In Console OperatorHub, try to install an operator which starts to support multi-arch in latest version. Take RH cert-manager Operator for example: create catalogsource from brew iib-pub-pending:v4.14 index image, and try to install cert-manager Operator from it in OperatorHub.
      
      We can see v1.13.0 starts to support multi-arch while versions < v1.13 does not support multi-arch:
      $ opm alpha list bundles brew.xxx.xxx.xxx/rh-osbs/iib-pub-pending:v4.14 | grep cert-manager
      ...
      openshift-cert-manager-operator    stable-v1    cert-manager-operator.v1.12.1    cert-manager-operator.v1.12.0  >=1.12.0 <1.12.1                 registry.xxx.xxx.xxx/cert-manager/cert-manager-operator-bundle@sha256:140dafad28aa23ffccfcd87ff0674aa9fcbd904194728a9ee482bfa2d8d976aa
      
      openshift-cert-manager-operator    stable-v1    cert-manager-operator.v1.13.0     cert-manager-operator.v1.12.1  >=1.12.1 <1.13.0                 registry.xxx.xxx.xxx/cert-manager/cert-manager-operator-bundle@sha256:e07e1e7079f57e91a362d9151804577cfec8a41bb8b63872764f80514f5ebaaa
      ...
      
      $ opm render registry.xxx.xxx.xxx/cert-manager/cert-manager-operator-bundle@sha256:140dafad28aa23ffccfcd87ff0674aa9fcbd904194728a9ee482bfa2d8d976aa | grep arch
                          "operatorframework.io/arch.amd64": "supported",
       
      $ opm render registry.xxx.xxx.xxx/cert-manager/cert-manager-operator-bundle@sha256:e07e1e7079f57e91a362d9151804577cfec8a41bb8b63872764f80514f5ebaaa | grep arch
                          "operatorframework.io/arch.amd64": "supported",
                          "operatorframework.io/arch.arm64": "supported",
                          "operatorframework.io/arch.ppc64le": "supported",
                          "operatorframework.io/arch.s390x": "supported",
      

      Actual results:

      2. Console OperatorHub drop-down version list show the versions (those < v1.13) not supporting arm arch for user to select.
      

      Expected results:

      2. Console OperatorHub drop-down version list should only show the versions supporting arm arch for user to select.
      

      Additional info:

      
      

              rh-ee-bpalmer Bryce Palmer
              xxia-1 Xingxing Xia
              Xia Zhao Xia Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: