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

Fails to run from master branch #22

Closed
ghost opened this issue Aug 17, 2018 · 6 comments
Closed

Fails to run from master branch #22

ghost opened this issue Aug 17, 2018 · 6 comments

Comments

@ghost
Copy link

ghost commented Aug 17, 2018

TASK [ansible-minio : Compose Minio download url] ******************************
ok: [vagrant]

TASK [ansible-minio : Minio server checksum for amd64 architecture] ************
objc[89476]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called.
objc[89476]: +[__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.

I have no idea about how this stuff works, but this is the error I get when trying to run the master branch.

I wanted to make use of the minio_server_make_datadirs var as this always fails to start the service otherwise.

@atosatto
Copy link
Owner

atosatto commented Aug 20, 2018

Hi @johnrobertporter, thanks for reporting this issue.

Can you please provide us some more information on the target OS and on how you are using the role?

@ghost
Copy link
Author

ghost commented Aug 21, 2018

Hiya,

The OS is Ubuntu 16.04 (provided by Bento for vagrant). The previous version runs fine but never creates the directories so fails to start. This one seems unable to process this task without hanging. It doesn't give an error back to ansible either, so I didn't notice it for ages the first time.

Anyhoo, I use it in a vagrant setup; vagrant pulls and starts the box, then ansible provisions it. No other issues apart from this checksum one.

Latest version of vagrant and ansible (I'm on another machine so can't see exact numbers).

@atosatto
Copy link
Owner

Can you please try with the latest master release and provide us the output of the following commands ansible --version?

@ghost
Copy link
Author

ghost commented Sep 3, 2018

Hi, sorry fr the delay, I've been on holiday :)

Running from the latest master branch:

TASK [ansible-minio : Get the Minio server checksum for amd64 architecture] ****
objc[7376]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called.
objc[7376]: +[__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.
$ ansible --version
ansible 2.6.3
  config file = /Volumes/Projects/thoughtriver/ansible/client-database/ansible.cfg
  configured module search path = [u'/Users/john/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/Cellar/ansible/2.6.3/libexec/lib/python2.7/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.15 (default, Jun 17 2018, 12:46:58) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)]

Hope this is helpful

@ghost
Copy link
Author

ghost commented Sep 3, 2018

Ah, ok, this is not your issue, it's Python on MacOS X:

ansible/ansible#34056

Sorry to bother you with it :)

@ghost ghost closed this as completed Sep 3, 2018
@atosatto
Copy link
Owner

atosatto commented Sep 3, 2018

No problem! Good to know what was the issue in the end :)

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

No branches or pull requests

1 participant