由于超时问题,安装WebApp RP失败 [英] Installing WebApp RP fails because of timeout issue

查看:84
本文介绍了由于超时问题,安装WebApp RP失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我正在尝试部署Azure Stack WebApp RP。


首次启动Deploy-SQLServerDSC时时间,它失败并出现以下错误:


New-AzureRmResourceGroupDeployment:10:53:53 AM - 资源Microsoft.Compute / virtualMachines / extensions'Sq0-VM / sqlAOPrepare'失败消息'资源操作已完成,终端配置状态'失败'。'



在C:\ temp \ WebAppsDeployment \ Disloy -SqlServerDSC.ps1:60 char:17



+ ... eployment = New-AzureRmResourceGroupDeployment -ResourceGroupName $ re ...



+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$
+ CategoryInfo:NotSpecified:(:) [New-AzureRmResourceGroupDeployment],Exception



+ FullyQualifiedErrorId:Microsoft.Azure.Commands.Resources .NewAzureResourceGroupDeploymentCommand



New-AzureRmResourceGroupDeployment:10:53:53 AM - 发生内部执行错误。


检查DSC扩展日志,一切似乎都很好:



[SQ0-VM]:LCM:[开始资源] [MSFT_DSCMetaConfiguration]



[SQ0-VM]:LCM:[Start Set] [MSFT_DSCMetaConfiguration]



[SQ0-VM]:LCM:[End设置] [MSFT_DSCMetaConfiguration] 0.0620秒。



[SQ0-VM]:LCM:[结束资源] [MSFT_DSCMetaConfiguration]



[SQ0-VM]:LCM:[结束日期]



[SQ0-VM]:LCM:[结束时间]在0.4840秒内。



操作'调用CimMethod'完成。



Set-DscLocalConfigurationManager在7.653秒内完成。



第二次重新启动脚本,没问题。



VERBOSE:上午11:12:25 - 创建模板部署'SqlServer688'。



VERBOSE:上午11:12:37 - 资源Microsoft.Storage/storageAccounts'webstorage688'供应状态成功



VERBOSE:上午11:12:37 - 资源Microsoft.Network/networkSecurityGroups'myNsg'供应状态成功



VERBOSE:上午11:12:45 - 资源Microsoft.Network/virtualNetworks'ServicesVirtualNetwork'供应状态成功



VERBOSE:上午11:12:59 - 资源Microsoft.Network/networkInterfaces'Sq0-NIC'配置状态成功



VERBOSE:上午11:13:05 - 资源Microsoft.Compute / virtualMachines的Sq0-VM'配置状态正在运行



VERBOSE :上午11:23:00 - 资源Microsoft.Compute / virtualMachines'Sq0



可能是超时问题。



现在我正在尝试部署"AzureStackAppServiceTemplate.json"。



第一次,它因超时问题而失败(6个虚拟机因此错误而失败)。



我试图启动它第二次因超时问题再次失败(相同的VM有超时错误)。



有什么建议吗?如果有影响MAS主机服务器性能的东西,我就会徘徊。


提前致谢


Giovanni






解决方案

您好Giovanni,我为您提供的CRP日志创建了一个共享。你可以测试一下如果从json模板中删除410行会发生什么?在记事本中,如果禁用Word Wrap,则可以检查行号。如果这不成功,您是否可以为您看到的超时问题提供
输出(减去任何敏感信息)。感谢。

Hello,

I'm trying to deploy Azure Stack WebApp RP.

When Deploy-SQLServerDSC has been launched the first time, it fails with following error:

New-AzureRmResourceGroupDeployment : 10:53:53 AM - Resource Microsoft.Compute/virtualMachines/extensions 'Sq0-VM/sqlAOPrepare' failed with message 'The resource operation completed with terminal provisioning state 'Failed'.'

At C:\temp\WebAppsDeployment\Deploy-SqlServerDSC.ps1:60 char:17

+ ... eployment = New-AzureRmResourceGroupDeployment –ResourceGroupName $re ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception

+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Resources.NewAzureResourceGroupDeploymentCommand

New-AzureRmResourceGroupDeployment : 10:53:53 AM - An internal execution error occurred.

Checking DSC extension log, everything seems fine:

[SQ0-VM]: LCM: [ Start Resource ] [MSFT_DSCMetaConfiguration]

[SQ0-VM]: LCM: [ Start Set ] [MSFT_DSCMetaConfiguration]

[SQ0-VM]: LCM: [ End Set ] [MSFT_DSCMetaConfiguration] in 0.0620 seconds.

[SQ0-VM]: LCM: [ End Resource ] [MSFT_DSCMetaConfiguration]

[SQ0-VM]: LCM: [ End Set ]

[SQ0-VM]: LCM: [ End Set ] in 0.4840 seconds.

Operation 'Invoke CimMethod' complete.

Set-DscLocalConfigurationManager finished in 7.653 seconds.

Relaunching the script a second time, no issue.

VERBOSE: 11:12:25 AM - Create template deployment 'SqlServer688'.

VERBOSE: 11:12:37 AM - Resource Microsoft.Storage/storageAccounts 'webstorage688' provisioning status is succeeded

VERBOSE: 11:12:37 AM - Resource Microsoft.Network/networkSecurityGroups 'myNsg' provisioning status is succeeded

VERBOSE: 11:12:45 AM - Resource Microsoft.Network/virtualNetworks 'ServicesVirtualNetwork' provisioning status is succeeded

VERBOSE: 11:12:59 AM - Resource Microsoft.Network/networkInterfaces 'Sq0-NIC' provisioning status is succeeded

VERBOSE: 11:13:05 AM - Resource Microsoft.Compute/virtualMachines 'Sq0-VM' provisioning status is running

VERBOSE: 11:23:00 AM - Resource Microsoft.Compute/virtualMachines 'Sq0

May be it was a time out issue.

Now I'm trying to deploy "AzureStackAppServiceTemplate.json".

First time, it failed with a timeout issue (6 VMs failed with this error).

I've tried to launch it a second time and it failed again with a timeout issue (the same VMs have a timeout error) .

Any suggestions ? I'm wandering if there is something which is affecting MAS host server performances.

Thanks in advance

Giovanni

解决方案

Hi Giovanni, I created a share for the CRP logs you provided. Could you test what happens if you remove line 410 from the json template? In Notepad, you can check the line number if you disable Word Wrap. If this doesn't succeed, could you provide the output for the timeout issue you are seeing (minus any sensitive info). Thanks.


这篇关于由于超时问题,安装WebApp RP失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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