title: Elasticseach failed shard allocation
body: <p>My ES is in yellow state after another one node adding and restarting cluster. I have 4 unassigned shards (from 33), and here is response for one of unassigned shards:</p>
  <pre><code>{
    &quot;index&quot; : &quot;MY INDEX NAME&quot;,
    &quot;shard&quot; : 0,
    &quot;primary&quot; : false,
    &quot;current_state&quot; : &quot;unassigned&quot;,
    &quot;unassigned_info&quot; : {
      &quot;reason&quot; : &quot;ALLOCATION_FAILED&quot;,
      &quot;at&quot; : &quot;2021-04-29TTIME&quot;,
      &quot;failed_allocation_attempts&quot; : 5,
      &quot;details&quot; : &quot;failed shard on node [9yWBUCXXXTIIbiA]: failed to create index,     failure IllegalArgumentException[IOException while reading synonyms_path_path: /etc/elasticsearch/synonyms.txt]; nested: NoSuchFileException[/etc/elasticsearch/synonyms.txt]; &quot;,
      &quot;last_allocation_status&quot; : &quot;no_attempt&quot;
    },
  </code></pre>
  <p>And my question is - how I can fix it?</p>