You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Deploying via (VirtualBox/VMWare/AWS/Azure/ESXi): Azure
Vagrant Version (if applicable): Not applicable
Description of the issue:
While attempting to provision the Windows hosts via Ansible I got the following error:
TASK [Gathering Facts] **************************************************************************************************************************************************************************************************************** objc[21451]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. objc[21451]: +[__NSCFConstantString 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. ERROR! A worker was found in a dead state
Description of the issue:
While attempting to provision the Windows hosts via Ansible I got the following error:
TASK [Gathering Facts] **************************************************************************************************************************************************************************************************************** objc[21451]: +[__NSCFConstantString initialize] may have been in progress in another thread when fork() was called. objc[21451]: +[__NSCFConstantString 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. ERROR! A worker was found in a dead state
I came across this blog post which solved the issue for me:
https://rafpe.ninja/2018/02/24/ansible-error-nsplaceholderdate-initialize-may-have-been-in-progress-in-another-thread-when-fork-was-called/
Adding the following command before running the Ansible playbooks solved the issue
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
You may want to add this to your build documentation
The text was updated successfully, but these errors were encountered: