<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Metron &amp;quot;metron_elasticsearch_templates : Wait for Index to Become Available&amp;quot; failure on physical deployment in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-quot-metron-elasticsearch-templates-Wait-for-Index-to/m-p/139395#M39932</link>
    <description>&lt;P&gt;The issue was because I had set environment variables to use our proxies and it was trying to proxy the cluster health check, but when I did it at the command line that env var wasn't set.  I set no_proxy for server1,server2 and it worked properly.  &lt;/P&gt;</description>
    <pubDate>Wed, 07 Sep 2016 20:01:32 GMT</pubDate>
    <dc:creator>zeolla</dc:creator>
    <dc:date>2016-09-07T20:01:32Z</dc:date>
    <item>
      <title>Metron "metron_elasticsearch_templates : Wait for Index to Become Available" failure on physical deployment</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-quot-metron-elasticsearch-templates-Wait-for-Index-to/m-p/139394#M39931</link>
      <description>&lt;P&gt;I'm running Metron on an 8 node physical cluster (CentOS 6), with a virtual installer node (CentOS 7).  &lt;/P&gt;&lt;P&gt;I'm running into the following error after running `ansible-playbook -i /root/incubator-metron/metron-deployment/inventory/$INSTALL_CONF_DIRECTORY metron_install.yml --skip-tags="solr,sensors"`:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;TASK [metron_elasticsearch_templates : Wait for Index to Become Available] *****&lt;/P&gt;&lt;P&gt;fatal: [server2]: FAILED! =&amp;gt; {"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'"}&lt;/P&gt;&lt;P&gt;fatal: [server2]: FAILED! =&amp;gt; {"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'"}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;However when I check the servers manually I see:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;[root@e104d0xxxxxx scripts]# curl server1:9200/_cluster/health&lt;/P&gt;&lt;P&gt;{"cluster_name":"metron","status":"green","timed_out":false,"number_of_nodes":2,"number_of_data_nodes":2,"active_primary_shards":0,"active_shards":0,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":0,"delayed_unassigned_shards":0,"number_of_pending_tasks":0,"number_of_in_flight_fetch":0,"task_max_waiting_in_queue_millis":0,"active_shards_percent_as_number":100.0}[root@e104d0553817 scripts]# &lt;/P&gt;&lt;P&gt;[root@e104d0xxxxxx scripts]# curl server2:9200/_cluster/health&lt;/P&gt;&lt;P&gt;{"cluster_name":"metron","status":"green","timed_out":false,"number_of_nodes":2,"number_of_data_nodes":2,"active_primary_shards":0,"active_shards":0,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":0,"delayed_unassigned_shards":0,"number_of_pending_tasks":0,"number_of_in_flight_fetch":0,"task_max_waiting_in_queue_millis":0,"active_shards_percent_as_number":100.0}[root@e104d0553817 scripts]# &lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And when I check in my web browser, I get:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;1473215295 22:28:15 metron green 2 2 0 0 0 0 0 0 - 100.0%&lt;/P&gt;&lt;P&gt;1473215299 22:28:19 metron green 2 2 0 0 0 0 0 0 - 100.0%&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I've tried editing incubator-metron/metron-deployment/roles/metron_elasticsearch_templates/tasks/load_templates.yml and increase the retries (up to 600) and delays (up to 1000) with no success.  &lt;/P&gt;&lt;P&gt;Some details:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Metron 0.2.0BETA&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;* (no branch)&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;commit 75642001803396e8884385b0fc297a2312ead3eb&lt;/P&gt;&lt;P&gt;Author: cstella &amp;lt;cestella@gmail.com&amp;gt;&lt;/P&gt;&lt;P&gt;Date:   Wed Jul 13 11:15:20 2016 -0400&lt;/P&gt;&lt;P&gt;    METRON-298 Remove the effective_tld_names.dat files. closes apache/incubator-metron#186&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt; metron-deployment/playbooks/metron_install.yml     |   45 ++++++++++++++++++++&lt;/P&gt;&lt;P&gt; .../roles/ambari_common/tasks/main.yml             |    5 ++-&lt;/P&gt;&lt;P&gt; .../roles/elasticsearch/defaults/main.yml          |    2 +-&lt;/P&gt;&lt;P&gt; .../roles/elasticsearch/tasks/elasticsearch.yml    |    2 +-&lt;/P&gt;&lt;P&gt; metron-deployment/roles/httplib2/tasks/main.yml    |    3 +-&lt;/P&gt;&lt;P&gt; .../roles/kibana/tasks/elasticdump.yml             |    4 +-&lt;/P&gt;&lt;P&gt; .../roles/opentaxii/tasks/opentaxii.yml            |    2 +-&lt;/P&gt;&lt;P&gt; 7 files changed, 57 insertions(+), 6 deletions(-)&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;ansible 2.0.0.2&lt;/P&gt;&lt;P&gt;  config file = /root/ansible.cfg&lt;/P&gt;&lt;P&gt;  configured module search path = ../extra_modules&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;./platform-info.sh: line 52: vagrant: command not found&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Python 2.6.6&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00)&lt;/P&gt;&lt;P&gt;Maven home: /opt/maven&lt;/P&gt;&lt;P&gt;Java version: 1.8.0_91, vendor: Oracle Corporation&lt;/P&gt;&lt;P&gt;Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.91-1.b14.el6.x86_64/jre&lt;/P&gt;&lt;P&gt;Default locale: en_US, platform encoding: UTF-8&lt;/P&gt;&lt;P&gt;OS name: "linux", version: "3.10.0-327.el7.x86_64", arch: "amd64", family: "unix"&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Linux e104d0553817 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 07 Sep 2016 09:35:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-quot-metron-elasticsearch-templates-Wait-for-Index-to/m-p/139394#M39931</guid>
      <dc:creator>zeolla</dc:creator>
      <dc:date>2016-09-07T09:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Metron "metron_elasticsearch_templates : Wait for Index to Become Available" failure on physical deployment</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-quot-metron-elasticsearch-templates-Wait-for-Index-to/m-p/139395#M39932</link>
      <description>&lt;P&gt;The issue was because I had set environment variables to use our proxies and it was trying to proxy the cluster health check, but when I did it at the command line that env var wasn't set.  I set no_proxy for server1,server2 and it worked properly.  &lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2016 20:01:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Metron-quot-metron-elasticsearch-templates-Wait-for-Index-to/m-p/139395#M39932</guid>
      <dc:creator>zeolla</dc:creator>
      <dc:date>2016-09-07T20:01:32Z</dc:date>
    </item>
  </channel>
</rss>

