Azure / Azure/MachineLearningNotebooks

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

Ouverte
#1,828 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Jupyter Notebook
Étoiles
4.4k
Forks
2.6k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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**

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Commencez par DockerBuildContext.from_local_directory et examinez comment le constructeur de BlobServiceClient reçoit son account_url, en particulier la variable storage_account_full ainsi que le nom et le point de terminaison du compte de stockage. Reproduisez la création de l’environnement d’un répertoire local et confirmez que l’URL de compte obtenue est valide au lieu de produire l’erreur Invalid URL affichée.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
azure, python
Domaine
cloud, machine-learning
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.