Page 1 of 1

Snapshots Say In Progress Only

Posted: Wed Dec 02, 2020 11:25 am
by 34Bearman
I have added a Snapshot Repository via CIFS. Both systems in the clusters can see it and write to it. However in my Snapshot status I get the following:

logstash-2020.11.17 IN_PROGRESS 2020-11-18 15:57:58 - 1969-12-31 18:00:00 1.7.6

It doesn't appear the system is processing snapshots correctly can you please help?

Thanks.

Re: Snapshots Say In Progress Only

Posted: Thu Dec 03, 2020 12:05 pm
by cdienger
Run the following to get a list of snapshots and their status:

Code: Select all

curl -XGET 'http://localhost:9200/_snapshot/REPONAME/_all?pretty'
*Make sure you replace REPONAME with the actual repository name.

Once you've identified the hanging snapshot, you can remove it with:

Code: Select all

curl -XDELETE 'http://localhost:9200/_snapshot/REpONAME/curator-20201117094956'
*Replace REPONAME and curator-20201117094956 with the proper repository name and snapshot name.

Re: Snapshots Say In Progress Only

Posted: Fri Dec 04, 2020 10:25 am
by 34Bearman
When I try to run a delete it says: {"error":"ConcurrentSnapshotExecutionException[[FreeNAS:curator-20190601180154] another snapshot is currently running cannot delete]","status":503}[

Should I keep trying to utilize this Repo or create another one?

Re: Snapshots Say In Progress Only

Posted: Fri Dec 04, 2020 5:06 pm
by cdienger
You should be able to continue using this one. Can you share the output of the -XGET command? Is there a job stuck in a running status? It's likely an old one that can also be deleted. Feel free to send me the output of the XGET in a private message if you can't share it here.

Re: Snapshots Say In Progress Only

Posted: Wed Dec 16, 2020 5:32 pm
by cdienger
It looks like there are multiple jobs that are stuck. Remove them with:

Code: Select all

curl -XDELETE 'http://localhost:9200/_snapshot/FreeNAS/curator-20201118215757'
curl -XDELETE 'http://localhost:9200/_snapshot/FreeNAS/curator-20200227144716'
curl -XDELETE 'http://localhost:9200/_snapshot/FreeNAS/curator-20191106170843'
curl -XDELETE 'http://localhost:9200/_snapshot/FreeNAS/curator-20190625162917'
curl -XDELETE 'http://localhost:9200/_snapshot/FreeNAS/curator-20190908154733'