Open andrew-lee-1089 opened 1 year ago
route to CXP team
@andrew-lee-metaswitch Thanks for reaching out to us and reporting this issue. Could you please update your extension connectedk8s
and check if that helps.
az extension update -n connectedk8s
On a side note, also please update the Azure CLI. Hope this helps.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @akashkeshari.
Author: | andrew-lee-metaswitch |
---|---|
Assignees: | navba-MSFT |
Labels: | `question`, `Service Attention`, `needs-author-feedback`, `Connected Kubernetes`, `Auto-Assign` |
Milestone: | - |
@andrew-lee-metaswitch As discussed internally, I am adding Service team to look into this issue.
@akashkeshari Could you please look into this once you get a chance ? Thanks in advance.
Related command
az connectedk8s connect --name andrewlee-k8s --resource-group andrewlee-08mar --location eastus'
Extension name (the extension in question)
connectedk8s (Version 1.3.7) azure-cli 2.38.0
Description of issue (in as much detail as possible)
The issue here is that https://github.com/Azure/azure-cli-extensions/blob/main/src/connectedk8s/azext_connectedk8s/custom.py, the install_helm_client
The relevant code is:
1) On the http.client.IncompleteRead issue - see e.g : https://stackoverflow.com/questions/14442222/how-to-handle-incompleteread-in-python for how to fix 2) it would be more pythonic and safer to use a contextmanager here and do: