Azure / Azure/azure-cli

use-dev-spaces hangs and never finishes

Open
#8,122 19 comments 4 reactions 1 assignee Claimed by @saurabsa View on GitHub
customer-reported DevSpaces Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Describe the bug**
`use-dev-spaces` command hangs and never finishes, the only output (even with `--verbose` flag) is:
```
Installing Dev Spaces (Preview) commands...
A separate window will open to guide you through the installation process.
```

I could try enabling this elsewehere (azure web UI for example) but it looks like running this command is the only way to install `azds`.

**To Reproduce**
Follow the [Get Started on Azure Dev Spaces with .NET Core](https://docs.microsoft.com/en-us/azure/dev-spaces/get-started-netcore) guide until you reach the step where you run the command
```
az aks use-dev-spaces -g MyResourceGroup -n MyAKS
```

**Expected behavior**
The command should run thoroughly or at least give an error message as to why it is not completing.

**Environment summary**
* Azure cli version: 2.0.53
* .net core SDK: 2.2
* OS: Windows 10
* shell: PowerShell

**Additional context**
I have tried to go through the guide using two different Azure regions, and both gave me the same result.
It is my first time using Azure and I noticed some commands take a long time to finish, so I waited for around 10 minutes on 1st try before closing and 20 minutes on the second.
I also tried to run the command using `cmd.exe` and got the same behaviour.

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.