Skip to content

MSI resid authentication 500 error: DefaultIdentity is null #1526

Open

Description

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?

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

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions