Executing entrypoint exec /home/amq-broker-operator/bin/amq-broker-operator 2021-06-09T10:32:31.745Z INFO package environments Detect if openshift is running 2021-06-09T10:32:31.801Z INFO cmd environment is openshift 2021-06-09T10:32:31.801Z INFO cmd Go Version: go1.13.15 2021-06-09T10:32:31.801Z INFO cmd Go OS/Arch: linux/amd64 2021-06-09T10:32:31.801Z INFO cmd Version of operator-sdk: v0.8.2 2021-06-09T10:32:31.801Z INFO cmd Version of the operator: 7.8.1 2021-06-09T10:32:31.801Z INFO cmd Product Version: 7.8.1 2021-06-09T10:32:31.801Z INFO cmd Supported AMQ Broker Product Versions: 7.8.1 7.8.0 7.7.0 2021-06-09T10:32:31.802Z INFO leader Trying to become the leader. 2021-06-09T10:32:31.802Z DEBUG k8sutil Found namespace {"Namespace": "howard-rep"} 2021-06-09T10:32:32.187Z DEBUG k8sutil Found podname {"Pod.Name": "amq-broker-operator-7b4f587fc5-xc9cg"} 2021-06-09T10:32:32.204Z DEBUG k8sutil Found Pod {"Pod.Namespace": "howard-rep", "Pod.Name": "amq-broker-operator-7b4f587fc5-xc9cg"} 2021-06-09T10:32:32.209Z INFO leader Found existing lock with my name. I was likely restarted. 2021-06-09T10:32:32.209Z INFO leader Continuing as the leader. 2021-06-09T10:32:32.679Z INFO cmd service account name: amq-broker-operator 2021-06-09T10:32:32.679Z INFO cmd Registering Components. 2021-06-09T10:32:32.679Z INFO kubebuilder.controller Starting EventSource {"controller": "v2alpha4activemqartemis-controller", "source": "kind source: /, Kind="} 2021-06-09T10:32:32.679Z INFO kubebuilder.controller Starting EventSource {"controller": "v2alpha4activemqartemis-controller", "source": "kind source: /, Kind="} 2021-06-09T10:32:32.680Z INFO kubebuilder.controller Starting EventSource {"controller": "v2alpha4activemqartemis-controller", "source": "kind source: /, Kind="} 2021-06-09T10:32:32.680Z INFO kubebuilder.controller Starting EventSource {"controller": "v2alpha2activemqartemisaddress-controller", "source": "kind source: /, Kind="} 2021-06-09T10:32:32.680Z INFO controller_v2alpha2activemqartemisaddress Setting up address observer 2021-06-09T10:32:32.681Z INFO kubebuilder.controller Starting EventSource {"controller": "v2alpha2activemqartemisaddress-controller", "source": "kind source: /, Kind="} 2021-06-09T10:32:32.681Z INFO kubebuilder.controller Starting EventSource {"controller": "v2alpha1activemqartemisscaledown-controller", "source": "kind source: /, Kind="} 2021-06-09T10:32:32.682Z INFO kubebuilder.controller Starting EventSource {"controller": "v2alpha1activemqartemisscaledown-controller", "source": "kind source: /, Kind="} 2021-06-09T10:32:32.684Z INFO controller_v2alpha2activemqartemisaddress #### Started workers 2021-06-09T10:32:32.889Z DEBUG k8sutil Found namespace {"Namespace": "howard-rep"} 2021-06-09T10:32:32.889Z DEBUG k8sutil Found podname {"Pod.Name": "amq-broker-operator-7b4f587fc5-xc9cg"} 2021-06-09T10:32:32.894Z DEBUG k8sutil Found Pod {"Pod.Namespace": "howard-rep", "Pod.Name": "amq-broker-operator-7b4f587fc5-xc9cg"} 2021-06-09T10:32:32.902Z DEBUG metrics Pods owner found {"Kind": "Deployment", "Name": "amq-broker-operator", "Namespace": "howard-rep"} 2021-06-09T10:32:33.024Z DEBUG metrics Metrics Service object updated {"Service.Name": "amq-broker-operator", "Service.Namespace": "howard-rep"} 2021-06-09T10:32:33.024Z INFO cmd Starting the Cmd. 2021-06-09T10:32:33.125Z INFO kubebuilder.controller Starting Controller {"controller": "v2alpha1activemqartemisscaledown-controller"} 2021-06-09T10:32:33.125Z INFO kubebuilder.controller Starting Controller {"controller": "v2alpha4activemqartemis-controller"} 2021-06-09T10:32:33.125Z INFO kubebuilder.controller Starting Controller {"controller": "v2alpha2activemqartemisaddress-controller"} 2021-06-09T10:32:33.225Z INFO kubebuilder.controller Starting workers {"controller": "v2alpha1activemqartemisscaledown-controller", "worker count": 1} 2021-06-09T10:32:33.225Z INFO kubebuilder.controller Starting workers {"controller": "v2alpha2activemqartemisaddress-controller", "worker count": 1} 2021-06-09T10:32:33.225Z INFO kubebuilder.controller Starting workers {"controller": "v2alpha4activemqartemis-controller", "worker count": 1} 2021-06-09T10:32:33.225Z INFO controller_v2alpha4activemqartemis Reconciling ActiveMQArtemis {"Request.Namespace": "howard-rep", "Request.Name": "ex-aao"} 2021-06-09T10:32:33.225Z INFO controller_v2alpha4activemqartemis Entering CreatingK8sResourcesState from -1 {"ActiveMQArtemis Name": "ex-aao"} 2021-06-09T10:32:33.225Z INFO controller_v2alpha4activemqartemis CreateK8sResourceState enterFromInvalidstate {"ActiveMQArtemis Name": "ex-aao"} 2021-06-09T10:32:33.225Z INFO package k8s_actions Retrieving *v1.Secret {"ActiveMQArtemis Name": "ex-aao-credentials-secret"} 2021-06-09T10:32:33.326Z INFO package k8s_actions Retrieving *v1.Secret {"ActiveMQArtemis Name": "ex-aao-netty-secret"} 2021-06-09T10:32:33.326Z INFO controller_v2alpha4activemqartemis Reconciler Processing... {"Operator version": "7.8.1", "ActiveMQArtemis release": "7.8.0"} 2021-06-09T10:32:33.326Z INFO package statefulsets Retrieving StatefulSet ex-aao-ss {"ActiveMQArtemis Name": "ex-aao-ss"} 2021-06-09T10:32:33.326Z INFO controller_v2alpha4activemqartemis StatefulSet: ex-aao-ss found 2021-06-09T10:32:33.326Z INFO controller_v2alpha4activemqartemis Process addresssettings 2021-06-09T10:32:33.326Z DEBUG controller_v2alpha4activemqartemis.ex-aao initImageSyncCausedUpdateOn 2021-06-09T10:32:33.326Z INFO controller_v2alpha4activemqartemis.ex-aao Determining the updated init image to use due to placeholder setting 2021-06-09T10:32:33.326Z DEBUG controller_v2alpha4activemqartemis DetermineImageToUse specifiedVersion was 7.8.0 2021-06-09T10:32:33.326Z DEBUG controller_v2alpha4activemqartemis DetermineImageToUse upgrades are disabled 2021-06-09T10:32:33.326Z DEBUG controller_v2alpha4activemqartemis DetermineImageToUse GOARCH specific image env var is RELATED_IMAGE_ActiveMQ_Artemis_Broker_Init_781 2021-06-09T10:32:33.326Z DEBUG controller_v2alpha4activemqartemis DetermineImageToUse imageName is E0609 10:32:33.326566 1 runtime.go:69] Observed a panic: runtime.boundsError{x:0, y:0, signed:true, code:0x0} (runtime error: index out of range [0] with length 0) /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:76 /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:65 /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:51 /opt/rh/go-toolset-1.13/root/usr/lib/go-toolset-1.13-golang/src/runtime/panic.go:679 /opt/rh/go-toolset-1.13/root/usr/lib/go-toolset-1.13-golang/src/runtime/panic.go:75 /remote-source/app/pkg/controller/broker/v2alpha4/activemqartemis/activemqartemis_reconciler.go:1190 /remote-source/app/pkg/controller/broker/v2alpha4/activemqartemis/activemqartemis_reconciler.go:241 /remote-source/app/pkg/controller/broker/v2alpha4/activemqartemis/activemqartemis_reconciler.go:113 /remote-source/app/pkg/controller/broker/v2alpha4/activemqartemis/creatingk8sresources_state.go:137 /remote-source/app/pkg/utils/fsm/fsm.go:84 /remote-source/app/pkg/controller/broker/v2alpha4/activemqartemis/activemqartemis_fsm.go:128 /remote-source/app/pkg/controller/broker/v2alpha4/activemqartemis/activemqartemis_controller.go:155 /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:215 /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158 /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133 /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134 /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88 /opt/rh/go-toolset-1.13/root/usr/lib/go-toolset-1.13-golang/src/runtime/asm_amd64.s:1357 panic: runtime error: index out of range [0] with length 0 [recovered] panic: runtime error: index out of range [0] with length 0 goroutine 932 [running]: k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0) /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:58 +0x105 panic(0x153be00, 0xc000956380) /opt/rh/go-toolset-1.13/root/usr/lib/go-toolset-1.13-golang/src/runtime/panic.go:679 +0x1b2 github.com/artemiscloud/activemq-artemis-operator/pkg/controller/broker/v2alpha4/activemqartemis.initImageSyncCausedUpdateOn(0xc000180280, 0xc000970480, 0x0) /remote-source/app/pkg/controller/broker/v2alpha4/activemqartemis/activemqartemis_reconciler.go:1190 +0x363 github.com/artemiscloud/activemq-artemis-operator/pkg/controller/broker/v2alpha4/activemqartemis.(*ActiveMQArtemisReconciler).ProcessDeploymentPlan(0x22b428c, 0xc000180280, 0x1856b80, 0xc00037dfb0, 0xc00019f650, 0xc000970480, 0xc0000d1401, 0xc000970480) /remote-source/app/pkg/controller/broker/v2alpha4/activemqartemis/activemqartemis_reconciler.go:241 +0x6f github.com/artemiscloud/activemq-artemis-operator/pkg/controller/broker/v2alpha4/activemqartemis.(*ActiveMQArtemisReconciler).Process(0x22b428c, 0xc0000d1360, 0x1856b80, 0xc00037dfb0, 0xc00019f650, 0x1, 0x2a) /remote-source/app/pkg/controller/broker/v2alpha4/activemqartemis/activemqartemis_reconciler.go:113 +0x234 github.com/artemiscloud/activemq-artemis-operator/pkg/controller/broker/v2alpha4/activemqartemis.(*CreatingK8sResourcesState).Enter(0xc0000d1450, 0xffffffffffffffff, 0x0, 0x0) /remote-source/app/pkg/controller/broker/v2alpha4/activemqartemis/creatingk8sresources_state.go:137 +0x1b1 github.com/artemiscloud/activemq-artemis-operator/pkg/utils/fsm.(*Machine).Enter(0xc0000d13b0, 0x0, 0xc0000d1360, 0xc000793080) /remote-source/app/pkg/utils/fsm/fsm.go:84 +0x76 github.com/artemiscloud/activemq-artemis-operator/pkg/controller/broker/v2alpha4/activemqartemis.(*ActiveMQArtemisFSM).Enter(0xc0000d1310, 0x0, 0xc00068fc00, 0xc000793188) /remote-source/app/pkg/controller/broker/v2alpha4/activemqartemis/activemqartemis_fsm.go:128 +0x50 github.com/artemiscloud/activemq-artemis-operator/pkg/controller/broker/v2alpha4/activemqartemis.(*ReconcileActiveMQArtemis).Reconcile(0xc00037a180, 0xc00093dd50, 0xa, 0xc00093dd38, 0x6, 0xc000121740, 0x0, 0x0, 0xc000072700) /remote-source/app/pkg/controller/broker/v2alpha4/activemqartemis/activemqartemis_controller.go:155 +0xb4d sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem(0xc000555400, 0x0) /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:215 +0x20a sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1() /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158 +0x36 k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1(0xc000c9b980) /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133 +0x5e k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc000c9b980, 0x3b9aca00, 0x0, 0x1, 0xc000114ea0) /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134 +0xf8 k8s.io/apimachinery/pkg/util/wait.Until(0xc000c9b980, 0x3b9aca00, 0xc000114ea0) /remote-source/app/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88 +0x4d created by sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:157 +0x32e