Skip to content

Argument '--enable-oidc-issuer' is in preview and under development #31008

@varshith-20

Description

@varshith-20

Describe the bug

I am trying to create the AKS EE cluster and make it arc-enable and then deploy Azure IoT Operations on top of it using the QuickStart guide from the below documentation:
Deploy Azure IoT Operations
But I am facing the below attached issue while doing so. I am getting this error in the step-3 where we are arc-enabling the cluster.

Image

FYI, the Azure CLI, Connectedk8s and other extensions in my system are up to date.

Related command

New-ConnectedCluster
Connect cmd args - -g AKS-EE-TEST -n aks-cluster -l eastus2 --subscription 8a96c41c-09ac-40fe-9d14-47e0a85e433e --tags System.Object[] --disable-auto-upgrade --enable-oidc-issuer --enable-workload-identity

Errors

Arc Connection failed with error : WARNING: Argument '--enable-oidc-issuer' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus WARNING: Argument '--enable-workload-identity' is in preview
and under development. Reference and support levels: https://aka.ms/CLI_refstatus WARNING: This operation might take a while... System.Management.Automation.RemoteException ERROR: The command failed with an unexpected error. Here is
the traceback: ERROR: [WinError 2] The system cannot find the file specified Traceback (most recent call last): File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke File
"D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 666, in execute File
"D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 734, in _run_jobs_serially File
"D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 703, in _run_job File
"D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 336, in call File
"D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 120, in handler File "C:\Users\v-avarshith.azure\cliextensions\connectedk8s\azext_connectedk8s\custom.py",
line 776, in create_connectedk8s crd_cleanup_force_delete(kubectl_client_location, kube_config, kube_context) File "C:\Users\v-avarshith.azure\cliextensions\connectedk8s\azext_connectedk8s\custom.py", line 4414, in
crd_cleanup_force_delete response_helm_delete = Popen(cmd_helm_delete, stdout=PIPE, stderr=PIPE) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "subprocess.py", line 1026, in init File
"subprocess.py", line 1538, in _execute_child FileNotFoundError: [WinError 2] The system cannot find the file specified To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
At C:\Users\v-avarshith\Desktop\AKS_EE\AksEdgeQuickStartForAio.ps1:186 char:9

  •     throw "Arc Connection failed with error : $errOut"
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (Arc Connection ...zure-cli/issues:String) [], RuntimeException
    • FullyQualifiedErrorId : Arc Connection failed with error : WARNING: Argument '--enable-oidc-issuer' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus WARNING: Argument '--enable-workl
      oad-identity' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus WARNING: This operation might take a while... System.Management.Automation.RemoteException ERROR: The command failed with
      an unexpected error. Here is the traceback: ERROR: [WinError 2] The system cannot find the file specified Traceback (most recent call last): File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py
      ", line 233, in invoke File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 666, in execute File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-pack
      ages\azure/cli/core/commands/init.py", line 734, in _run_jobs_serially File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 703, in run_job File "D:\a_work
      1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 336, in call File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_oper
      ation.py", line 120, in handler File "C:\Users\v-avarshith.azure\cliextensions\connectedk8s\azext_connectedk8s\custom.py", line 776, in create_connectedk8s crd_cleanup_force_delete(kubectl_client_location, kube_config, kube

      context) File "C:\Users\v-avarshith.azure\cliextensions\connectedk8s\azext_connectedk8s\custom.py", line 4414, in crd_cleanup_force_delete response_helm_delete = Popen(cmd_helm_delete, stdout=PIPE, stderr=PIPE)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "subprocess.py", line 1026, in init File "subprocess.py", line 1538, in _execute_child FileNotFoundError: [WinError 2] The system cannot find the file spec
      ified To check existing issues, please visit: https://github.com/Azure/azure-cli/issues

Issue script & Debug output

NA

Expected behavior

The AKS EE cluster should be arc-enabled, and environment should be set to deploy Azure IoT Operations.

Environment Summary

azure-cli 2.70.0

core 2.70.0
telemetry 1.1.0

Extensions:
amg 2.5.5
azure-cli-ml 1.41.0
azure-iot-ops 1.2.0
connectedk8s 1.10.7
eventgrid 1.0.0b2
k8s-extension 1.6.3

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\v-avarshith.azure'
Extensions directory 'C:\Users\v-avarshith.azure\cliextensions'

Python (Windows) 3.12.8 (tags/v3.12.8:2dc476b, Dec 3 2024, 19:30:04) [MSC v.1942 64 bit (AMD64)]

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Connected KubernetesPossible-SolutionService AttentionThis issue is responsible by Azure service team.Similar-IssuebugThis 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