Created 07-07-2016 11:58 AM
ansible 2.0.0.2
TASK [elasticsearch : Configure Elasticsearch] *********************************
changed: [node1] => (item={u'regexp': u'^# *cluster\\.name:', u'line': u'cluster.name: metron'})
changed: [node1] => (item={u'regexp': u'^# *network\\.host:', u'line': u'network.host: _eth1:ipv4_'})
changed: [node1] => (item={u'regexp': u'^# *discovery\\.zen\\.ping\\.unicast\\.hosts:', u'line': u'discovery.zen.ping.unicast.hosts: [ node1 ]'})
changed: [node1] => (item={u'regexp': u'^# *path\\.data', u'line': u'path.data: /data1/elasticsearch,/data2/elasticsearch'})
TASK [elasticsearch : Create Logrotate Script for Elasticsearch] ***************
ok: [node1]
TASK [metron_elasticsearch_templates : include] ********************************
included: /private/var/root/incubator-metron/metron-deployment/roles/metron_elasticsearch_templates/tasks/load_templates.yml for node1
TASK [metron_elasticsearch_templates : Start Elasticsearch] ********************
ok: [node1]
TASK [metron_elasticsearch_templates : Wait for Elasticsearch Host to Start] ***
ok: [node1]
TASK [metron_elasticsearch_templates : Wait for Index to Become Available] *****
fatal: [node1]: FAILED! => {"failed": true, "msg": "ERROR! The conditional check 'result.content.find(\"green\") != -1 or result.content.find(\"yellow\") != -1' failed. The error was: ERROR! error while evaluating conditional (result.content.find(\"green\") != -1 or result.content.find(\"yellow\") != -1): ERROR! 'dict object' has no attribute 'content'"}
PLAY RECAP *********************************************************************
node1 : ok=66changed=9 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
xav-us-lap1732:full-dev-platform root#
Created 07-07-2016 01:19 PM
Hi Neeraj,
Do you see any response when you put the following url in your browser :- http://node1:9200/_cat/health
For example you should see some output like this :- 1467897265 13:14:25 metron yellow 1 1 5 5 0 0 5 0 - 50.0%
it might be a case where the system is slow and it's taking more time than expected.
If it's due to slowness then you might have to increase the timeout in the following file and rerun the deployment :-
metron-deployment/roles/metron_elasticsearch_templates/tasks/load_templates.yml
Regards,
Neha
Created 07-07-2016 12:08 PM
Created 07-07-2016 01:19 PM
Hi Neeraj,
Do you see any response when you put the following url in your browser :- http://node1:9200/_cat/health
For example you should see some output like this :- 1467897265 13:14:25 metron yellow 1 1 5 5 0 0 5 0 - 50.0%
it might be a case where the system is slow and it's taking more time than expected.
If it's due to slowness then you might have to increase the timeout in the following file and rerun the deployment :-
metron-deployment/roles/metron_elasticsearch_templates/tasks/load_templates.yml
Regards,
Neha
Created 07-07-2016 01:44 PM
@Neha Sinha Yes
1467899208 13:46:48 metron green 1 1 0 0 0 0 0 0 - 100.0%
Created 07-07-2016 01:50 PM
@Neha Sinha I increased the timeout to 1300 but no luck.
Created 07-07-2016 03:37 PM
xav-us-lap1732:scripts root# ./platform-info.sh
Metron 0.2.0BETA
--
* master
--
commit d3257a79d0a853ed511c1231ab79a2bfcc48603f
Author: nickwallen <nick@nickallen.org>
Date: Mon Jun 27 15:34:20 2016 -0700
METRON-259 Using 'any' for Snort's HOME_NETWORK (nickwallen) closes apache/incubator-metron#176
--
metron-deployment/roles/metron_elasticsearch_templates/tasks/load_templates.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
ansible 2.0.0.2
config file =
configured module search path = Default w/o overrides
--
Vagrant 1.8.4
--
Python 2.7.10
--
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)
Maven home: /usr/local/Cellar/maven/3.3.9/libexec
Java version: 1.8.0_92, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.5", arch: "x86_64", family: "mac"
--
Darwin xav-us-lap1732.local 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64
xav-us-lap1732:scripts root#
Created 07-07-2016 06:21 PM
If I am not mistaken, this is typically the exact error that you see when you are using an Ansible version that is not 2.0.0.2. Are you sure that when you upgraded `setuptools` (I see that you did this in another HCC thread) that the Ansible version did not also get quietly upgraded? I've seen this happen before.
Created 07-07-2016 10:13 PM
@nallen I have pasted the platform.sh output in my previous comment.
xav-us-lap1732:scripts root# ./platform-info.sh
Metron 0.2.0BETA
--
* master
--
commit d3257a79d0a853ed511c1231ab79a2bfcc48603f
Author: nickwallen <nick@nickallen.org>
Date: Mon Jun 27 15:34:20 2016 -0700
METRON-259 Using 'any' for Snort's HOME_NETWORK (nickwallen) closes apache/incubator-metron#176
--
metron-deployment/roles/metron_elasticsearch_templates/tasks/load_templates.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
ansible 2.0.0.2
config file =
configured module search path = Default w/o overrides
--
Created 12-06-2017 08:43 AM
Hey, even I am not able to setup Metron on a single node VM, it is giving me heartbeat lost error and when I check ambari-agent logs it gives me SSL certificate verify failed
Need Help!!
Created 12-06-2017 08:43 AM
Hey, even I am not able to setup Metron on a single node VM, it is giving me heartbeat lost error and when I check ambari-agent logs it gives me SSL certificate verify failed
Need Help!!