-
Bug
-
Resolution: Done
-
Major
-
None
-
AMQ 7.8.1.GA, AMQ 7.8.2.GA
-
None
-
False
-
False
-
User Experience
-
-
-
If you create a broker using CRD ActivemqArtemis with the 'adminPassword' field value, containing a special character (for example: "tempor%al"), and later you try to create an ActivemqArtemisAdress CRD, the address is not created, and you obtain this error on operator log
2021-09-20T15:38:30.859Z ERROR controller_v2alpha2activemqartemisaddress Creating ActiveMQArtemisAddress error for queue
{"Request.Namespace": "testbug", "Request.Name": "my-queue", "error": "parse http://admin:tempor%al@10.217.0.56:8161/console/jolokia/exec/org.apache.activemq.artemis:broker=\\\"amq-broker\\\": invalid URL escape \"%al\""}github.com/go-logr/zapr.(*zapLogger).Error
/remote-source/app/vendor/github.com/go-logr/zapr/zapr.go:128
github.com/artemiscloud/activemq-artemis-operator/pkg/controller/broker/v2alpha2/activemqartemisaddress.createQueue
/remote-source/app/pkg/controller/broker/v2alpha2/activemqartemisaddress/activemqartemisaddress_controller.go:195
github.com/artemiscloud/activemq-artemis-operator/pkg/controller/broker/v2alpha2/activemqartemisaddress.(*ReconcileActiveMQArtemisAddress).Reconcile
/remote-source/app/pkg/controller/broker/v2alpha2/activemqartemisaddress/activemqartemisaddress_controller.go:157
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:215
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