Elastic curator version 7 is failing to delete indices

Hello all,
We are using elasticsearch curator version 5.8.4 with opensearch 1.2.4.
New Curator versions are being released. We could see in the curator release document that curator 7 will work with Elasticsearch 7.x and is functionally identical to 5.8.4. We uplifted curator version from 5.8.4 to 7.0.0.
We configured curator 7 actions to delete the logs older than 1 week

actions: |
    action: delete_indices
    description: Remove logs older than 1 week
      disable_action: false
      ignore_empty_list: true
    - filtertype: age
      source: name
      direction: older
      timestring: '%Y.%m.%d'
      unit: days
      unit_count: 7

But curator 7 is failing to delete the logs and printing below error msg

{"extra_data":{"curator":{"function":"get_client","linenum":1067,"name":"curator.utils"}},"message":"Unable to connect to Elasticsearch cluster. Error: The client noticed that the server is not Elasticsearch and we do not support this unknown product","metadata":{"container_name":"curator","namespace":"zmanrao","pod_name":"eric-data-search-engine-curator-28100537-6slmg"},"service_id":"eric-data-search-engine-curator","severity":"error","timestamp":"2023-06-06T06:17:06.512+00:00","version":"1.2.0"}
{"extra_data":{"curator":{"function":"get_client","linenum":1072,"name":"curator.utils"}},"message":"Curator cannot proceed. Exiting.","metadata":{"container_name":"curator","namespace":"zmanrao","pod_name":"eric-data-search-engine-curator-28100537-6slmg"},"service_id":"eric-data-search-engine-curator","severity":"critical","timestamp":"2023-06-06T06:17:06.512+00:00","version":"1.2.0"}
Ended with exit code 1.

Why curator is unable to connect to Elasticsearch cluster? Can some one explain the behavior?

Thank you

Curator will not be compatible with OpenSearch.

Index Management is Curator’s successor. For future support, this is probably the best option.

If you have to keep Curator, it would need to be forked and modified to support OpenSearch.

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