-
Story
-
Resolution: Done
-
Normal
-
None
-
AMQ 7.11.0.OPR.1.GA
Route for a given Service might fail to be created due to length limit on route name (domain name of the route in particular). In this case, the error is almost silent: its only indicated in AMQ Operator's logs, but not in the CR status. As CR status is supposed to represent the status of all resources which are parented by the CR, it should represent the status of the Routes as well.
Log from operator:
Failed to create new *v1.Route {"ActiveMQArtemis Name": "cfg-broker-23a-amq-acceptor-original-0-svc-rte", "Namespace": "brkconfig-tests-47fbfc", "error": "Route.route.openshift.io \"cfg-broker-23a-amq-acceptor-original-0-svc-rte\" is invalid: spec.host: Invalid value: \"cfg-broker-23a-amq-acceptor-original-0-svc-rte-brkconfig-tests-47fbfc.apps.mkrutov-rel711v2.broker.app-services-dev.net\": must be no more than 63 characters"} github.com/artemiscloud/activemq-artemis-operator/controllers.(*ActiveMQArtemisReconcilerImpl).createRequestedResource /workspace/app/controllers/activemqartemis_reconciler.go:1163 github.com/artemiscloud/activemq-artemis-operator/controllers.(*ActiveMQArtemisReconcilerImpl).createResource /workspace/app/controllers/activemqartemis_reconciler.go:1146 github.com/artemiscloud/activemq-artemis-operator/controllers.(*ActiveMQArtemisReconcilerImpl).ProcessResources /workspace/app/controllers/activemqartemis_reconciler.go:1126 github.com/artemiscloud/activemq-artemis-operator/controllers.(*ActiveMQArtemisReconcilerImpl).Process /workspace/app/controllers/activemqartemis_reconciler.go:158 github.com/artemiscloud/activemq-artemis-operator/controllers.(*ActiveMQArtemisReconciler).Reconcile /workspace/app/controllers/activemqartemis_controller.go:163 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.1/pkg/internal/controller/controller.go:114 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.1/pkg/internal/controller/controller.go:311 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.1/pkg/internal/controller/controller.go:266 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2 /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.1/pkg/internal/controller/controller.go:227
- incorporates
-
ENTMQBR-8060 Non-ASCII AMQ Acceptor names put SS into stuck 0/1 state with no feedback on CR Status
- Closed
-
ENTMQBR-8147 improve error reporting on status check error from jolokia
- Closed
- is related to
-
ENTMQBR-7059 Extend CR's status with details of the broker deployed
- Backlog
-
ENTMQBR-7491 Enhance the creation of AMQ Broker service and route to avoid the limit 63 Characters
- New
-
ENTMQBR-8323 ActivemqArtemis CR Status condition Ready state correctness
- Closed
- relates to
-
ENTMQBR-4127 Route name generated by operator might be too long for Openshift
- Closed