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

Creating a Service Connector via the CLI threw an unexpected error (not clear enough for a user to correct) #30296

Open
benjaminapetersen opened this issue Nov 10, 2024 · 1 comment
Labels
AKS az aks/acs/openshift Auto-Assign Auto assign by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. Service Attention This issue is responsible by Azure service team.

Comments

@benjaminapetersen
Copy link

Describe the bug

I was able to create a service connector via the Azure Portal, but I expected this to work. The error was not clear enough for me to know what to do to resolve the issue:

az aks connection create keyvault --connection my_connection_name --resource-group my-rg1 --name aks-cluster-name --target-resource-group my-rg1 --vault my-akv1 --enable-csi --client-type none    
# cli.azure.cli.core.azclierror: (GeneralUserError) Execution failed. Operation returned an invalid status code 'Conflict'
# Code: GeneralUserError

Related command

az aks connection

Errors

# cli.azure.cli.core.azclierror: (GeneralUserError) Execution failed. Operation returned an invalid status code 'Conflict'
# Code: GeneralUserError

Issue script & Debug output

No script needed.

Expected behavior

A clear error that indicates how I can resolve the issue.

Environment Summary

az version
{
"azure-cli": "2.65.0",
"azure-cli-core": "2.65.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {
"interactive": "1.0.0b1",
"scenario-guide": "0.1.1"
}
}

Additional context

No response

@benjaminapetersen benjaminapetersen added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Nov 10, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added AKS az aks/acs/openshift Service Attention This issue is responsible by Azure service team. Auto-Assign Auto assign by bot labels Nov 10, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Nov 10, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AKS az aks/acs/openshift Auto-Assign Auto assign by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants