Azure / azure-linux-extensions

Linux Virtual Machine Extensions for Azure
Apache License 2.0
306 stars 254 forks source link

LAD 3.0.123 extension installation on Oracle 7 image from CIS fails #891

Open nayakshweta opened 5 years ago

nayakshweta commented 5 years ago

LAD 3.0.123 extension installation on Oracle 7 image from CIS fails with the error :

2019/08/20 08:50:12 ERROR:CalledProcessError. Command result was INFO: Configuring OMS agent service LAD ...

2019/08/20 08:50:12 [Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.123] Return 1:INFO: Configuring OMS agent service LAD ...

2019/08/20 08:50:12

2019/08/20 08:50:12 ERROR:[Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.123] Failed to perform extension operation Install with error:global name 'waagent_ext_event_type' is not defined, Traceback (most recent call last):

2019/08/20 08:50:12 ERROR: File "/var/lib/waagent/Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.123/diagnostic.py", line 300, in main

2019/08/20 08:50:12 ERROR: g_lad_log_helper.report_mdsd_dependency_setup_failure(waagent_ext_event_type, dependencies_msg)

2019/08/20 08:50:12 ERROR:NameError: global name 'waagent_ext_event_type' is not defined

2019/08/20 08:50:12 ERROR:

2019/08/20 08:50:12 [Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.123] Install,error,0,Extension operation Install failed:global name 'waagent_ext_event_type' is not defined

2019/08/20 08:50:13 ERROR:CalledProcessError. Command result was /bin/sh: /usr/local/lad/bin/mdsd: No such file or directory

2019/08/20 08:50:13 [Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.123] Return 127:/bin/sh: /usr/local/lad/bin/mdsd: No such file or directory

2019/08/20 08:50:13

2019/08/20 08:50:13 [Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.123] 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: /bin/sh: /usr/local/lad/bin/mdsd: No such file or directory

2019/08/20 08:50:13

2019/08/20 08:50:13 [Microsoft.Azure.Diagnostics.LinuxDiagnostic-3.0.123] 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: /bin/sh: /usr/local/lad/bin/mdsd: No such file or directory

This VM is created from Azure marketplace image : center-for-internet-security-inc.cis-oracle-linux-7-v2-0-0-l1.cis-oracle7-l1.2.0.9

I understand this isn't officially supported. However would like to be aware if this has been observed before by LAD team.

smt1821 commented 4 years ago

I have also same problem with no solution

shawsers commented 4 years ago

I have the same issue as well, any updates on a solution to this yet?