Skip to content

Releases: elastic/curator

5.8.1 (25 September 2019)

25 Sep 16:45

Choose a tag to compare

Bug Fixes

  • LD_LIBRARY_PATH will now be set in /usr/bin/curator and the
    associated scripts rather than set in /etc/ld.so.conf.d

Other

  • Unsaved logging change in utils.py that got missed is merged.

5.8.0 (24 September 2019)

24 Sep 21:38

Choose a tag to compare

Some big changes here, with more coming soon.

New

  • Require elasticsearch-py version 7.0.4
  • Official support for Python 3.7 — In fact, the pre-built packages are built
    using Python 3.7 now.
  • Packages bundle OpenSSL 1.1.1c, removing the need for system OpenSSL
  • Certifi 2019.9.11 certificates included.
  • New client configuration option: api_key - used in the X-Api-key header in
    requests to Elasticsearch when set, which may be required if ReadonlyREST
    plugin is configured to require api-key. Requested in #1409 (vetler)
  • Add skip_flush option to the close action. This should be useful
    when trying to close indices with unassigned shards (e.g. before restore).
    Raised in #1412. (psypuff)
  • Use RequestsHttpConnection class, which permits the use of
    HTTP_PROXY and HTTPS_PROXY environment variables. Raised in #510
    and addressed by #1259 (raynigon) in August of 2018. Subsequent changes,
    however, required some adaptation, and re-submission as a different PR.
    (untergeek)
  • ignore_existing option added to CreateIndex. Will not raise an
    error if the index to be created already exists. Raised by (breml) in
    #1352. (untergeek)
  • Add support for freeze and unfreeze indexes using curator. Requires
    Elasticsearch version 6.6 or greater with xpack enabled. Requested in issue
    #1399 and rasied in PR #1454. (junmuz)
  • Allow the close action to ignore synced flush failures with the new
    ignore_sync_failures option. Raised in #1248. (untergeek)

