Error 'odd number of arguments' on operator log trying to create a queue on A-MQ
Issue
When we try to create a queue, the following error appears on operator's log
ERROR controller_v2alpha2activemqartemisaddress Error creating address {"error": "Post http://user:***@`pod-ip`:8161/console/jolokia/exec/org.apache.activemq.artemis:broker=%5C%22amq-broker%5C%22: EOF"}
github.com/go-logr/zapr.(*zapLogger).Error
/remote-source/app/vendor/github.com/go-logr/zapr/zapr.go:128
github.com/artemiscloud/activemq-artemis-operator/pkg/controller/broker/v2alpha2/activemqartemisaddress.(*AddressObserver).checkCRsForNewPod
/remote-source/app/pkg/controller/broker/v2alpha2/activemqartemisaddress/address_observer.go:183
github.com/artemiscloud/activemq-artemis-operator/pkg/controller/broker/v2alpha2/activemqartemisaddress.(*AddressObserver).newPodReady
/remote-source/app/pkg/controller/broker/v2alpha2/activemqartemisaddress/address_observer.go:119
2022-02-22T16:24:40.999Z INFO controller_v2alpha2activemqartemisaddress Creating pre-installed address {"address": "`queue-name`", "queue": "`queue-name`", "routing type": "anycast"}
2022-02-22T16:24:40.999Z DPANIC controller_v2alpha2activemqartemisaddress odd number of arguments passed as key-value pairs for logging {"Request.Namespace": "amq-broker", "Request.Name": "`queue-name`", "ignored key": "`queue-name`"}
Environment
- Openshift 4.6+
- A-MQ 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.