We are storing snapshots in a NETAPP S3 bucket and while deleting the old snapshots using curator, it is required to at least 10 min to delete a single snapshot on the NETAPP S3 bucket. We have a lot of older snapshots in the bucket and while deleting snapshots older than 45 days, the operation gets timed out.
PFB the configuration file.
actions: 1: action: delete_snapshots description: >- Delete snapshots from the selected repository older than 45 days (based on creation_date), for 'curator-' prefixed snapshots. options: ignore_empty_list: True timeout_override: continue_if_exception: False repository: elasticsearch_backups retry_interval: 120 retry_count: 3 disable_action: False wait_for_completion: True filters: - filtertype: pattern kind: prefix value: curator-2017 exclude: - filtertype: age source: creation_date direction: older unit: days unit_count: 45
client: hosts: - X.X.X.X port: 9200 url_prefix: use_ssl: False certificate: client_cert: client_key: ssl_no_validate: False http_auth: timeout: 120 master_only: True logging: loglevel: DEBUG logfile: logformat: default blacklist: ['elasticsearch', 'urllib3']
To surpass the timeout we are currently changing the timeouts to a bigger value.
Could you please help us if there is any other way to overcome the timeout.