Hi,
I'm trying to launch vanilla vagrant single-node test env for Metron on a Mac, 
via
“vagrant up” in metron-deployment/vagrant/full-dev-platform
 
The Ambari install all goes fine, then the Elastic Search install
but when it comes to
TASK [metron_elasticsearch_templates : Add Elasticsearch templates for 
topologies]
it fails on all three (bro, snort, yaf indexes) with
"Status code was not [200]: An unknown error occurred: sendall() argument 1 
must be string or buffer, not dict"
 
Launching from metron-deployment/vagrant/quick-dev-platform had the same 
failure point.
 
All three *_index.template files are present in the specified directory.
 
Does anyone recognize this problem?  Have people been running the vagrant test 
env lately?
Any suggestions for debugging?

Thanks,
--Matt

Cmd line output:
…
TASK [metron_elasticsearch_templates : Wait for Index to Become Available] *****
ok: [node1]

TASK [metron_elasticsearch_templates : Add Elasticsearch templates for 
topologies] ***
failed: [node1] 
(item=/Users/mfoley/projects/Metron/metron532/metron-deployment/roles/metron_elasticsearch_templates/files/es_templates/bro_index.template)
 => {"content": "", "failed": true, "item": 
"/Users/mfoley/projects/Metron/metron532/metron-deployment/roles/metron_elasticsearch_templates/files/es_templates/bro_index.template",
 "msg": "Status code was not [200]: An unknown error occurred: sendall() 
argument 1 must be string or buffer, not dict", "redirected": false, "status": 
-1, "url": "http://node1:9200/_template/bro_index"}
failed: [node1] 
(item=/Users/mfoley/projects/Metron/metron532/metron-deployment/roles/metron_elasticsearch_templates/files/es_templates/snort_index.template)
 => {"content": "", "failed": true, "item": 
"/Users/mfoley/projects/Metron/metron532/metron-deployment/roles/metron_elasticsearch_templates/files/es_templates/snort_index.template",
 "msg": "Status code was not [200]: An unknown error occurred: sendall() 
argument 1 must be string or buffer, not dict", "redirected": false, "status": 
-1, "url": "http://node1:9200/_template/snort_index"}
failed: [node1] 
(item=/Users/mfoley/projects/Metron/metron532/metron-deployment/roles/metron_elasticsearch_templates/files/es_templates/yaf_index.template)
 => {"content": "", "failed": true, "item": 
"/Users/mfoley/projects/Metron/metron532/metron-deployment/roles/metron_elasticsearch_templates/files/es_templates/yaf_index.template",
 "msg": "Status code was not [200]: An unknown error occurred: sendall() 
argument 1 must be string or buffer, not dict", "redirected": false, "status": 
-1, "url": "http://node1:9200/_template/yaf_index"}

NO MORE HOSTS LEFT *************************************************************
        to retry, use: --limit 
@/Users/mfoley/projects/Metron/metron532/metron-deployment/playbooks/metron_full_install.retry

PLAY RECAP *********************************************************************
node1                      : ok=44   changed=12   unreachable=0    failed=1   

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.




Reply via email to