简体   繁体   English

无法创建资源目录路径 Azure

[英]resource directory path could not be created Azure

I'm using the basic Microsoft quickstart for Azure Batch https://github.com/Azure-Samples/batch-dotnet-quickstart我正在为 Azure Batch https://github.com/Azure-Samples/batch-dotnet-quickstart使用基本的 Microsoft 快速入门

I've only filled the access keys with the correct ones but when running the tasks fails with "Microsoft.Azure.Batch.Common.BatchException: 'Operation returned an invalid status code 'NotFound''" at line 168 in https://github.com/Azure-Samples/batch-dotnet-quickstart/blob/master/BatchDotnetQuickstart/Program.cs我只用正确的访问密钥填充了访问密钥,但是当运行任务失败时,“Microsoft.Azure.Batch.Common.BatchException: 'Operation returned an invalid status code 'NotFound''”在https:// 中的第 168 行github.com/Azure-Samples/batch-dotnet-quickstart/blob/master/BatchDotnetQuickstart/Program.cs

On the portal the task is set as Completed with the error "The resource directory path could not be created"在门户上,任务设置为已完成,并出现错误“无法创建资源目录路径”

The pool, the job and the inputs are created on the batch account and the storage account but I am not able to create those stdout.txt files池、作业和输入是在批处理帐户和存储帐户上创建的,但我无法创建那些 stdout.txt 文件

Pool allocation mode is Batch service, storage is LRS and hot.池分配模式为Batch service,存储为LRS和hot。

I tried the said quickstart with the latest code and was able to build and run the solution without any errors.我使用最新的代码尝试了上述快速入门,并且能够构建和运行解决方案而没有任何错误。 Got the expected logs in VS and output files created in the Azure portal as mentioned in the docs.如文档中所述,获得了 VS 中的预期日志和 Azure 门户中创建的输出文件。 Here is the screenshot for your reference:以下是截图供您参考:

VS 输出

输出文件

As a next step, just to be double sure, I'd like to suggest you to give it another try by re-running it by deleting the job from the previous run (do not delete the pool as the job completes in just a few seconds on a preconfigured pool) and examine the output.作为下一步,为了加倍确定,我建议您再次尝试通过删除上一次运行中的作业来重新运行它(不要删除池,因为作业在短短几秒钟内完成秒)并检查输出。 If the issue still persists, please create an issue with quickstart repo itself as @fpark suggested above, so our Team can take a look and respond as needed.如果问题仍然存在,请按照上面的@fpark 建议使用quickstart 存储库本身创建问题,以便我们的团队可以查看并根据需要做出响应。 Thanks for reaching out.感谢您伸出援手。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM