Azure / Azure/MachineLearningNotebooks
DockerBuildContext.from_local_directory is using the incorrect variable for the storage account url
- 主要言語
- Jupyter Notebook
- スター
- 4.4k
- フォーク
- 2.6k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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**
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
DockerBuildContext.from_local_directory から開始し、BlobServiceClient コンストラクターが account_url をどのように受け取るか、特に storage_account_full 変数とストレージ アカウント名およびエンドポイントを調査してください。ローカル ディレクトリの環境作成を再現し、結果として得られるアカウント URL が有効であり、示されている Invalid URL エラーが発生しないことを確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- azure, python
- 領域
- cloud, machine-learning
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 35/100