Uploaded image for project: 'Distributed Tracing'
  1. Distributed Tracing
  2. TRACING-3740

[ARM] [RHOSDT 3.0] Tempo, OpenTelemetry, Jaeger operators are not showing in OperatorHub from OCP web console.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Jaeger, OpenTelemetry, Tempo
    • None
    • 1
    • False
    • None
    • False
    • Tracing Sprint # 245

      Version of components:

      OCP 4.14 ARM cluster.

      Description of the problem:

      The Tempo, OpenTelemetry and Jaeger operators cannot be searched and are not showing in OperatorHub on OCP web console. However the operators can be installed from command line. 

      jaeger-operator.v1.51.0-1          Red Hat OpenShift distributed tracing platform   1.51.0-1   jaeger-operator.v1.42.0-5-0.1687199951.p          Succeeded
      opentelemetry-operator.v0.89.0-3   Red Hat build of OpenTelemetry                   0.89.0-3   opentelemetry-operator.v0.74.0-5-0.1687199949.p   Succeeded
      tempo-operator.v0.6.0-1            Tempo Operator                                   0.6.0-1    tempo-operator.v0.1.0-6-0.1687199947.p            Succeeded

      Steps to reproduce the issue:

      • Create a ICSP as follows.
      $ cat icsp.sh 
      oc delete imagecontentsourcepolicies stage-registry
      
      oc delete imagecontentsourcepolicies brew-registry
      
      cat <<EOF  | oc create -f -
      apiVersion: operator.openshift.io/v1alpha1
      kind: ImageContentSourcePolicy
      metadata:
        name: brew-registry
      spec:
        repositoryDigestMirrors:
        - mirrors:
          - brew.registry.redhat.io
          source: registry.redhat.io
        - mirrors:
          - brew.registry.redhat.io
          source: registry.stage.redhat.io
        - mirrors:
          - brew.registry.redhat.io
          source: registry-proxy.engineering.redhat.com
      EOF
      
      • Create the catalogsource for Tempo, OTEL and Jaeger operators.
      $ cat tempo-index.sh otel-index.sh jaeger-index.sh 
      oc delete catalogsource stage-catalogsource -n openshift-marketplace
      
      oc delete catalogsource tempo-registry -n openshift-marketplace
      
      cat <<EOF |oc create -f -
      apiVersion: operators.coreos.com/v1alpha1
      kind: CatalogSource
      metadata:
        name: tempo-registry
        namespace: openshift-marketplace
      spec:
        sourceType: grpc
        image: brew.registry.redhat.io/rh-osbs/iib:627872
        publisher: Openshift QE
        updateStrategy:
          registryPoll:
            interval: 10m0s
      EOF
      
      oc delete catalogsource stage-catalogsource -n openshift-marketplace
      
      oc delete catalogsource otel-registry -n openshift-marketplace
      
      cat <<EOF |oc create -f -
      apiVersion: operators.coreos.com/v1alpha1
      kind: CatalogSource
      metadata:
        name: otel-registry
        namespace: openshift-marketplace
      spec:
        sourceType: grpc
        image: brew.registry.redhat.io/rh-osbs/iib:627710
        publisher: Openshift QE
        updateStrategy:
          registryPoll:
            interval: 10m0s
      EOF
      
      oc delete catalogsource stage-catalogsource -n openshift-marketplace
      
      oc delete catalogsource jaeger-registry -n openshift-marketplace
      
      cat <<EOF |oc create -f -
      apiVersion: operators.coreos.com/v1alpha1
      kind: CatalogSource
      metadata:
        name: jaeger-registry
        namespace: openshift-marketplace
      spec:
        sourceType: grpc
        image: brew.registry.redhat.io/rh-osbs/iib:627874
        publisher: Openshift QE
        updateStrategy:
          registryPoll:
            interval: 10m0s
      EOF
      
      • Make sure that the pods are running in openshift-marketpalce.
        $ oc get pods -n openshift-marketplace
        NAME                                                              READY   STATUS      RESTARTS      AGE
        06c02dc0fa499d85e27793e74be166f138b92228636340fe69bacb1a6bqfzc8   0/1     Completed   0             9m33s
        70fdfeff568dde77cd59a8550d64c056324e4bb6a96792fea93e95998b8msx8   0/1     Completed   0             9m34s
        765399d2688ea0b5c93034b579eafb4c15eda24a56b1071be1ffdc19d76tdkm   0/1     Completed   0             9m29s
        b8f59a6db2b81734b6899b58684c20e4bc7fc5f45090192c20010597a5xrkwj   0/1     Completed   0             20m
        certified-operators-rspg2                                         1/1     Running     0             45m
        community-operators-xsvr9                                         1/1     Running     0             45m
        e09dce782c2f70f25f5a7bd53d9dc71218880099950643eb95f8ad1fe0j59tc   0/1     Completed   0             20m
        jaeger-registry-6qhzn                                             1/1     Running     0             16m
        marketplace-operator-5b9ff8bbc7-n8rv5                             1/1     Running     1 (39m ago)   47m
        otel-registry-kvrlc                                               1/1     Running     0             15m
        redhat-marketplace-2wp9g                                          1/1     Running     0             45m
        redhat-operators-vsm6b                                            1/1     Running     0             45m
        tempo-registry-rtrh9                                              1/1     Running     0             17m
      • Search for the operators from OCP web console > OperatorHub, the results are empty.
      • Install the operators from CLI, and check that the operators are installed.
      apiVersion: project.openshift.io/v1
      kind: Project
      metadata:
        labels:
          kubernetes.io/metadata.name: openshift-distributed-tracing
          openshift.io/cluster-monitoring: "true"
        name: openshift-distributed-tracing
      ---
      apiVersion: operators.coreos.com/v1
      kind: OperatorGroup
      metadata:
        name: openshift-distributed-tracing-5tqf6
        namespace: openshift-distributed-tracing
      spec:
        upgradeStrategy: Default
      ---
      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        name: jaeger-product
        namespace: openshift-distributed-tracing
      spec:
        channel: stable
        installPlanApproval: Automatic
        name: jaeger-product
        source: jaeger-registry
        sourceNamespace: openshift-marketplace
      ---
      apiVersion: project.openshift.io/v1
      kind: Project
      metadata:
        labels:
          openshift.io/cluster-monitoring: "true"
        name: openshift-opentelemetry-operator
      ---
      apiVersion: operators.coreos.com/v1
      kind: OperatorGroup
      metadata:
        name: openshift-opentelemetry-operator
        namespace: openshift-opentelemetry-operator
      spec:
        upgradeStrategy: Default
      ---
      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        name: opentelemetry-product
        namespace: openshift-opentelemetry-operator
      spec:
        channel: stable
        installPlanApproval: Automatic
        name: opentelemetry-product
        source: otel-registry
        sourceNamespace: openshift-marketplace
      ---
      apiVersion: project.openshift.io/v1
      kind: Project
      metadata:
        labels:
          openshift.io/cluster-monitoring: "true"
        name: openshift-tempo-operator
      ---
      apiVersion: operators.coreos.com/v1
      kind: OperatorGroup
      metadata:
        name: openshift-tempo-operator
        namespace: openshift-tempo-operator
      spec:
        upgradeStrategy: Default
      ---
      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        name: tempo-product
        namespace: openshift-tempo-operator
      spec:
        channel: stable
        installPlanApproval: Automatic
        name: tempo-product
        source: tempo-registry
        sourceNamespace: openshift-marketplace
      
      jaeger-operator.v1.51.0-1          Red Hat OpenShift distributed tracing platform   1.51.0-1   jaeger-operator.v1.42.0-5-0.1687199951.p          Succeeded
      opentelemetry-operator.v0.89.0-3   Red Hat build of OpenTelemetry                   0.89.0-3   opentelemetry-operator.v0.74.0-5-0.1687199949.p   Succeeded
      tempo-operator.v0.6.0-1            Tempo Operator                                   0.6.0-1    tempo-operator.v0.1.0-6-0.1687199947.p            Succeeded

       

        1. Screenshot from 2023-11-24 20-21-22.png
          170 kB
          Ishwar Kanse
        2. Screenshot from 2023-11-24 20-22-58.png
          171 kB
          Ishwar Kanse
        3. Screenshot from 2023-11-24 20-23-21.png
          228 kB
          Ishwar Kanse

              agerstma@redhat.com Andreas Gerstmayr
              rhn-support-ikanse Ishwar Kanse
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: