Skip to content

Azure connected clusters fails, unable to connect cluster to Azure via arc as part of IoT Ops setup #30943

@peredwardsson

Description

@peredwardsson

Describe the bug

Attempting to connect a cluster via connectedk8s as part of the Azure IoT Ops suite I'm getting stuck when connecting my local k3s cluster to Azure Arc.

Related command

az connectedk8s connect -g <rg> -n <clustername> -l westeurope --subscription <subid> --tags System.Object[] --disable-auto-upgrade --enable-oidc-issuer --enable-workload-identity 

Same error with:

az connectedk8s connect -g <rg> -n <clustername> -l westeurope  --subscription <subid> --tags System.Object[] --disable-auto-upgrade

Errors

Issue script & Debug output

debug.txt

Expected behavior

The cluster is connected via Arc and shows up in the Azure portal.

Environment Summary

azure-cli 2.70.0 core 2.70.0 telemetry 1.1.0 Extensions: azure-iot-ops 1.2.0 connectedk8s 1.10.6 k8s-extension 1.6.3 ssh 2.0.6 Dependencies: msal 1.31.2b1 azure-mgmt-resource 23.1.1 Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe' Config directory 'C:\Users<user>.azure' Extensions directory 'C:\Users<user>.azure\cliextensions' Python (Windows) 3.12.8 (tags/v3.12.8:2dc476b, Dec 3 2024, 19:30:04) [MSC v.1942 64 bit (AMD64)] Legal docs and information: aka.ms/AzureCliLegal Your CLI is up-to-date.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Auto-AssignAuto assign by botConfigureaz configure/configConnected KubernetesService AttentionThis issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions