Git Product home page Git Product logo

Comments (8)

chrisjohnson00 avatar chrisjohnson00 commented on July 18, 2024 4

Possible related, or possibly not...

TASK [ansible-prometheus : Get checksum for amd64 architecture] ****************
objc[3990]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called.
objc[3990]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.

This is run from a mac osx machine (Python 3.7.0), against ubuntu 18. As part of this, it crashes python on my mac.
I don't encounter this issue run from ubuntu 18 (python 3.6.6) against ubuntu 18.

It seems like it's caused by the lookup by url, as even this fails:

- debug:
    msg: "{{ item }}"
  loop: "{{ lookup('url', 'https://github.com/prometheus/prometheus/releases/download/v' + prometheus_version + '/sha256sums.txt', wantlist=True) }}"

from ansible-prometheus.

jwhitcraft avatar jwhitcraft commented on July 18, 2024 3

@chrisjohnson00 not sure if you are still running into this issue, but it seems to be an issue with ansible on osx high sierra, see here for a work around: ansible/ansible#32499 (comment)

from ansible-prometheus.

samvdb avatar samvdb commented on July 18, 2024

Can confirm, same problem on debian stretch

from ansible-prometheus.

hypery2k avatar hypery2k commented on July 18, 2024

any chance to get this merged?

from ansible-prometheus.

paulfantom avatar paulfantom commented on July 18, 2024

Currently there is no working PR resolving this. #142 is not working as expected and I don't have time now to debug that.
I would be happy to review a PR with a proper fix 😄

from ansible-prometheus.

chrisjohnson00 avatar chrisjohnson00 commented on July 18, 2024

Thanks! I will be sure to include that when running from my Mac!

from ansible-prometheus.

paulfantom avatar paulfantom commented on July 18, 2024

This issue went stale and it looks like the problem is with ansible itself and not with the role. As a workaround for this PR #239 can be used.

from ansible-prometheus.

lock avatar lock commented on July 18, 2024

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.

from ansible-prometheus.

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.