Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
azure, python

Research direction

Start at DockerBuildContext.from_local_directory and inspect how the BlobServiceClient constructor receives its account_url, especially the storage_account_full variable and the storage account name and endpoint. Reproduce local-directory environment creation and confirm that the resulting account URL is valid instead of producing the shown Invalid URL error.

Written by the indexing model from the issue text.

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/<subscription_id>/resourceGroups/<resource_group_name>/providers/Microsoft.Storage/storageAccounts/<storage_account_name>

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

Dominant language
Jupyter Notebook
Stars
4.4k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/MachineLearningNotebooks

All issues in Azure/MachineLearningNotebooks

Similar issues

More Cloud issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.