-
Bug
-
Resolution: Done
-
Blocker
-
AMQ 7.9.2.GA
-
None
-
False
-
False
-
-
- Install the Operator 7.9.2-opr-1
- Create new namespace
- oc apply -f example.yml
-
The AMQ Operator pod operator (7.9.2-opr-1) pod starts crashing repeatedly when new CRs are applied:
amq-broker-operator-5d9dd85447-htf67 E0210 15:47:01.685214 1 runtime.go:69] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference) amq-broker-operator-5d9dd85447-htf67 /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:76 amq-broker-operator-5d9dd85447-htf67 /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:65 amq-broker-operator-5d9dd85447-htf67 /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:51 amq-broker-operator-5d9dd85447-htf67 /opt/rh/go-toolset-1.13/root/usr/lib/go-toolset-1.13-golang/src/runtime/panic.go:679 amq-broker-operator-5d9dd85447-htf67 /opt/rh/go-toolset-1.13/root/usr/lib/go-toolset-1.13-golang/src/runtime/panic.go:199 amq-broker-operator-5d9dd85447-htf67 /opt/rh/go-toolset-1.13/root/usr/lib/go-toolset-1.13-golang/src/runtime/signal_unix.go:394 amq-broker-operator-5d9dd85447-htf67 /remote-source/app/pkg/controller/broker/v2alpha3/activemqartemisaddress/activemqartemisaddress_controller.go:293 amq-broker-operator-5d9dd85447-htf67 /remote-source/app/pkg/controller/broker/v2alpha3/activemqartemisaddress/activemqartemisaddress_controller.go:295 amq-broker-operator-5d9dd85447-htf67 /remote-source/app/pkg/controller/broker/v2alpha3/activemqartemisaddress/activemqartemisaddress_controller.go:253 amq-broker-operator-5d9dd85447-htf67 /remote-source/app/pkg/controller/broker/v2alpha3/activemqartemisaddress/activemqartemisaddress_controller.go:187 amq-broker-operator-5d9dd85447-htf67 /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:215 amq-broker-operator-5d9dd85447-htf67 /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158 amq-broker-operator-5d9dd85447-htf67 /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133 amq-broker-operator-5d9dd85447-htf67 /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134 amq-broker-operator-5d9dd85447-htf67 /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88 amq-broker-operator-5d9dd85447-htf67 /opt/rh/go-toolset-1.13/root/usr/lib/go-toolset-1.13-golang/src/runtime/asm_amd64.s:1357 amq-broker-operator-5d9dd85447-htf67 panic: runtime error: invalid memory address or nil pointer dereference [recovered] amq-broker-operator-5d9dd85447-htf67 panic: runtime error: invalid memory address or nil pointer dereference amq-broker-operator-5d9dd85447-htf67 [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x12e118f] amq-broker-operator-5d9dd85447-htf67 amq-broker-operator-5d9dd85447-htf67 goroutine 968 [running]: amq-broker-operator-5d9dd85447-htf67 k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0) amq-broker-operator-5d9dd85447-htf67 /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:58 +0x105 amq-broker-operator-5d9dd85447-htf67 panic(0x1482c20, 0x22eca20) amq-broker-operator-5d9dd85447-htf67 /opt/rh/go-toolset-1.13/root/usr/lib/go-toolset-1.13-golang/src/runtime/panic.go:679 +0x1b2 amq-broker-operator-5d9dd85447-htf67 github.com/artemiscloud/activemq-artemis-management.GetCreationError(...) amq-broker-operator-5d9dd85447-htf67 /remote-source/app/vendor/github.com/artemiscloud/activemq-artemis-management/artemis.go:15 amq-broker-operator-5d9dd85447-htf67 github.com/artemiscloud/activemq-artemis-operator/pkg/controller/broker/v2alpha3/activemqartemisaddress.createAddressResource(0xc001c20c60, 0xc0021a3b00) amq-broker-operator-5d9dd85447-htf67 /remote-source/app/pkg/controller/broker/v2alpha3/activemqartemisaddress/activemqartemisaddress_controller.go:295 +0x55f amq-broker-operator-5d9dd85447-htf67 github.com/artemiscloud/activemq-artemis-operator/pkg/controller/broker/v2alpha3/activemqartemisaddress.createQueue(0xc0021a3b00, 0xc0009a0380, 0x7, 0xc006e4a240, 0x2a, 0x18a15c0, 0xc00073f590, 0xc000135650, 0x2f, 0x0) amq-broker-operator-5d9dd85447-htf67 /remote-source/app/pkg/controller/broker/v2alpha3/activemqartemisaddress/activemqartemisaddress_controller.go:253 +0x236 amq-broker-operator-5d9dd85447-htf67 github.com/artemiscloud/activemq-artemis-operator/pkg/controller/broker/v2alpha3/activemqartemisaddress.(*ReconcileActiveMQArtemisAddress).Reconcile(0xc0002ef020, 0xc0009a0380, 0x7, 0xc006e4a240, 0x2a, 0xc001761780, 0x0, 0x0, 0x0) amq-broker-operator-5d9dd85447-htf67 /remote-source/app/pkg/controller/broker/v2alpha3/activemqartemisaddress/activemqartemisaddress_controller.go:187 +0x44f amq-broker-operator-5d9dd85447-htf67 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem(0xc00073a5a0, 0x0) amq-broker-operator-5d9dd85447-htf67 /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:215 +0x20a amq-broker-operator-5d9dd85447-htf67 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1() amq-broker-operator-5d9dd85447-htf67 /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158 +0x36 amq-broker-operator-5d9dd85447-htf67 k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1(0xc001867760) amq-broker-operator-5d9dd85447-htf67 /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133 +0x5e amq-broker-operator-5d9dd85447-htf67 k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc001867760, 0x3b9aca00, 0x0, 0x1, 0xc00079c060) amq-broker-operator-5d9dd85447-htf67 /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134 +0xf8 amq-broker-operator-5d9dd85447-htf67 k8s.io/apimachinery/pkg/util/wait.Until(0xc001867760, 0x3b9aca00, 0xc00079c060) amq-broker-operator-5d9dd85447-htf67 /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88 +0x4d amq-broker-operator-5d9dd85447-htf67 created by sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start amq-broker-operator-5d9dd85447-htf67 /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:157 +0x32e
- is related to
-
ENTMQBR-6057 Installing a cluster-wide Broker operator while Broker pods exist still leads to container restart in Broker pods
- New