Uploaded image for project: 'Cluster Observability Operator'
  1. Cluster Observability Operator
  2. COO-224

Operatorhub can not display cluster-observability-operator due to multi-arch labels absence

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 0.3.0
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      On ARM platform,  Operatorhub can not display cluster-observability-operator as the following labels are missing in packagemanifest/cluster-observability-operator.

                  "operatorframework.io/arch.amd64": "supported",
                  "operatorframework.io/arch.arm64": "supported",
                  "operatorframework.io/arch.ppc64le": "supported",
                  "operatorframework.io/arch.s390x": "supported",     

      We should add label in CSV  like this https://github.com/openshift/cluster-logging-operator/blob/master/bundle/manifests/cluster-logging.clusterserviceversion.yaml#L205

       

      Step to Reproduce:
      1.  launch an ARM64  OCP cluster

      2. Enable catalogsource using the latest IIB.

      oc apply -f - <<EOF
      ---
      apiVersion: operators.coreos.com/v1alpha1
      kind: CatalogSource
      metadata:
        annotations:
        name: coo-candidate
        namespace: openshift-marketplace
      spec:
        displayName: coo-candidate
        icon:
          base64data: ""
          mediatype: ""
        image: brew.registry.redhat.io/rh-osbs/iib:756271
        sourceType: grpc
        grpcPodConfig:
          securityContextConfig: restricted
        updateStrategy:
          registryPoll:
            interval: 1m0s
      EOF
      

      3) Search  cluster-observability-operator  in OperatorHub in Webconsole.

      Actual result
      You can not find  cluster-observability-operator in OperatorHub

       

      Additional Info
      cluster-observability-operator packagemanifest

      oc get packagemanifests cluster-observability-operator -o json
      {
          "apiVersion": "packages.operators.coreos.com/v1",
          "kind": "PackageManifest",
          "metadata": {
              "labels": {
                  "catalog": "coo-candidate",
                  "catalog-namespace": "openshift-marketplace",
                  "operatorframework.io/arch.amd64": "supported",
                  "operatorframework.io/os.linux": "supported",
                  "provider": "Red Hat",
                  "provider-url": ""
              },
              "name": "cluster-observability-operator",
          },
      ...

      cluster-logging  packagemanifest

       

       

      oc get packagemanifests cluster-logging -o json
      {
          "apiVersion": "packages.operators.coreos.com/v1",
          "kind": "PackageManifest",
          "metadata": {
              "creationTimestamp": "2024-07-01T06:59:45Z",
              "labels": {
                  "catalog": "coo-candidate",
                  "catalog-namespace": "openshift-marketplace",
                  "operatorframework.io/arch.amd64": "supported",
                  "operatorframework.io/arch.arm64": "supported",
                  "operatorframework.io/arch.ppc64le": "supported",
                  "operatorframework.io/arch.s390x": "supported",
                  "operatorframework.io/os.linux": "supported",
                  "provider": "Red Hat, Inc",
                  "provider-url": ""
              },
              "name": "cluster-logging",
              "namespace": "openshift-logging"
          },
          ...
      }
      

       

            mariofer@redhat.com Mario Fernandez Herrero
            rhn-support-anli Anping Li
            Anping Li Anping Li
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: