Azure / Azure/azure-cli-extensions

connectedk8s Remove Hangs, Unable to Remove Files

Open
#2,800 4 comments 0 reactions 0 assignees View on GitHub
Connected Kubernetes Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

- If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at [Azure/azure-cli](https://github.com/Azure/azure-cli/issues)

### Extension name (the extension in question)

connectedk8s

### Description of issue (in as much detail as possible)

We have automated scripting that runs in azure functions to remove an old version of a CLI extension and perform a clean re-install. This removal will hang on a call to `az extension remove --name connectedk8s` and eventually timeout.

I've included two error messages as a result of this hanging below:

```
: /home/.azure/cliextensions/connectedk8s/_distutils_hack/override.py - (, FileNotFoundError(2, 'No such file or directory'), )

: /home/.azure/cliextensions/connectedk8s/oauthlib/oauth2/rfc6749/clients/mobile_application.py - (, FileNotFoundError(2, 'No such file or directory'), )

: /home/.azure/cliextensions/connectedk8s/oauthlib/openid/connect/core/grant_types - (, FileNotFoundError(2, 'No such file or directory')
```

-----

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.