【发布时间】:2020-10-19 18:31:03
【问题描述】:
我正在尝试使用 Azure Batch 创建一个池。我已使用文件共享将内容上传到 Azure 存储。 我希望我的池将此 Azure 文件共享挂载为虚拟文件系统(参考:https://docs.microsoft.com/en-us/azure/batch/virtual-file-mount#mount-a-virtual-file-system-on-a-pool)。
我正在使用代码创建 AzureFileShareConfiguration 对象:
mount_configuration=batchmodels.MountConfiguration(azure_file_share_configuration=batchmodels.AzureFileShareConfiguration(
account_name="mystorage",
azure_file_url="https://mystorage.file.core.windows.net/my-share1",
account_key="mystorage/key==",
relative_mount_path="S"
)
)
使用这个,我在 fsmounts 中得到“CMDKEY: Credentials added successfully”。但是当我 RDP 到池中的节点时,S 驱动器出现“断开连接”。
我的 Azure 批处理包版本是: 天蓝色批处理==8.0.0 azure-common==1.1.24
您能否帮助诊断问题或建议正确的用法?
提前致谢!
【问题讨论】:
标签: azure-storage azure-batch azure-storage-files