-
Notifications
You must be signed in to change notification settings - Fork 24.1k
Closed
Labels
affects_2.4This issue/PR affects Ansible v2.4This issue/PR affects Ansible v2.4bugThis issue/PR relates to a bug.This issue/PR relates to a bug.macosmacOS communitymacOS communitysupport:coreThis issue/PR relates to code supported by the Ansible Engineering Team.This issue/PR relates to code supported by the Ansible Engineering Team.
Description
ISSUE TYPE
- Bug Report
COMPONENT NAME
- lookup
ANSIBLE VERSION
ansible 2.4.1.0
config file = /Users/elnur/proj/foo/ansible.cfg
configured module search path = [u'/Users/elnur/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/Cellar/ansible/2.4.1.0/libexec/lib/python2.7/site-packages/ansible
executable location = /usr/local/bin/ansible
python version = 2.7.14 (default, Oct 6 2017, 11:26:02) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37)]
CONFIGURATION
RETRY_FILES_ENABLED(/Users/elnur/proj/foo/ansible.cfg) = False
I have system variables set in .bash_profile
:
export ANSIBLE_ETCD_URL=http://etcd.cloud.internal:2379
export ANSIBLE_ETCD_VERSION=v2
OS / ENVIRONMENT
Mac OS X High Sierra with latest updates. Ansible is installed using brew
.
SUMMARY
Can't do an etcd lookup since upgrading to 2.4. Worked fine before 2.4.
STEPS TO REPRODUCE
- hosts: localhost
gather_facts: yes
pre_tasks:
- debug:
msg: "{{ lookup('etcd', 'deployment/environment') }}"
EXPECTED RESULTS
PLAY [localhost] **********************************************************************************************************************
TASK [Gathering Facts] ****************************************************************************************************************
ok: [localhost]
TASK [debug] **************************************************************************************************************************
ok: [localhost] => {
"changed": false,
"msg": "development"
}
PLAY RECAP ****************************************************************************************************************************
localhost : ok=2 changed=0 unreachable=0 failed=0
ACTUAL RESULTS
PLAY [localhost] **********************************************************************************************************************
TASK [Gathering Facts] ****************************************************************************************************************
ok: [localhost]
TASK [debug] **************************************************************************************************************************
objc[22402]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called.
objc[22402]: +[__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 just hangs after outputting that error message.
fungusakafungus, thanosp, ivarvanwooning, matthewmrichter and fifiteen82726
Metadata
Metadata
Assignees
Labels
affects_2.4This issue/PR affects Ansible v2.4This issue/PR affects Ansible v2.4bugThis issue/PR relates to a bug.This issue/PR relates to a bug.macosmacOS communitymacOS communitysupport:coreThis issue/PR relates to code supported by the Ansible Engineering Team.This issue/PR relates to code supported by the Ansible Engineering Team.