Skip to content

Trouble with auth for making a pool #130

@SamuelBrand1

Description

@SamuelBrand1

Summary

The default auth path in cfa-cloudops appears to require service-principal attributes instead of using DefaultAzureCredential? Pre-apologies if I've missed something obvious!

On Linux VM (VAP), I expected the default path to work with the usual Azure login, but pool creation failed because cfa-cloudops asked for azure_tenant_id and azure_client_id.

Reprex

Environment:

  • Linux VAP VM
  • authenticated via Azure login CLI az login --identity
  • no explicit service-principal env vars like AZURE_TENANT_ID or AZURE_CLIENT_ID

Call path:

  • construct CloudClient(...) using the default auth mode
  • call create_pool(...)

The error I get is :

AttributeError: A non-None value for attribute azure_tenant_id is required for this operation.
A non-None value for attribute azure_client_id is required for this operation.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions