title: why snapshot is failled with error : Indices don\'t have primary shards +[[myindex]]
body: <p>when I trying to take snapshot it is failed with the following error:</p>
  
  <pre><code>{
    snapshot: {
      snapshot: '1430395938305_3032015',
      indices: ['myindex'],
      state: 'FAILED',
      reason: 'Indices don\'t haveprimaryshards+[ [
        myindex
      ]]
    ',
    start_time: '2015-04-30T12: 12: 18.435Z',
    start_time_in_millis: 1430395938435,
    end_time: '2015-04-30T12: 12: 18.525Z',
    end_time_in_millis: 1430395938525,
    duration_in_millis: 90,
    failures: [],
    shards: {
      total: 0,
      failed: 0,
      successful: 0
    }
  }
  }
  </code></pre>
  
  <p>can any one knows what wrong with it?</p>
  
  <p>this is my cluster health</p>
  
  <pre><code> {
  "cluster_name" : "elasticsearch",
  "status" : "red",
  "timed_out" : false,
  "number_of_nodes" : 1,
  "number_of_data_nodes" : 1,
  "active_primary_shards" : 95,
  "active_shards" : 95,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 138
  }
  </code></pre>
  
  <p>when i check the health of my cluster the above was the result</p>
  
  <pre><code>index   shard prirep state      docs   store ip            node  
  myindex 2     p      STARTED     340 152.9kb 192.168.0.120 Raman 
  myindex 2     r      UNASSIGNED                                  
  myindex 0     p      UNASSIGNED                                  
  myindex 0     r      UNASSIGNED                                  
  myindex 3     p      STARTED     262 166.9kb 192.168.0.120 Raman 
  myindex 3     r      UNASSIGNED                                  
  myindex 1     p      UNASSIGNED                                  
  myindex 1     r      UNASSIGNED                                  
  myindex 4     p      STARTED     279 170.4kb 192.168.0.120 Raman 
  myindex 4     r      UNASSIGNED 
  </code></pre>
  
  <p>This was i got when i excecuted /_cat/shards/myindex?v</p>