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

Operator: unable to created Addresses: AMQ229203: Address Does Not Exist: xxx and data "}

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • AMQ 7.10.1.OPR.1.GA
    • AMQ 7.9.4.OPR.4.GA
    • operator
    • False
    • None
    • False
      1. Create the broker with the address settings mentioned above
      2. Create the address as suggested
      3. Operator fails to create the addresses

      With the following Broker CR addresses settings is impossible to create an Addresses CR

      spec:
        addressSettings:
          addressSetting:
            - enableMetrics: true
              match: '#'
              autoCreateExpiryResources: false
              deadLetterAddress: DLA
              autoCreateQueues: false
              autoCreateDeadLetterResources: true
              autoCreateAddresses: false
              deadLetterQueuePrefix: DLQ
              defaultMaxConsumers: 10
              maxDeliveryAttempts: 10
            - autoCreateDeadLetterResources: true
              deadLetterAddress: DLQ.XxxxxxXXxxXdata
              defaultMaxConsumers: 10
              enableMetrics: true
              match: 'XxxxxxXXxxXdata#'
              maxDeliveryAttempts: 10
          applyRule: merge_all
      
      

      Sample Address

       

      spec:
        addressName: myAddress0
        applyToCrNames:
          - ex-aao
        queueName: myQueue0
        routingType: anycast
      
      

       

      Error message:

       

      2022-07-15T13:05:00.437Z	ERROR	kubebuilder.controller	Reconciler error	{"controller": "v2alpha3activemqartemisaddress-controller", "request": "amq/ex-aaoaddress", "error": "Error response code 500, type java.lang.IllegalStateException, message java.lang.IllegalStateException : AMQ229203: Address Does Not Exist: myAddress0 and data "}
      github.com/go-logr/zapr.(*zapLogger).Error
      	/remote-source/app/vendor/github.com/go-logr/zapr/zapr.go:128
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
      	/remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:217
      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
      k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1
      	/remote-source/app/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133
      k8s.io/apimachinery/pkg/util/wait.JitterUntil
      	/remote-source/app/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134
      k8s.io/apimachinery/pkg/util/wait.Until
      	/remote-source/app/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88
      

       

            gaohoward Howard Gao
            rhn-support-agagliar Antonio Gagliardi
            Roman Vais Roman Vais
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: