Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
AMQ 7.10.0.OPR.3.GA
-
None
-
False
-
None
-
False
-
Description
Amq Broker 7.10 on openshift 4.x
Amq7 operator installed to watch multiple namespaces ending up with below issue
Executing entrypoint exec /home/amq-broker-operator/bin/amq-broker-operator 2022-08-29T10:03:51.751Z INFO setup Go Version: go1.16.12 2022-08-29T10:03:51.751Z INFO setup Go OS/Arch: linux/amd64 2022-08-29T10:03:51.751Z INFO setup Version of operator-sdk: 1.15.0 2022-08-29T10:03:51.751Z INFO setup Version of the operator: 7.10.0 2022-08-29T10:03:51.751Z INFO setup Product Version: 7.10.0 2022-08-29T10:03:51.751Z INFO setup Supported AMQ Broker Product Versions: 7.10.0 7.8.1 7.8.2 7.8.3 7.9.0 7.9.1 7.9.2 7.9.3 2022-08-29T10:03:51.751Z INFO setup Got operator namespace {"operator ns": "artemis7"} 2022-08-29T10:03:51.751Z INFO setup setting up operator to watch all namespaces I0829 10:03:52.803097 1 request.go:665] Waited for 1.040054532s due to client-side throttling, not priority and fairness, request: GET:https://172.30.0.1:443/apis/operators.coreos.com/v1alpha1?timeout=32s 2022-08-29T10:03:54.466Z INFO controller-runtime.metrics metrics server is starting to listen {"addr": "0.0.0.0:8383"} 2022-08-29T10:03:59.876Z ERROR setup failed to get pod {"namespace": "artemis7", "pod name": "amq-broker-controller-manager-7f9c769c5f-46kjw", "error": "pods \"amq-broker-controller-manager-7f9c769c5f-46kjw\" is forbidden: User \"system:serviceaccount:artemis7:amq-broker-operator\" cannot get resource \"pods\" in API group \"\" in the namespace \"artemis7\""} runtime.main /opt/rh/go-toolset-1.16/root/usr/lib/go-toolset-1.16-golang/src/runtime/proc.go:225 2022-08-29T10:03:59.876Z INFO setup NOT Setting up webhook functions {"ENABLE_WEBHOOKS": "false"} 2022-08-29T10:03:59.876Z INFO setup starting the Cmd. 2022-08-29T10:03:59.876Z INFO controller_v1beta1activemqartemisaddress Setting up address observer I0829 10:03:59.876902 1 leaderelection.go:248] attempting to acquire leader lease artemis7/d864aab0.amq.io... 2022-08-29T10:03:59.876Z INFO starting metrics server {"path": "/metrics"} 2022-08-29T10:03:59.877Z INFO addressobserver_activemqartemisaddress #### Started workers I0829 10:03:59.900100 1 leaderelection.go:258] successfully acquired lease artemis7/d864aab0.amq.io 2022-08-29T10:03:59.900Z INFO controller.activemqartemissecurity Starting EventSource {"reconciler group": "broker.amq.io", "reconciler kind": "ActiveMQArtemisSecurity", "source": "kind source: /, Kind="} 2022-08-29T10:03:59.900Z INFO controller.activemqartemissecurity Starting Controller {"reconciler group": "broker.amq.io", "reconciler kind": "ActiveMQArtemisSecurity"} 2022-08-29T10:03:59.901Z INFO controller.activemqartemisaddress Starting EventSource {"reconciler group": "broker.amq.io", "reconciler kind": "ActiveMQArtemisAddress", "source": "kind source: /, Kind="} 2022-08-29T10:03:59.901Z INFO controller.activemqartemisaddress Starting EventSource {"reconciler group": "broker.amq.io", "reconciler kind": "ActiveMQArtemisAddress", "source": "kind source: /, Kind="} 2022-08-29T10:03:59.901Z INFO controller.activemqartemisaddress Starting Controller {"reconciler group": "broker.amq.io", "reconciler kind": "ActiveMQArtemisAddress"} 2022-08-29T10:03:59.901Z INFO controller.activemqartemisscaledown Starting EventSource {"reconciler group": "broker.amq.io", "reconciler kind": "ActiveMQArtemisScaledown", "source": "kind source: /, Kind="} 2022-08-29T10:03:59.901Z INFO controller.activemqartemisscaledown Starting EventSource {"reconciler group": "broker.amq.io", "reconciler kind": "ActiveMQArtemisScaledown", "source": "kind source: /, Kind="} 2022-08-29T10:03:59.901Z INFO controller.activemqartemisscaledown Starting Controller {"reconciler group": "broker.amq.io", "reconciler kind": "ActiveMQArtemisScaledown"} 2022-08-29T10:03:59.901Z INFO controller.activemqartemis Starting EventSource {"reconciler group": "broker.amq.io", "reconciler kind": "ActiveMQArtemis", "source": "kind source: /, Kind="} 2022-08-29T10:03:59.901Z INFO controller.activemqartemis Starting EventSource {"reconciler group": "broker.amq.io", "reconciler kind": "ActiveMQArtemis", "source": "kind source: /, Kind="} 2022-08-29T10:03:59.901Z INFO controller.activemqartemis Starting EventSource {"reconciler group": "broker.amq.io", "reconciler kind": "ActiveMQArtemis", "source": "kind source: /, Kind="} 2022-08-29T10:03:59.901Z INFO controller.activemqartemis Starting EventSource {"reconciler group": "broker.amq.io", "reconciler kind": "ActiveMQArtemis", "source": "channel source: 0xc000428140"} 2022-08-29T10:03:59.901Z INFO controller.activemqartemis Starting Controller {"reconciler group": "broker.amq.io", "reconciler kind": "ActiveMQArtemis"} E0829 10:03:59.902263 1 reflector.go:138] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:255: Failed to watch *v1.Pod: failed to list *v1.Pod: pods is forbidden: User "system:serviceaccount:artemis7:amq-broker-operator" cannot list resource "pods" in API group "" at the cluster scope E0829 10:03:59.902347 1 reflector.go:138] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:255: Failed to watch *v1beta1.ActiveMQArtemisSecurity: failed to list *v1beta1.ActiveMQArtemisSecurity: activemqartemissecurities.broker.amq.io is forbidden: User "system:serviceaccount:artemis7:amq-broker-operator" cannot list resource "activemqartemissecurities" in API group "broker.amq.io" at the cluster scope