尝试3次处于“挂起"状态后,使用Azure Runbook创建Azure虚拟网络失败. [英] Creating Azure Virtual Networks using Azure Runbook fails after 3 attempts with Suspended status.

查看:81
本文介绍了尝试3次处于“挂起"状态后,使用Azure Runbook创建Azure虚拟网络失败.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们无法使用使用Azure Automation Runbook的New-AzureRMVirtualNetwork来配置Azure虚拟网络.尝试3次处于挂起"状态后失败.

We are unable to provision Azure virtual network using New-AzureRMVirtualNetwork using Azure Automation runbook. It fails after 3 attempts with Suspended status.

我们试图缩减所有代码,只是试图提供一个基本的网络.脚本如下:

We tried to trim down all code and just tried to provision a basic network. The script is below:


3次尝试后出错.大约需要5分钟.图片供参考.

Error after 3 attempts. It takes around 5 mins. The image for reference.

我们使用Azure Cloud Shell(Powershell)运行了相同的脚本.绝对不错:

图片供参考.

We ran the same script using Azure Cloud Shell (Powershell). It works absolutely fine:

Image for references.

我们这边有什么问题吗?

Is there anything wrong from our side?

使用powershell可以正常工作,而在Azure自动化中却不是很奇怪.有人可以在这方面提供帮助.

It is working absolutely fine with powershell and not in Azure automation quite weird. Can someone help in this regard.

推荐答案

嗨库玛,

在第二个屏幕截图中,注意到一个错误输出,指出不赞成使用输出中的以下属性".另外,您上面描述的症状还表明您可能正在自动化帐户中运行过时的模块.

以下是 更新到自动化帐户上的最新模块 e.希望能有所帮助.如果没有,请回复,我们可以进行进一步调查.

In the second screenshot, noticed an error output that states "the following properties in the output are being deprecated." Also the symptoms you are describing above suggests you may be running an outdated Module in the automation account.

Here are the steps to update to the latest module on the Automation account. Hope that helps. If not, please reply and we can investigate further.

此外,这里还有一些有用的 故障排除步骤,以帮助调试运行本错误以供参考.

Also, Here are some useful troubleshooting steps to help debug runbook errors for your reference.


这篇关于尝试3次处于“挂起"状态后,使用Azure Runbook创建Azure虚拟网络失败.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