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

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

Open
varshith-20 opened this issue Mar 12, 2025 · 5 comments
Open
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Connected Kubernetes customer-reported Issues that are reported by GitHub users external to the Azure organization. Possible-Solution Service Attention This issue is responsible by Azure service team. Similar-Issue

Comments

@varshith-20
Copy link

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

@varshith-20 varshith-20 added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Mar 12, 2025
@yonzhan
Copy link
Collaborator

yonzhan commented Mar 12, 2025

Thank you for opening this issue, we will look into it.

Copy link

Here are some similar issues that might help you. Please check if they can solve your problem.


Possible solution (Extracted from existing issue, might be incorrect; please verify carefully)

Solution 1:

The issue might be related to the script being used. One user mentioned they were running a specific script when the failure occurred. It could be helpful to review the script for potential issues or updates. The script in question is AksEdgeQuickStartForAio.ps1.

Reference:

Solution 2:

There is a possibility that this issue is a duplicate of another issue in the azure-cli-extensions repository. Checking the related issue at Azure/azure-cli-extensions#6637 might provide additional insights or solutions.

Reference:

Powered by issue-sentinel

@microsoft-github-policy-service microsoft-github-policy-service bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Mar 12, 2025
@yonzhan yonzhan added the Service Attention This issue is responsible by Azure service team. label Mar 12, 2025
@yonzhan
Copy link
Collaborator

yonzhan commented Mar 12, 2025

Is this issue related to Azure PS, right?

@varshith-20
Copy link
Author

Is this issue related to Azure PS, right?

It is related to connecting the AKS EE cluster to Arc. I am using PowerShell on my windows system and logged into azure using az login.

Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @akashkeshari.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Connected Kubernetes customer-reported Issues that are reported by GitHub users external to the Azure organization. Possible-Solution Service Attention This issue is responsible by Azure service team. Similar-Issue
Projects
None yet
Development

No branches or pull requests

2 participants