This is a similar issue to Delete_snapshot action fails, get() takes at least 2 arguments (2 given). This issue was closed without a resolution. I am running into a similar issue.
Running elasticsearch version 6.83, verified in my DEBUG log as well:
Detected Elasticsearch version 6.8.3
Running curator version 5.8.0 in a docker container running alpine linux and using pip to install elasticsearch-curator.
/usr/share/curator # /usr/bin/curator --version
curator, version 5.8.0
Action file:
actions:
1:
action: delete_snapshots
description: >-
Delete snapshots from the search cluster repository older than 1 week
(based on creation_date).
options:
repository: s3-backup
timeout_override: 21600
continue_if_exception: False
ignore_empty_list: True
disable_action: False
filters:
- filtertype: age
source: creation_date
direction: older
unit: weeks
unit_count: 1
exclude:
Error:
ERROR curator.cli run:213 Failed to complete action: delete_snapshots. <type 'exceptions.TypeError'>: get() takes at least 2 arguments (2 given)