微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

通过ARM模板天蓝色将IaaS诊断扩展扩展到VMSS

如何解决通过ARM模板天蓝色将IaaS诊断扩展扩展到VMSS

我试图将某些认诊断添加到我通过ARM模板部署的VMSS中。

每当我通过Azure门户部署群集时,我都可以查看VMSS,并可以在VMSS中看到这种扩展

名称:VMDiagnosticsVmExt_vmNodeType1Name,类型:Microsoft.Azure.Diagnostics.IaaSDiagnostics,版本:1.5”

Extention image

我现在正尝试通过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 举报,一经查实,本站将立刻删除。