I have used ansible 220.127.116.11 only.I tried the command vagrant up --provision and the error is
The error that you witnessed would appear if the elasticsearch service goes down when the task is being executed by ansible. In that case the variable "result" won't be set appropriately.
Note :- I actually reproduced the error in my env by "stopping elasticsearch service" prior to the execution of task "TASK [metron_elasticsearch_templates : Wait for Index to Become Available]"
For providing any help with this issue I would like you to make the following changes and rerun the provisioning :-
Edit the file - load_templates.yml available in the location :- /metron-deployment/roles/metron_elasticsearch_templates/tasks
add the following line
- debug: var=result
Refer attached screenshot as an example.
Considering you already have "node1" VM spun up please run the "metron" tag specific task :-
vagrant --ansible-tags="metron" --ansible-skip-tags="solr" provision
Please let me know the output/error from the debug message.
just want to tell you that the node1 ip is different from sandboxbox ip. Attaching the screenshot. I sthis casing any error with the elasticsearch templates. still facing the problem I have mentioned above. Can I contact you in any possible way to solve the solution.
Thank you ,
Can you run metron-deployment/scripts/platform-info.sh? I fixed this issue by downgrading to the Vagrant version in the README, 1.8.1.