Snapshots Say In Progress Only

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
34Bearman
Posts: 40
Joined: Wed Dec 03, 2014 3:45 pm

Snapshots Say In Progress Only

Post 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.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Snapshots Say In Progress Only

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
34Bearman
Posts: 40
Joined: Wed Dec 03, 2014 3:45 pm

Re: Snapshots Say In Progress Only

Post 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?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Snapshots Say In Progress Only

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Snapshots Say In Progress Only

Post 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'
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked