shuoy / logging-for-openstack

1 stars 5 forks source link

Ubuntu OS Vagrant environment synchronization problem #1

Open shuoy opened 10 years ago

shuoy commented 10 years ago

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

RichardCao commented 10 years ago

I also meet this kind of problems. Sometimes re-run the scripts may helps. Sometimes I have to run the scripts 3 times to finish the setting up, but it doesn't reappear now. -_-!