Azure / Azure/MachineLearningNotebooks

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

Open
#1,828 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
4.4k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.