After upgrading from 2.13.1 to 2.14 (also tried on 2.16) existing scaled objects that worked on 2.13.1 now get a connection refused error in 2.14 and 2.16 (have not tested 2.15).
When rolling back to 2.13.1 the scaled objects are able to connect without issue.
2024-11-14T20:33:32Z INFO Reconciling ScaledObject {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"tscorefilenotify","namespace":"dev"}, "namespace": "dev", "name": "tscorefilenotify", "reconcileID": "ea9191c1-df3a-4d7d-a5e1-94e040b0e636"}
2024-11-14T20:33:32Z INFO Detected resource targeted for scaling {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"tscorefilenotify","namespace":"dev"}, "namespace": "dev", "name": "tscorefilenotify", "reconcileID": "ea9191c1-df3a-4d7d-a5e1-94e040b0e636", "resource": "apps/v1.Deployment", "name": "tscorefilenotify"}
2024-11-14T20:33:32Z INFO Updated HPA according to ScaledObject {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"tscorefilenotify","namespace":"dev"}, "namespace": "dev", "name": "tscorefilenotify", "reconcileID": "ea9191c1-df3a-4d7d-a5e1-94e040b0e636", "HPA.Namespace": "dev", "HPA.Name": "keda-hpa-tscorefilenotify"}
2024-11-14T20:33:32Z INFO Initializing Scaling logic according to ScaledObject Specification {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"tscorefilenotify","namespace":"dev"}, "namespace": "dev", "name": "tscorefilenotify", "reconcileID": "ea9191c1-df3a-4d7d-a5e1-94e040b0e636"}
2024-11-14T20:33:32Z INFO scaleexecutor Successfully updated ScaleTarget {"scaledobject.Name": "tscorefilenotify", "scaledObject.Namespace": "dev", "scaleTarget.Name": "tscorefilenotify", "Original Replicas Count": 0, "New Replicas Count": 1}
2024-11-14T20:33:35Z INFO Reconciling ScaledObject {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"tscorefilenotify","namespace":"dev"}, "namespace": "dev", "name": "tscorefilenotify", "reconcileID": "071d2235-44cd-4608-8cc9-337d7651a6c3"}
2024-11-14T20:33:36Z INFO Detected resource targeted for scaling {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"tscorefilenotify","namespace":"dev"}, "namespace": "dev", "name": "tscorefilenotify", "reconcileID": "071d2235-44cd-4608-8cc9-337d7651a6c3", "resource": "apps/v1.Deployment", "name": "tscorefilenotify"}
2024-11-14T20:39:32Z INFO scaleexecutor Successfully set ScaleTarget replicas count to ScaledObject minReplicaCount {"scaledobject.Name": "tscorefilenotify", "scaledObject.Namespace": "dev", "scaleTarget.Name": "tscorefilenotify", "Original Replicas Count": 1, "New Replicas Count": 0}
Please let me know if you need additional information
Expected Behavior
I do not see any changes documented in the scaler for Artemis or note any breaking changes in the 2.14 release notes and therefore expect that the scaler would continue to work as it did in 2.13.1
Actual Behavior
Connection refused error being thrown when using an artemis scaler that worked in 2.13.1 but now no longer works in version >= 2.14
Steps to Reproduce the Problem
Create artemis scaler in version < 2.14
Confirm artemis scaler works
Upgrade Keda to version >= 2.14
Observer connection refused error
Logs from KEDA operator
2024-11-14T20:33:32Z INFO Reconciling ScaledObject {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"tscorefilenotify","namespace":"dev"}, "namespace": "dev", "name": "tscorefilenotify", "reconcileID": "ea9191c1-df3a-4d7d-a5e1-94e040b0e636"}
2024-11-14T20:33:32Z INFO Detected resource targeted for scaling {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"tscorefilenotify","namespace":"dev"}, "namespace": "dev", "name": "tscorefilenotify", "reconcileID": "ea9191c1-df3a-4d7d-a5e1-94e040b0e636", "resource": "apps/v1.Deployment", "name": "tscorefilenotify"}
2024-11-14T20:33:32Z INFO Updated HPA according to ScaledObject {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"tscorefilenotify","namespace":"dev"}, "namespace": "dev", "name": "tscorefilenotify", "reconcileID": "ea9191c1-df3a-4d7d-a5e1-94e040b0e636", "HPA.Namespace": "dev", "HPA.Name": "keda-hpa-tscorefilenotify"}
2024-11-14T20:33:32Z INFO Initializing Scaling logic according to ScaledObject Specification {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"tscorefilenotify","namespace":"dev"}, "namespace": "dev", "name": "tscorefilenotify", "reconcileID": "ea9191c1-df3a-4d7d-a5e1-94e040b0e636"}
2024-11-14T20:33:32Z INFO scaleexecutor Successfully updated ScaleTarget {"scaledobject.Name": "tscorefilenotify", "scaledObject.Namespace": "dev", "scaleTarget.Name": "tscorefilenotify", "Original Replicas Count": 0, "New Replicas Count": 1}
2024-11-14T20:33:35Z INFO Reconciling ScaledObject {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"tscorefilenotify","namespace":"dev"}, "namespace": "dev", "name": "tscorefilenotify", "reconcileID": "071d2235-44cd-4608-8cc9-337d7651a6c3"}
2024-11-14T20:33:36Z INFO Detected resource targeted for scaling {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"tscorefilenotify","namespace":"dev"}, "namespace": "dev", "name": "tscorefilenotify", "reconcileID": "071d2235-44cd-4608-8cc9-337d7651a6c3", "resource": "apps/v1.Deployment", "name": "tscorefilenotify"}
2024-11-14T20:39:32Z INFO scaleexecutor Successfully set ScaleTarget replicas count to ScaledObject minReplicaCount {"scaledobject.Name": "tscorefilenotify", "scaledObject.Namespace": "dev", "scaleTarget.Name": "tscorefilenotify", "Original Replicas Count": 1, "New Replicas Count": 0}
Report
After upgrading from 2.13.1 to 2.14 (also tried on 2.16) existing scaled objects that worked on 2.13.1 now get a connection refused error in 2.14 and 2.16 (have not tested 2.15).
When rolling back to 2.13.1 the scaled objects are able to connect without issue.
Trigger definition:
keda-operator logs for scaled object in version 2.16:
keda-operator logs after rolling back to 2.13.1:
Please let me know if you need additional information
Expected Behavior
I do not see any changes documented in the scaler for Artemis or note any breaking changes in the 2.14 release notes and therefore expect that the scaler would continue to work as it did in 2.13.1
Actual Behavior
Connection refused error being thrown when using an artemis scaler that worked in 2.13.1 but now no longer works in version >= 2.14
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.13.1
Kubernetes Version
1.30
Platform
Amazon Web Services
Scaler Details
ActiveMq Artemis
Anything else?
No response