Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to update TriggerAuthenticationStatus - podIdentity validation #5838

Closed
azizabah opened this issue May 30, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@azizabah
Copy link

Report

I am upgrading our KEDA helm chart from 2.12.0 to 2.13.1. After deploying to the cluster, I get an error on previously working scaled objects.

Expected Behavior

It would have updated without issue.

Actual Behavior

It is throwing errors and doesn't seem to be handling them correctly.

Steps to Reproduce the Problem

  1. Create an azure event hub scaler without pod identity on 2.12.0.
  2. Update KEDA to 2.13.1.
  3. See errors and scaling not working.

Logs from KEDA operator

024-05-28T21:04:33Z	ERROR	Failed to update TriggerAuthenticationStatus	{"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"ourservice-worker-scaler","namespace":"develop"}, "namespace": "develop", "name": "ourservice-worker-scaler", "reconcileID": "f9f7b4a4-ddc5-47be-bcf9-a4cfd06c78e1", "error": "TriggerAuthentication.keda.sh \"ourservice-worker-trigger-auth\" is invalid: spec.podIdentity.provider: Unsupported value: \"none\": supported values: \"azure\", \"azure-workload\", \"gcp\", \"aws\", \"aws-eks\", \"aws-kiam\""}
github.com/kedacore/keda/v2/pkg/status.updateTriggerAuthenticationStatus
	/workspace/pkg/status/status.go:125
github.com/kedacore/keda/v2/pkg/status.UpdateTriggerAuthenticationStatusFromTriggers
	/workspace/pkg/status/status.go:139
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).updateTriggerAuthenticationStatus
	/workspace/controllers/keda/scaledobject_controller.go:604
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).Reconcile
	/workspace/controllers/keda/scaledobject_controller.go:211
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:119
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:316
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227

KEDA Version

2.13.1

Kubernetes Version

None

Platform

Microsoft Azure

Scaler Details

Azure Event Hub

Anything else?

No response

@azizabah azizabah added the bug Something isn't working label May 30, 2024
@azizabah
Copy link
Author

azizabah commented Jul 2, 2024

Could not replicate with 2.14.0.

@azizabah azizabah closed this as completed Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant