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

MSI resid authentication 500 error: DefaultIdentity is null #1526

Open
Mmdixon opened this issue Sep 25, 2024 · 1 comment
Open

MSI resid authentication 500 error: DefaultIdentity is null #1526

Mmdixon opened this issue Sep 25, 2024 · 1 comment
Assignees
Milestone

Comments

@Mmdixon
Copy link

Mmdixon commented Sep 25, 2024

Which version of blobfuse was used?

blobfuse2 version 2.3.2

Which OS distribution and version are you using?

Ubuntu 18.04.5 LTS

If relevant, please share your mount command.

What was the issue encountered?

Error: failed to initialize new pipeline [failed to authenticate credentials for azstorage]

Have you found a mitigation/solution?

Use appid instead of resid

Please share logs if available.

Wed Sep 25 00:14:28 UTC 2024 : blobfuse2[72905] : [/blob2/cache] LOG_DEBUG [utils.go (156)]: SDK(Authentication) : WARNING: Azure ML doesn't support specifying a managed identity by resource ID
GET http://127.0.0.1:9138/metadata/managedidentity/oauth2/token
--------------------------------------------------------------------------------
RESPONSE 500 Internal Server Error
--------------------------------------------------------------------------------
{
  "error": {
    "code": "Internal Server Error",
    "message": "DefaultIdentity is null",
    "innerError": null,
    "details": null
  }
}
--------------------------------------------------------------------------------
To troubleshoot, visit https://aka.ms/azsdk/go/identity/troubleshoot#managed-id]

I noticed the log warning that AML doesn't support managed identity by resource ID, but by app ID it is working. Was wondering when resid would be supported or is the DefaultIdentity is null error about resid can only be used with a certain env setup?

@vibhansa-msft
Copy link
Member

Default mode for MSI based authentication for Blobfuse is using appid only, so if appid is working for you stick to that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants