-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Workload Identity on Azure stopped working on 2.9.2 #4123
Comments
@JorTurFer PTAL ^ Thanks for the quick report! |
Do you have both tools installed with different identities assigned? |
We introduced a chained token provider to simplify the code (as Microsoft does with DefaultAzureCrendential), basically it does a fallback from one to another in case of failure, but it's true they can conflict between them (and I didn't notice it, sorry). |
It's not easy to test all the scenarios because we install both identity providers as dependencies in the beginning, we cannot remove them because that can affect to other tests, I tested them during the development of the change, but it's true I used the same identity for both, and that can hide the failure |
The only option I can see is to split them again, adding a note explaining why we keep them split. Pod identity will be deprecated at the end of this year, so the duplication "has a removal date". WDTY @kedacore/keda-core-contributors @v-shenoy ? |
this is a critical bug, any ETA for its shipping ? |
hi @tshaiman
As I have said, both have been generated from #4156 |
@JorTurFer : gladly , I'm on it now , will let you know soon |
@JorTurFer / @tomkerkhove : For now it seems to be working with AzureIdentity , I would like to park it for 12-24H on Test cluster , and another deploy with only Pod-Identity for some more time -> and then I can say for sure its finalized. p.s: the helm chart i took is 2.9.3 chart , but the appVersion there is 2.9.2 causing it to be with misallignment with the tag :
wil translate to : docker.io/jorturfer/keda:2.9.2 not docker.io/jorturfer/keda:2.9.3 |
Hey,
We have different versioning for them because we have different release flows and periods, but it's true that the misallignment is confusing, I can regenerate the image with the new tag temporally if it's easier for you |
@JorTurFer : no need , I have it ready already. any updates on our ask to use CAT / Healthcheck ? |
Not from my side, but you can ask in that issue directly :) |
The image I see this is closed... will there be a hotfix release for it? We're ok using unofficial image for validation/test purposes... but we can't operate that way normally. |
@tshaiman is also testing the solution in his environment. Once we know if this works or not, we will decide about the hotfix release |
@JorTurFer : when the Pod runs with WorkloadIdentity -> all is fine after 24H no errors detected
So we saw that on Version 2.9.2 as well , meaning problem is not fixed |
Do you have any log in the pod identity pods? The error says that after 3 seconds the pod identity hasn't responded (or is unreachable) but it has tried the connection. This timeout is managed as an HTTP Timeout |
False Alarm ! stay tuned |
@tomkerkhove @JorTurFer : I can confirm now after several days with this version that its stable and working on all modes:
all combinations worked with no issues. |
🎉🎉🎉 |
@tshaiman , KEDA v2.9.3 has just been released. |
Report
Took 2.9.2 for a quick ride .
configuration is :
Expected Behavior
identity should work as it did for Version 2.8.1
Actual Behavior
there is a regression in the code where Azure workload Identity does not work any more without Pod Identity.
Steps to Reproduce the Problem
podIdentity:
activeDirectory:
identity: ""
azureWorkload:
enabled: true
clientId: "some_client_id"
tenantId: "some_tenant_id
you will see the error below , keda cannot authenticate.
Logs from KEDA operator
KEDA Version
2.9.2
Kubernetes Version
1.24
Platform
Microsoft Azure
Scaler Details
Azure Service Bus
Anything else?
I know there was a bug fix to merge some Pod Identity + Workload Identity , make sure the tests covers cases where :
The text was updated successfully, but these errors were encountered: