cloudalchemy / ansible-node-exporter

Provision basic metrics exporter for prometheus monitoring tool
MIT License
500 stars 272 forks source link

Unpack node_exporter binary step fails on cluster #242

Closed sjpb closed 1 year ago

sjpb commented 3 years ago

What happened? Task "Unpack node_exporter binary" fails when running on a vagrant cluster in CI. I've had this happen a number of times, rerunning usually fixes it.

Interestingly I've never had the same thing happen on a real cluster.

Did you expect to see some different? Yes

How to reproduce it (as minimally and precisely as possible): Difficult!

Environment

galaxy latest

4.5.0

Looking at the source this delegates to localhost, but there's no run_once: true, so to me it looks plausible this is a race condition when running on multiple hosts?

Sorry I know this is a slightly rubbish bug report but it's the best I can do at present!

zeroZshadow commented 2 years ago

I've been noticing this as well. It's also running all "localhost" tasks once for every host i'm attempting to deploy too, which is quite a lot.

0xWilliamWang commented 2 years ago

I have the same problem and can fix it by manually decompressing the file.

SuperQ commented 1 year ago

This role has been deprecated in favor of a the prometheus-community/ansible collection.