Azure / Azure/MachineLearningNotebooks

DockerBuildContext.from_local_directory is using the incorrect variable for the storage account url

Aberta
#1,828 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Jupyter Notebook
Estrelas
4.4k
Forks
2.6k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

I'd been trying to create an environment using a local directory but I kept running into the following error:

```
ValueError: Invalid URL: https:///subscriptions//resourceGroups//providers/Microsoft.Storage/storageAccounts/
```

On further inspection, I noticed that in the `from_local_directory` function, the incorrect variable is probably being passed to the `account_url` argument of the `BlobServiceClient` constructor. I suppose a storage account URL needs to be constructed using the storage account name and endpoint. However, the `storage_account_full` variable, is being passed to it instead.

**azureml-core version: 1.45.0.post2**

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

Comece em DockerBuildContext.from_local_directory e inspecione como o construtor de BlobServiceClient recebe seu account_url, especialmente a variável storage_account_full e o nome e o endpoint da conta de armazenamento. Reproduza a criação do ambiente de um diretório local e confirme que a URL da conta resultante é válida, em vez de produzir o erro Invalid URL mostrado.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
azure, python
Domínio
cloud, machine-learning
Tipo de issue
Bug
Dificuldade
2/5
Tempo estimado
1-3 horas
Status de atividade
Estagnada
Clareza
Claramente especificada
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.