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

az connectedk8s connect fails without a helpful error when extension is out of date #8356

Open
daclash opened this issue Dec 3, 2024 · 2 comments
Labels
Auto-Assign Auto assign by bot 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. Service Attention This issue is responsible by Azure service team.

Comments

@daclash
Copy link

daclash commented Dec 3, 2024

Describe the bug

az connectedk8s connect failed when the version was 1.7.2 and succeeded when the version was 1.9.2. If the error text suggested an update then could save time. The documentation does mention using the latest version, however, we have had several users find that the next step was not obvious.

Related command

az connectedk8s connect --name "${prefix}-arc" --resource-group "${prefix}-rg" --location "${location}"

Errors

xxx-dev0 ~/xxx $ az connectedk8s connect --name "${prefix}-arc" --resource-group "${prefix}-rg" --location "${location}"
This operation might take a while...

Cluster diagnostics job didn't reach completed state in the kubernetes cluster. The possible reasons can be resource constraints on the cluster.

The pre-check result logs have been saved at this path: /home/xxx/.azure/pre_onboarding_check_logs/xxx-aks-arc-xxx.
These logs can be attached while filing a support ticket for further assistance.

Execution of pre-onboarding checks failed and hence not proceeding with cluster onboarding. Please meet the prerequisites
- 'https://learn.microsoft.com/en-us/azure/azure-arc/kubernetes/quickstart-connect-cluster?tabs=azure-cli%2Cazure-cloud#prerequisites' and try onboarding again.

Issue script & Debug output

Output not available.

Expected behavior

A specific suggestion of updating the extension would be more helpful than the current error.

Environment Summary

xxx-dev0 ~/xxx $ az --version
azure-cli                         2.63.0 *

core                              2.63.0 *
telemetry                          1.1.0

Extensions:
azure-devops                       1.0.0
connectedk8s                       1.7.2
k8s-extension                      1.6.1
serial-console                   1.0.0b1

Dependencies:
msal                              1.30.0
azure-mgmt-resource               23.1.1

Python location '/opt/az/bin/python3'
Extensions directory '/home/xxx/.azure/cliextensions'

Python (Linux) 3.11.8 (main, Jul 31 2024, 03:39:39) [GCC 11.4.0]

Legal docs and information: aka.ms/AzureCliLegal


You have 2 update(s) available. Consider updating your CLI installation with 'az upgrade'

Additional context

No response

@daclash daclash added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Dec 3, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Dec 3, 2024

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

@microsoft-github-policy-service microsoft-github-policy-service bot added question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot Connected Kubernetes Service Attention This issue is responsible by Azure service team. labels Dec 3, 2024
Copy link
Contributor

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

@yonzhan yonzhan removed the question The issue doesn't require a change to the product in order to be resolved. Most issues start as that label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot 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. Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants