generated from kedacore/github-template
-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Report
When a new HTTPScaledObject is created, it gets destroyed within seconds. When looking at the operator logs, it seems that something is deleted the CRD since I can see that it gets finalized. This is after upgrading from 0.6.0 to 0.8.0.
Expected Behavior
HTTPScaledObject should be persisted
Actual Behavior
The HTTPScaledObject is created but then gets immediately destroyed/finalized after 10 seconds
Steps to Reproduce the Problem
- Upgrade from 0.6.0 to 0.8.0
- Create a deployment
- Create an HTTPScaledObject for the deployment
Logs from KEDA HTTP operator
2024-05-13T23:42:18Z INFO Reconciling ScaledObject {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"http","namespace":"test"}, "namespace": "test", "name": "http", "reconcileID": "d155b547-c5ff-4130-8d6b-9b5e459315fd"}
2024-05-13T23:42:18Z INFO Adding Finalizer for the ScaledObject {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"http","namespace":"test"}, "namespace": "test", "name": "http", "reconcileID": "d155b547-c5ff-4130-8d6b-9b5e459315fd"}
2024-05-13T23:42:18Z INFO Detected resource targeted for scaling {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"http","namespace":"test"}, "namespace": "test", "name": "http", "reconcileID": "d155b547-c5ff-4130-8d6b-9b5e459315fd", "resource": "apps/v1.Deployment", "name": "deploy"}
2024-05-13T23:42:18Z INFO Creating a new HPA {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"http","namespace":"test"}, "namespace": "test", "name": "http", "reconcileID": "d155b547-c5ff-4130-8d6b-9b5e459315fd", "HPA.Namespace": "test", "HPA.Name": "keda-hpa-http"}
2024-05-13T23:42:18Z INFO Initializing Scaling logic according to ScaledObject Specification {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"http","namespace":"test"}, "namespace": "test", "name": "http", "reconcileID": "d155b547-c5ff-4130-8d6b-9b5e459315fd"}
2024-05-13T23:42:18Z INFO Reconciling ScaledObject {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"http","namespace":"test"}, "namespace": "test", "name": "http", "reconcileID": "4e873fed-bd44-4482-a7ce-e15d1555bdb0"}
2024-05-13T23:42:18Z INFO Detected resource targeted for scaling {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"http","namespace":"test"}, "namespace": "test", "name": "http", "reconcileID": "4e873fed-bd44-4482-a7ce-e15d1555bdb0", "resource": "apps/v1.Deployment", "name": "deploy"}
2024-05-13T23:42:18Z INFO Reconciling ScaledObject {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"http","namespace":"test"}, "namespace": "test", "name": "http", "reconcileID": "85d71659-8723-4090-851d-1421b3fa40fc"}
2024-05-13T23:42:18Z ERROR external_push_scaler error running internalRun {"type": "ScaledObject", "namespace": "test", "name": "http", "error": "rpc error: code = Canceled desc = context canceled"}
github.com/kedacore/keda/v2/pkg/scalers.(*externalPushScaler).Run.func1
/workspace/pkg/scalers/external_scaler.go:249
github.com/kedacore/keda/v2/pkg/scalers.(*externalPushScaler).Run
/workspace/pkg/scalers/external_scaler.go:268
2024-05-13T23:42:18Z INFO Successfully restored scaleTarget's replica count back to the original {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"http","namespace":"test"}, "namespace": "test", "name": "http", "reconcileID": "85d71659-8723-4090-851d-1421b3fa40fc", "replicaCount": 1}
2024-05-13T23:42:18Z INFO Successfully finalized ScaledObject {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"http","namespace":"test"}, "namespace": "test", "name": "http", "reconcileID": "85d71659-8723-4090-851d-1421b3fa40fc"}
HTTP Add-on Version
0.8.0
Kubernetes Version
1.28
Platform
Amazon Web Services
Anything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done