-
Bug
-
Resolution: Done
-
Blocker
-
AMQ 7.9.4.OPR.4.GA
-
False
-
None
-
False
-
-
- Create the broker with the address settings mentioned above
- Create the address as suggested
- 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
- depends on
-
ENTMQBR-6791 [Operator] Address not created with error "odd number of arguments passed as key-value pairs for logging"
- Closed