// troubleshooting guide · opensearch

OpenSearch Unassigned Shards

Status
Workaround available
platforms:
Self-hosted, Amazon OpenSearch Service
updated:
November 15, 2026
reports:
3
Method
how we research
Share

RUNBOOK · opensearch/unassigned-shards4 FIXES

// quick answer

Use the allocation explain API to see why a shard cannot be placed. Typical causes are disk watermarks, node loss, allocation filters and shard limits.

Most likely fix: Diagnose

How to fix it

// try these in order, the most common fix is first

  1. FIX 1Diagnose

    1. 01GET _cat/shards?v&h=index,shard,prirep,state,unassigned.reason
    2. 02GET _cluster/allocation/explain?pretty
    Did this fix it?
  2. FIX 2Retry failed allocations

    1. 01POST _cluster/reroute?retry_failed=true
    Did this fix it?
  3. FIX 3Unblock allocation

    1. 01Check cluster.routing.allocation.enable and exclude/require filters in GET _cluster/settings
    2. 02Raise or free disk below the low watermark
    Did this fix it?
  4. FIX 4Do not delete shards blindly

    1. 01Fix the cause so the cluster reassigns by itself; delete an index only when you can recreate it
    Did this fix it?

Symptoms

_cat/shards shows UNASSIGNED shards and the cluster is yellow or red.

Why it happens

  • C-01Disk watermarks reached
  • C-02Node left the cluster
  • C-03Shard limit per node exceeded
  • C-04Allocation disabled or filtering rules
  • C-05Failed shard allocation after too many retries

// this guide also covers

  • opensearch unassigned shards
  • opensearch allocation explain
  • opensearch shard not allocated

Still not working?

If OpenSearch keeps failing, you're not alone. See every OpenSearch problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us

Watch OpenSearch Get an email when its price changes, it has an outage, or we publish a new fix. No spam.

Fixed it? Share this guide

Other OpenSearch errors

All 11 OpenSearch errors and fixes →