-
Bug
-
Resolution: Done
-
Normal
-
None
-
None
-
2
-
False
-
-
False
-
?
-
rhos-18.0.5
-
openstack-operator-container-1.0.7-1
-
None
-
Release Note Not Required
-
-
-
Low
In normal operation of the openstack-operator, whether or not there is a ImageContentSourcePolicy resource in the cluster, the operator prints failures related to the ImageContentSourcePolicy resource:
E0103 11:48:59.939880 1 reflector.go:147] go/pkg/mod/k8s.io/client-go@v0.29.12/tools/cache/reflector.go:229: Failed to watch *v1alpha1.ImageContentSourcePolicy: unknown (get imagecontentsourcepolicies.operator.openshift.io) E0103 11:49:37.412674 1 reflector.go:147] go/pkg/mod/k8s.io/client-go@v0.29.12/tools/cache/reflector.go:229: Failed to watch *v1alpha1.ImageContentSourcePolicy: unknown (get imagecontentsourcepolicies.operator.openshift.io) E0103 11:50:10.949293 1 reflector.go:147] go/pkg/mod/k8s.io/client-go@v0.29.12/tools/cache/reflector.go:229: Failed to watch *v1alpha1.ImageContentSourcePolicy: unknown (get imagecontentsourcepolicies.operator.openshift.io) E0103 11:51:01.940747 1 reflector.go:147] go/pkg/mod/k8s.io/client-go@v0.29.12/tools/cache/reflector.go:229: Failed to watch *v1alpha1.ImageContentSourcePolicy: unknown (get imagecontentsourcepolicies.operator.openshift.io)
This is because the operator doesn't have permission to "watch" this resource:
$ oc auth can-i watch imagecontentsourcepolicies.operator.openshift.io --as openstack-operator-controller-manager Warning: resource 'imagecontentsourcepolicies' is not namespace scoped in group 'operator.openshift.io' no
We can solve this by simply allowing the operator to watch this resource, since it's already allowed to Get and List anyway.
- links to
-
RHBA-2025:146727 Release of containers for RHOSO OpenStack Podified operator