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

ActiveMQArtemisAddress/ActiveMQArtemisSecurity CR tries to create address in non-AMQ broker pods

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Undefined
    • None
    • AMQ 7.11.6.OPR.2.GA
    • operator
    • False
    • None
    • False
    • Moderate

    Description

      Customer installed Data Grid and AMQ broker in the same namespace. He created 2 pods of Data grid and AMQ Broker each.

      After that while creating the address via ActiveMQArtemisAddress, it tries to create the address on data grid's pod too. .

      2024-03-14T17:58:38.257Z	ERROR	controller_v1beta1activemqartemisaddress	Error creating ActiveMQArtemisAddress	{"address": "myAddress0", "error": "Post \"http://admin:***@10.0.0.10:8161/console/jolokia/exec/org.apache.activemq.artemis:broker=%5C%22amq-broker%5C%22\": dial tcp 10.0.0.10:8161: connect: connection refused"}
      github.com/artemiscloud/activemq-artemis-operator/controllers.createAddressResource
      	/workspace/app/controllers/activemqartemisaddress_controller.go:237
      github.com/artemiscloud/activemq-artemis-operator/controllers.createQueue
      	/workspace/app/controllers/activemqartemisaddress_controller.go:201
      github.com/artemiscloud/activemq-artemis-operator/controllers.(*ActiveMQArtemisAddressReconciler).Reconcile
      	/workspace/app/controllers/activemqartemisaddress_controller.go:122
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
      	/workspace/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:114
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
      	/workspace/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:311
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
      	/workspace/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
      	/workspace/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227
      2024-03-14T17:58:38.257Z	INFO	controller_v1beta1activemqartemisaddress	Queue name is not empty so create queue	{"name": "myQueue0", "broker": "10.0.0.10"}
      

      Same happens when tried to create security settings via ActiveMQArtemisSecurity

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-vkamble Varsha Kamble
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: