-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.18.z
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