Bug Fixes

  • Fix kibana filter to match any and all indices starting with .kibana.
    This addresses #1363, and everyone else upgrading to Elasticsearch 7.x.
    Update documentation accordingly. (untergeek)
  • Fix reindex post-action checks. When the filters do not return documents
    to be reindexed, the post-action check to ensure the target index exists
    is not needed. This new version will skip that validation if no documents
    are processed (issue #1170). (afharo)
  • Prevent the empty filtertype from incorrectly matching against closed
    indices #1430 (heyitsmdr)
  • Fix index_size function to be able to report either for either the
    total of all shards (default) or just primaries. Added as a keyword
    arg to preserve existing behavior. This was needed to fix sizing
    calculations for the Shrink action, which should only count primaries.
    Raised in #1429 (untergeek).
  • Fix allow_ilm_indices to work with the rollover action. Reported in
    #1418 (untergeek)
  • Update the client connection logic to be cleaner and log more verbosely in
    an attempt to address issues like #1418 and others like it more effectively
    as other failures have appeared to be client failures because the last
    log message were vague indications that a client connection was attempted.
    This is a step in the right direction, as it explicitly exits with a 1 exit
    code for different conditions now. (untergeek)
  • Catch snapshots without a timestring in the name causing a logic error when
    using the count filter and use_age with source: name. Reported
    by (nerophon) in #1366. (untergeek)
  • Ensure authentication (401), authorization (403), and other 400 errors are
    logged properly. Reported by (rfalke) in #1413. (untergeek)
  • Fix crashes in restore of "large" number of indices reported by breml in
    #1360. (anandsinghkunwar)
  • Do an empty list check before querying indices for field stats. Fixed by
    (CiXiHuo) in #1448.
  • Fix "Correctly report task runtime in seconds" while reindexing. Reported
    by (jkelastic) in #1335

Documentation

  • Grammar correction of ilm.asciidoc #1425 (SlavikCA)
  • Updates to reflect changes to Elasticsearch 7 documentation #1426 and #1428
    (lcawl) and (jrodewig)

5.7.6 (6 May 2019)

07 May 02:47
e8dff8b

Choose a tag to compare

Security Fix

Evidently, there were some upstream dependencies which required vulnerable
versions of urllib3 and requests. These have been addressed.

Bug Fixes

  • Allow aliases in Elasticsearch versions >= 6.5.0 to refer to more than one
    index, if is_write_index is present and one index has it set to True.
    Requested in #1342 (untergeek)

5.7.5 (26 April 2019)

26 Apr 17:12
7ff712f

Choose a tag to compare

This has to be a new record with 5 releases in 3 days, however, as a wonderful
aside, this release is the Curator Haiku release (if you don't know why, look
up the structure of a Haiku).

Bug Fix

  • Persistent ILM filter error has finally been caught. Apparently, in Python,
    a list of lists [[]] will evaluate as existing, because it has one
    array element, even if that element is empty. So, this is my bad, but it is
    fixed now. (untergeek)

5.7.4 (25 April 2019)

25 Apr 19:27
949c285

Choose a tag to compare

Bug Fix

  • ILM filter was reading from full index list, rather than the working list
    Reported in #1389 (untergeek)

5.7.3 (24 April 2019)

25 Apr 01:27

Choose a tag to compare

Bug Fix

  • Still further package collisions with urllib3 between boto3 and
    requests. It was working, but with an unacceptable error, which is
    addressed in release 5.7.3. (untergeek)

5.7.2 (24 April 2019)

24 Apr 23:47

Choose a tag to compare

Bug Fix

  • Fix urllib3 dependency collision on account of boto3 (untergeek)

5.7.0 (24 April 2019)

24 Apr 18:35
d89759e

Choose a tag to compare

New

  • Support for elasticsearch-py 7.0.0 (untergeek)
  • Support for Elasticsearch 7.0 #1371 (untergeek)
  • TravisCI testing for Elasticsearch 6.5, 6.6, 6.7, and 7.0 (untergeek)
  • Allow shrink action to use multiple data paths #1350 (IzekChen)

Bug Fixes

  • Fix regex pattern filter to use re.search #1355 (matthewdupre)
  • Report rollover results in both dry-run and regular runs. Requested
    in #1313 (untergeek)
  • Hide passwords in DEBUG logs. Requested in #1336 (untergeek)
  • With ILM fully released, Curator tests now correctly use the
    allow_ilm_indices option. (untergeek)

Documentation

  • Many thanks to those who submitted documentation fixes, both factual as
    well as typos!

5.6.0 (13 Nov 2018)

14 Nov 04:11

Choose a tag to compare

With apologies for the very belated update, and the low number of issue fixes and new features, here's 5.6.0.
Please note that my development cycle has been renewed in earnest. Watch for more frequent updates and patches coming soon.

New

  • The empty filter has been exposed for general use. This filter matches
    indices with no documents. (jrask) #1264
  • Added tests for Elasticsearch 6.3 and 6.4 releases. (untergeek)
  • Sort indices alphabetically before sorting by age.
    (tschroeder-zendesk) #1290
  • Add shards filtertype (cushind) #1298

Bug Fixes

  • Fix YAML linting so that YAML errors are caught and displayed on the
    command line. Reported in #1237 (untergeek)
  • Pin click version for compatibility. (Andrewsville) #1280
  • Allow much older epoch timestamps (rsteneteg) #1296
  • Reindex action respects ignore_empty_list flag (untergeek) #1297
  • Update ILM index version minimum to 6.6.0 (untergeek)
  • Catch reindex failures properly. Reported in #1260 (untergeek)

Documentation

  • Added Reindex example to the sidebar. (Nostalgiac) #1227
  • Fix Rollover example text and typos. (untergeek)

5.5.4 (23 May 2018)

23 May 16:02

Choose a tag to compare

Bug Fix

  • Extra args in show.py prevented show_snapshots from executing (untergeek)