问题描述
我试图将某些默认诊断添加到我通过ARM模板部署的VMSS中。
每当我通过Azure门户部署群集时,我都可以查看VMSS,并可以在VMSS中看到这种扩展
“名称:VMDiagnosticsVmExt_vmNodeType1Name,类型:Microsoft.Azure.Diagnostics.IaaSDiagnostics,版本:1.5”
我现在正尝试通过Arm模板部署VMSS。我已经从上面显示的群集中复制了导出的模板,但是,每当我尝试部署此vmss时,都会引发以下错误:
{
"status": "Failed","error": {
"code": "ResourceDeploymentFailure","message": "The resource operation completed with terminal provisioning state 'Failed'.","details": [
{
"code": "VMExtensionProvisioningError","message": "VM has reported a failure when processing extension 'VMDiagnosticsVmExt_vmNodeType1Name'. Error message: \"Failed to read configuration. See the troubleshooting guide to diagnose the problem: https://go.microsoft.com/fwlink/?linkid=852271\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/vmextensionwindowstroubleshoot "
}
]
}
}
用于扩展的ARM模板如下所示:
{
"name": "VMDiagnosticsVmExt_vmNodeType1Name","properties": {
"autoUpgradeMinorVersion": true,"provisionAfterExtensions": [],"publisher": "Microsoft.Azure.Diagnostics","type": "IaaSDiagnostics","typeHandlerVersion": "1.5","settings": {
"WadCfg": {
"DiagnosticMonitorConfiguration": {
"overallQuotaInMB": "50000","EtwProviders": {
"EtwEventSourceProviderConfiguration": [
{
"provider": "Microsoft-ServiceFabric-Actors","scheduledTransferKeywordFilter": "1","scheduledTransferPeriod": "PT5M","DefaultEvents": {
"eventDestination": "ServiceFabricReliableActorEventTable"
}
},{
"provider": "Microsoft-ServiceFabric-Services","DefaultEvents": {
"eventDestination": "ServiceFabricReliableServiceEventTable"
}
}
],"EtwManifestProviderConfiguration": [
{
"provider": "xxxxx-xxxx-xxxx-xxx-xxxxx","scheduledTransferLogLevelFilter": "information","scheduledTransferKeywordFilter": "4611686018427387904","DefaultEvents": {
"eventDestination": "ServiceFabricSystemEventTable"
}
}
]
}
}
},"StorageAccount": "[variables('sfdgstorageaccountname')]"
}
}
},
任何人都可以诊断为什么发生此错误吗?错误消息中的一个链接显示为断开,另一个似乎未提供任何有用的信息。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)