LinuxDiagnostic-3.0.111: Problem(s) detected in generated mdsd configuration.
See original GitHub issueI have enabled the diagnostic settings on two new VMs, a Ubuntu 16.04 and Centos 7.3 Marketplace image and I am getting the following error in the log, any suggestion ?
2018/03/07 00:25:46 ERROR:CalledProcessError. Command string was SSL_CERT_FILE=/etc/pki/tls/cert.pem SSL_CERT_DIR=/etc/pki/tls/certs /usr/local/lad/bin/mdsd -v -c /var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.111/xmlC
fg.xml
2018/03/07 00:25:47 [Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.111] Problem(s) detected in generated mdsd configuration. Can't enable, although this install/enable operation is reported as successful so the VM can complete successful startup. Linux Diagnostic Extension will exit. Config validation message: 2018-03-07T00:25:46.8564990Z: Not all GCS env vars are defined. Missing 5: MONITORING_GCS_ENVIRONMENT MONITORING_GCS_ACCOUNT MONITORING_GCS_REGION MONITORING_GC
S_CERT_CERTFILE MONITORING_GCS_CERT_KEYFILE. GCS won't be used.
2018/03/07 00:25:47 [Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.111] Daemon,success,0,Problem(s) detected in generated mdsd configuration. Can't enable, although this install/enable operation is reported as successful so the VM can
complete successful startup. Linux Diagnostic Extension will exit. Config validation message: 2018-03-07T00:25:46.8564990Z: Not all GCS env vars are defined. Missing 5: MONITORING_GCS_ENVIRONMENT MONITORING_GCS_ACCOUNT MONITORING_GCS_REG
ION MONITORING_GCS_CERT_CERTFILE MONITORING_GCS_CERT_KEYFILE. GCS won't be used.
..
2018/03/07 00:25:47 /var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.111/xmlCfg.xml(97) Error: <DerivedEvent> does not define subelement <LADQuery>
2018/03/07 00:25:47 /var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.111/xmlCfg.xml(97) Error: No default credentials were defined
2018/03/07 00:25:47 /var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.111/xmlCfg.xml(97) Error: <DerivedEvent> does not define subelement <LADQuery>
2018/03/07 00:25:47 /var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.111/xmlCfg.xml(97) Error: No default credentials were defined
2018/03/07 00:25:47 /var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.111/xmlCfg.xml(97) Error: <DerivedEvent> does not define subelement <LADQuery>
2018/03/07 00:25:47 /var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.111/xmlCfg.xml(97) Error: No default credentials were defined
2018/03/07 00:25:47 /var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.111/xmlCfg.xml(97) Error: <DerivedEvent> does not define subelement <LADQuery>
2018/03/07 00:25:47 /var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.111/xmlCfg.xml(97) Error: No default credentials were defined
2018/03/07 00:25:47 /var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.111/xmlCfg.xml(97) Error: <DerivedEvent> does not define subelement <LADQuery>
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
LinuxDiagnostic-3.0.111: Problem(s) detected in generated ...
I have enabled the diagnostic settings on two new VMs, a Ubuntu 16.04 and Centos 7.3 Marketplace image and I am getting the...
Read more >LAD 3.0 Failing to connect to Storage Account using SASToken
Problem (s) detected in generated mdsd configuration. Can't enable, although this install/enable operation is reported as successful so the ...
Read more >Linuxdiagextension fails with the below error message
I have created a cent OS 8.1 VM . When i try to enable diag settings on the Vm and save . I...
Read more >924463 - stretch-pu: package waagent/2.2.34-3~deb9u1
+- [ ] If applicable, the PR references the bug/issue that it fixes in ... Deployments - - Detect and bootstrap the VMM...
Read more >Microsoft Azure Linux Diagnostic Extension issue - Server Fault
azure vm extension set ubuntuclassic LinuxDiagnostic Microsoft.Azure.Diagnostics '3.0' --private-config-path private.json ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Isn’t this just supposed to work? Enabling diagnostics from the portal or CLI is a standard admin task and shouldn’t require such arcane knowledge of the inner workings of this extension and the WALinuxAgent
Duplicate of #577