when we do the following
./run.sh
we got the following errors. and if we re-run the above script, the error goes away. My guess is that the Ubnutu OS did not come to fully functioning (to accept ssh) for the first run of ansible-playbook.
Not sure if sleep(2) after vagrant up will fix the problem.
PLAY [searchnodes] ************************************************************
GATHERING FACTS ***************************************************************
fatal: [elasticsearch.example.org] => SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue
TASK: [searchengine | Ensure python-pycurl is installed] **********************
FATAL: no hosts matched or all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/Users/shuoy/site.retry
elasticsearch.example.org : ok=0 changed=0 unreachable=1 failed=0
when we do the following
./run.sh
we got the following errors. and if we re-run the above script, the error goes away. My guess is that the Ubnutu OS did not come to fully functioning (to accept ssh) for the first run of ansible-playbook.
Not sure if sleep(2) after vagrant up will fix the problem.
PLAY [searchnodes] ************************************************************
GATHERING FACTS ***************************************************************
fatal: [elasticsearch.example.org] => SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue
TASK: [searchengine | Ensure python-pycurl is installed] **********************
FATAL: no hosts matched or all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/Users/shuoy/site.retry
elasticsearch.example.org : ok=0 changed=0 unreachable=1 failed=0