flant / curator-opensearch

Curator for OpenSearch.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

incompatible version 2.0.1

VitalyEst opened this issue · comments

2022-07-08 12:36:28,082 DEBUG curator.utils check_version:719 Detected Elasticsearch distribution opensearch version 2.0.1
2022-07-08 12:36:28,083 ERROR curator.utils check_version:722 Elasticsearch distribution opensearch version 2.0.1 incompatible with this version of Curator (2.0.1)
2022-07-08 12:36:28,083 CRITICAL curator.utils do_version_check:958 Curator cannot continue due to version incompatibilites. Exiting

Hi.
Thank you for report.
I will check it

@VitalyEst : Hi.
I've tested curator v0.0.5 and opensearch v2.0.1 and all works fine:

curl https://opensearch:9200/ -ks
{
  "name" : "opensearch2-node1",
  "cluster_name" : "opensearch2-cluster",
  "cluster_uuid" : "FxxrZPK8SOaGL3WooxYTxg",
  "version" : {
    "distribution" : "opensearch",
    "number" : "2.0.1",
    "build_type" : "tar",
    "build_hash" : "6462a546240f6d7a158519499729bce12dc1058b",
    "build_date" : "2022-06-15T08:47:42.243126494Z",
    "build_snapshot" : false,
    "lucene_version" : "9.1.0",
    "minimum_wire_compatibility_version" : "7.10.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "The OpenSearch Project: https://opensearch.org/"
}

curator --config examples/curator.yml examples/actions/create_index.yml
....
2022-11-01 22:07:16,723 DEBUG              curator.utils       do_version_check:944  Checking Elasticsearch endpoint version...
2022-11-01 22:07:16,729 INFO                  opensearch    log_request_success:270  GET https://127.0.0.1:9200/ [status:200 request:0.007s]
....
2022-11-01 22:07:16,730 DEBUG              curator.utils          check_version:709  Detected Elasticsearch version 2.0.1
...
2022-11-01 22:07:16,893 INFO                 curator.cli                    run:224  Action ID: 1, "create_index" completed.
2022-11-01 22:07:16,893 INFO                 curator.cli                    run:225  Job completed.