Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to set up Linux diagnostic extension v 3.0. #498

Closed
egor-moroz opened this issue Dec 1, 2017 · 8 comments
Closed

Failed to set up Linux diagnostic extension v 3.0. #498

egor-moroz opened this issue Dec 1, 2017 · 8 comments

Comments

@egor-moroz
Copy link

Failed to set up mdsd dependencies: setup_omsagent(): Failed at restarting omsagent (fluentd). Exit code=1, Output=control_omsagent(restart) failed. Output: INFO: Configuring OMS agent service LAD ..

@jasonzio
Copy link
Member

If you're also using the OMS Extension (omsagent), there appears to be an incompatibility between the two. That was definitely the case for version 1.4.1-123 of omsagent, but there may still be an issue with 1.4.2-124. We expect to correct this in the next release of LAD 3.0 so that it will install and work correctly with the latest OMS extension.

@jasonzio
Copy link
Member

Dupe #488

@arbaiti
Copy link

arbaiti commented Jun 1, 2018

I'm trying to deploy the LAD VERSION 3.0.111 and i got the same error

@carct
Copy link

carct commented Nov 19, 2018

i`m also getting this:

Failed to set up mdsd dependencies: omsagent setup failed 5 times. Last exit code=3, Output=setup_omsagent_for_lad(): fluentd out_mdsd plugin install failed. Output: /opt/microsoft/omsagent/ruby/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- rubygems/safe_yaml (LoadError) from /opt/microsoft/omsagent/ruby/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /opt/microsoft/omsagent/ruby/lib/ruby/2.4.0/rubygems.rb:702:in `load_yaml' from /opt/microsoft/omsagent/ruby/lib/ruby/2.4.0/rubygems/config_file.rb:340:in `load_file' from /opt/microsoft/omsagent/ruby/lib/ruby/2.4.0/rubygems/config_file.rb:202:in `initialize' from /opt/microsoft/omsagent/ruby/lib/ruby/2.4.0/rubygems/gem_runner.rb:75:in `new' from /opt/microsoft/omsagent/ruby/lib/ruby/2.4.0/rubygems/gem_runner.rb:75:in `do_configuration' from /opt/microsoft/omsagent/ruby/lib/ruby/2.4.0/rubygems/gem_runner.rb:40:in `run' from /opt/microsoft/omsagent/ruby/lib/ruby/gems/2.4.0/gems/fluentd-0.12.40/bin/fluent-gem:6:in `<top (required)>' from /opt/microsoft/omsagent/ruby/bin/fluent-gem:23:in `load' from /opt/microsoft/omsagent/ruby/bin/fluent-gem:23:in `<main>'
HANDLER STATUSReady
HANDLER STATUS LEVELInfo

from
TYPE Microsoft.Azure.Diagnostics.LinuxDiagnostic
VERSION 3.0.117

Other extensions present related to this (successfully installed):

  • DependencyAgentLinux: VERSION 9.7.3.1475
  • OmsAgentForLinux: VERSION 1.8.9

@Firlotte
Copy link

Firlotte commented Mar 5, 2019

We're seeing the same issue here with LAD 3.0.119 (provisioning failed) and OAL 1.9.1 (provisioning succeeded)

STATUS MESSAGE Failed to set up mdsd dependencies: omsagent setup failed 5 times. Last exit code=3, Output=setup_omsagent_for_lad(): fluentd out_mdsd plugin install failed.

@pierrejeandev
Copy link

Same issue with LAD 3.0.119 (provisioning failed) and OmsAgentForLinux 1.9.1 (provisioning succeeded)
STATUS MESSAGE Failed to set up mdsd dependencies: setup_omsagent(): Failed at restarting omsagent (fluentd). Exit code=1, Output=control_omsagent(restart) failed. Output:

@wenbya
Copy link

wenbya commented May 23, 2019

any update here ? I am getting the same issue

@Kavita-2703
Copy link

Any updates here ? We are facing the same error with LAD 3.0.119 (provisioning failed) and OMSAgentforLinux 1.10.5 (provisioning succeeded)
Failed to set up mdsd dependencies: setup_omsagent(): Failed at restarting omsagent (fluentd). Exit code=1, Output=control_omsagent(restart) failed. Output:

Even the earlier workaround of installing LAD first and then OMS is not working.
LAD installation fails with above error.

Please advice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants