Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-3487

MessageMigration doesn't work with supplied CRs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • AMQ 7.4.3.CR1
    • AMQ 7.4.2.GA
    • operator
    • None

      {"level":"error","ts":1587125608.2283926,"logger":"controller_activemqartemisscaledown","msg":"Error while creating drain Pod ex-aao-ss-5: ","error":"pods \"ex-aao-ss-5\" is forbidden: error looking up service account mkr-lts/activemq-artemis-operator: serviceaccount \"activemq-artemis-operator\" not found","stacktrace":"github.com/rh-messaging/activemq-artemis-operator/vendor/github.com/go-logr/zapr.(*zapLogger).Error\n\t/tmp/go/src/github.com/rh-messaging/activemq-artemis-operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/rh-messaging/activemq-artemis-operator/pkg/draincontroller.(*Controller).processStatefulSet\n\t/tmp/go/src/github.com/rh-messaging/activemq-artemis-operator/pkg/draincontroller/controller.go:418\ngithub.com/rh-messaging/activemq-artemis-operator/pkg/draincontroller.(*Controller).syncHandler\n\t/tmp/go/src/github.com/rh-messaging/activemq-artemis-operator/pkg/draincontroller/controller.go:287\ngithub.com/rh-messaging/activemq-artemis-operator/pkg/draincontroller.(*Controller).processNextWorkItem.func1\n\t/tmp/go/src/github.com/rh-messaging/activemq-artemis-operator/pkg/draincontroller/controller.go:239\ngithub.com/rh-messaging/activemq-artemis-operator/pkg/draincontroller.(*Controller).processNextWorkItem\n\t/tmp/go/src/github.com/rh-messaging/activemq-artemis-operator/pkg/draincontroller/controller.go:247\ngithub.com/rh-messaging/activemq-artemis-operator/pkg/draincontroller.(*Controller).runWorker\n\t/tmp/go/src/github.com/rh-messaging/activemq-artemis-operator/pkg/draincontroller/controller.go:199\ngithub.com/rh-messaging/activemq-artemis-operator/pkg/draincontroller.(*Controller).runWorker-fm\n\t/tmp/go/src/github.com/rh-messaging/activemq-artemis-operator/pkg/draincontroller/controller.go:185\ngithub.com/rh-messaging/activemq-artemis-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/tmp/go/src/github.com/rh-messaging/activemq-artemis-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/rh-messaging/activemq-artemis-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/tmp/go/src/github.com/rh-messaging/activemq-artemis-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\ngithub.com/rh-messaging/activemq-artemis-operator/vendor/k8s.io/apimachinery/pkg/util/wait.Until\n\t/tmp/go/src/github.com/rh-messaging/activemq-artemis-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88"}
      

      Drainer pod is trying to use wrong account.

      Account for downstream builds is called "amq-broker-operator", which is reflected in supplied CRs.

      Upstream account is called "activemq-broker-operator".

              gaohoward Howard Gao
              mkrutov Mikhail Krutov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: