title: master_not_discovered_exception ElasticSearch single node
body: <p>I am trying to setup elasticsearch on a single host. Here is how my configuration looks like: </p>
  
  <p><strong>elasticsearch.yml</strong>    </p>
  
  <pre><code>node.name: ${HOSTNAME}
  
  network.host: _site_, _local_
  http.port: 9200
  transport.tcp.port: 9300
  cluster.name: "test_cluster"
  node.local: true
  </code></pre>
  
  <p><strong>kibana.yml</strong></p>
  
  <pre><code>server.host: 0.0.0.0
  elasticsearch.url: http://localhost:9200
  </code></pre>
  
  <p>On following command:</p>
  
  <pre><code>curl -XGET 'localhost:9200/_cluster/health?pretty'
  </code></pre>
  
  <p>I get following message: </p>
  
  <pre><code>{
    "error" : {
    "root_cause" : [
     {
        "type" : "master_not_discovered_exception",
        "reason" : null
     }
    ],
    "type" : "master_not_discovered_exception",
    "reason" : null
  },
   "status" : 503
  }
  </code></pre>
  
  <p>In log file I see following message:</p>
  
  <pre><code>not enough master nodes discovered during pinging (found [[]], but needed [-1]), pinging again
  </code></pre>
  
  <p>Could someone please point me right direction here?     </p>