azure_servicebus_scaler error {"error": "no azure identity found for request clientID \n"} #2180
Unanswered
scubakiz
asked this question in
Q&A / Need Help
Replies: 1 comment
-
Can you confirm in your There's a sample in our docs here https://keda.sh/docs/2.4/scalers/azure-service-bus/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Azure Identity with Pod Identity and everything works except for KEDA. The KEDA operator keeps returning this error during the polling interval.
I added this label to everything (the pod, deployment, scaledobject, Keda operator):
I updated this setting:
And confirmed that the ScaledObject and HPA have the correct label.
If turn off KEDA and run the deployment normally, it works correctly. A Pod is created (containing an Azure Functions trigger). The trigger fires and processes the messages in the Service Bus Queue using the Pod Identity.
If I set the idleReplicaCount/minReplicaCount =1 in a SO, the SO and HPA are created and have a status of AbleToScale. Again 1 pod is created and works correctly.
However, the HPA metric looks like this because the scaler is unable to read the number of messages in the Service Bus:
If I set the idleReplicaCount/minReplicaCount = 0, no Pods are ever created.
NOTE: I have another deployment in this namespace using Azure Functions runtime to trigger on an HTTP request and write messages to this same ServiceBus Queue. It uses the same connection string and works fine using Pod Identity to write to the queue.
This is the connection string to the queue:
Beta Was this translation helpful? Give feedback.
All reactions