# Unassigned shards

**URL:** <https://discuss.elastic.co/t/unassigned-shards/306526>\
**Category:** Elasticsearch\
**Created:** [June 7, 2022, 6:08am UTC](https://discuss.elastic.co/t/unassigned-shards/306526 "2022-06-07T06:08:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![petezhang](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@petezhang](https://discuss.elastic.co/u/petezhang)\
**Post date:** [June 7, 2022, 6:08am UTC](https://discuss.elastic.co/t/unassigned-shards/306526/1 "2022-06-07T06:08:46Z")

</div>

Really need help on the unassigned-shard:

```auto
    "unassigned_info": { 
      "reason": "INDEX_REOPENED", 
      "details": null, 
      "allocation_status": "no_valid_shard_copy" 
    }, 
    "index": "<service_name>~<index_name>", 
    "shard": "4", 
    "state": "UNASSIGNED", 
    "node": null, 
    "shardSetName": "<service_name>~<index_name><shard#>" 
  }, 

  { 
    "primary": false, 
    "unassigned_info": { 
      "reason": "INDEX_REOPENED", 
      "details": null, 
      "allocation_status": "no_attempt" 
    }, 
    "index": "<service_name>~<index_name>", 
    "shard": "4", 
    "state": "UNASSIGNED", 
    "node": null, 
    "shardSetName": "<service_name>~<index_name><shard#>" 
  }, 

```

ES version: 5.6

**Ask:**  
What tool can fix this?  
What the root cause is?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 7, 2022, 6:30am UTC](https://discuss.elastic.co/t/unassigned-shards/306526/2 "2022-06-07T06:30:27Z")

</div>

Welcome to our community! 😃

> [@petezhang](#):
>
> ES version: 5.6

This is very much [EOL](https://www.elastic.co/support/eol) and you need to upgrade.

Are these primary shards?

---

<div class="post-metadata">

**Author:** ![petezhang](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@petezhang](https://discuss.elastic.co/u/petezhang)\
**Post date:** [June 7, 2022, 10:55pm UTC](https://discuss.elastic.co/t/unassigned-shards/306526/3 "2022-06-07T22:55:38Z")

</div>

Hey Mark,

Yes we will upgrade to later version, but for now this is the version we are using.

For the same shard#4, one is on primary and the other secondary. The only difference is the allocation\_status is no\_valid\_shard\_copy for the former, no\_attempt for the latter.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2022, 10:56pm UTC](https://discuss.elastic.co/t/unassigned-shards/306526/4 "2022-07-05T22:56:14Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
