question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Node exporter fails on ec2 builds with ""No file was found when using first_found"

See original GitHub issue

https://github.com/cloudalchemy/ansible-node-exporter/pull/114 has renamed redhat.yml to redhat-7.yml.

This has broken Amazon ec2 installs with

{“msg”: “No file was found when using first_found. Use the ‘skip: true’ option to allow this task to be skipped if no files are found”}

Amazon returns "ansible_os_family": "RedHat", and here is where I assume we used to match it: https://github.com/cloudalchemy/ansible-node-exporter/blob/0a594311180fa8570145872f86ffba540889c974/tasks/main.yml#L11

Just needs a symlink to the old redhat.yml from redhat-7.yml I reckon (or 8 - I’m not sure).

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ahardencommented, Jan 13, 2020

@paulfantom Confirmed on Amazon Linux 2 x86. Thanks!

0reactions
lock[bot]commented, Feb 15, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Metrics stuck / deadlock on some kernel versions · Issue #2500
Stuck node exporter after random time. After run strace -f -p pgrep node_exporter node exporter unstuck. Out pprof:
Read more >
Monitoring Linux host metrics with the Node Exporter
Start up a Prometheus instance on localhost that's configured to scrape metrics from the running Node Exporter. NOTE: While the Prometheus Node Exporter...
Read more >
Troubleshoot instances with failed status checks
fsck: No such file or directory while trying to open... (File system not found). This condition is indicated by a system log similar...
Read more >
Node Exporter Setup on Linux Nodes - VMware Docs
Create a node_exporter service file under systemd. sudo tee /etc/systemd/system/node_exporter.service<< ...
Read more >
Node exporter - GitLab Docs
Enable Prometheus. · Edit /etc/gitlab/gitlab.rb . · Add (or find and uncomment) the following line, making sure it's set to true : node_exporter['enable']...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found