Elasticsearch cluster snapshot failed with PARTIAL

I used elasticsearch-curator and python script to create snapshot. Script worked fine few months and after some issue had on one Elasticsearch node there were some unassigned shards in the ES cluster.

After the observation of unassigned shards, the snapshot script failed with PARTIAL state while creating the snapshot.

In my script I have add "partial=True" parameter as below.

snap_indicies = curator.Snapshot(ilo, REPOSITORY, INDEX_NAME, partial=True, skip_repo_fs_check=True,ignore_unavailable=True, wait_for_completion=True)

But that parameter doesn't fixed the issue.

3

How do I fix this PARTIAL state issue and create a proper snapshot for indices

I would start by checking the logs for an explanation of why the snapshots are failing.

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