Giter VIP home page Giter VIP logo

Comments (10)

thdhondt avatar thdhondt commented on June 4, 2024 3

I seem to have fixed the issue :).

pip3 install passlib[bcrypt]

I do not see any mention/error regarding the missing package in the log though...

from ansible-node-exporter.

paulfantom avatar paulfantom commented on June 4, 2024

What is the ansible output from running the role? Could you run it with higher verbosity and attach output of Copy the node_exporter config file task?

from ansible-node-exporter.

thdhondt avatar thdhondt commented on June 4, 2024

Here you go:

TASK [cloudalchemy.node-exporter : Copy the node_exporter config file] *************************************************************************************************************************************************************************************************
...

from ansible-node-exporter.

paulfantom avatar paulfantom commented on June 4, 2024

Could you add this package requirement to https://github.com/cloudalchemy/ansible-node-exporter#requirements section in README?

It seems like an ansible bug in password_hash jinja function. I would expect it to fail if bcrypt is specified but not installed.

from ansible-node-exporter.

thdhondt avatar thdhondt commented on June 4, 2024

Here is the pull request: #184

By the way, I have noticed I get a warning regarding bcrypt:

TASK [cloudalchemy.node-exporter : Copy the node_exporter config file] *************************************************************************************************************************************************************************************************
/home/tdh/.local/lib/python3.8/site-packages/passlib/handlers/bcrypt.py:243: PasslibHashWarning: encountered a bcrypt salt with incorrectly set padding bits; you may want to use bcrypt.normhash() to fix this; this will be an error under Passlib 2.0
  warn(
```

from ansible-node-exporter.

stale avatar stale commented on June 4, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from ansible-node-exporter.

SuperQ avatar SuperQ commented on June 4, 2024

I think this is not stale.

from ansible-node-exporter.

ieugen avatar ieugen commented on June 4, 2024

I've hit this issue as well after running the ansible task once more a few months later.
It's troublesome when things are buggy / don't work reliably in OPS.

from ansible-node-exporter.

rayrapetyan avatar rayrapetyan commented on June 4, 2024

I seem to have fixed the issue :).
pip3 install passlib[bcrypt]

A note for myself: this should be run on your local machine (where you run ansible), not on the target host!

from ansible-node-exporter.

SuperQ avatar SuperQ commented on June 4, 2024

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

from ansible-node-exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.