Azure / Azure/azure-linux-extensions

VM has reported a failure when processing extension 'Microsoft.Insights.VMDiagnosticSettings' for RedHat 7.7

Open
#976 8 comments 5 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
333
Forks
278
Avg merge
2d 9h
Merged PRs (30d)
4

Description

Please find attached the configuration which I've used in my ARM Template to enable Diagnostic in RedHat7.7 VM and I've followed guidelines from :- "https://github.com/Azure/azure-linux-extensions/blob/master/Diagnostic/virtual-machines-linux-diagnostic-extension-v3.md"

Please find below few information that might help
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
VM - RedHat 7.7
VM Deployment Status - Newly Created using same ARM Template
Storage Account Deployment Status - Newly Created using same ARM Template

My ARM Template first create a storage account, then the vm and then execute diagnostic extension.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Now the problem is my ARM Template is executing and all the resources are being created successfully even in the portal I can see Boot Diagnostics & VM Diagnostics is enabled with added parameters/rules for newly created VM but still at the end of ARM Template execution it is throwing me an error as below -

{
"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 'Microsoft.Insights.VMDiagnosticSettings'. Error message: \"Extension operation Enable failed:'NoneType' object has no attribute 'get_fluentd_syslog_src_config'\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionLinuxDiagnosticsTroubleshoot "
}
]
}
}

Please help me to resolve this exception and make the template error free template. Thank you.
[Diagnostics.txt](https://github.com/Azure/azure-linux-extensions/files/4052392/Diagnostics.txt)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.