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

Cluster Image Registry Operator unable to setup event recorder as "POD_NAME" env variable is not set and there are no pods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.18.z
    • Image Registry
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The cluster-image-registry-operator     

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

      4.18    

      How reproducible:

          Every time.

      Steps to Reproduce:

          1. Deploy ROKS v4.18 (HyperShift) cluster
          2. Check cluster-image-registry-operator pod logs
          

      Actual results:

          The cluster-image-registry-operator pod logs contain the following warning message.
      W0317 20:49:01.974470       1 builder.go:272] unable to get owner reference (falling back to namespace): unable to setup event recorder as "POD_NAME" env variable is not set and there are no pods

      Expected results:

          There shouldn't be any warning messages

      Additional info:

      We tried to resolve the issue by patching the cluster-image-registry-operator deployment by adding the following under `env:`.

      - name: POD_NAME
          valueFrom:
            fieldRef:
              fieldPath: metadata.name

      Although this resolved the warning, another came back in its place.

      W0318 17:35:12.634577 1 builder.go:272] unable to get owner reference (falling back to namespace): pods "cluster-image-registry-operator-846bd4f995-bwkvg" not found

       

              fmissi Flavian Missi
              evan.reilly Evan Reilly (Inactive)
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: