Releases: elastic/curator
Releases · elastic/curator
5.8.1 (25 September 2019)
Bug Fixes
LD_LIBRARY_PATHwill now be set in/usr/bin/curatorand the
associated scripts rather than set in/etc/ld.so.conf.d
Other
- Unsaved logging change in
utils.pythat got missed is merged.
5.8.0 (24 September 2019)
Some big changes here, with more coming soon.
New
- Require
elasticsearch-pyversion 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_flushoption to thecloseaction. This should be useful
when trying to close indices with unassigned shards (e.g. before restore).
Raised in #1412. (psypuff) - Use
RequestsHttpConnectionclass, which permits the use of
HTTP_PROXYandHTTPS_PROXYenvironment 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_existingoption added toCreateIndex. Will not raise an
error if the index to be created already exists. Raised by (breml) in
#1352. (untergeek)- Add support for
freezeandunfreezeindexes using curator. Requires
Elasticsearch version 6.6 or greater with xpack enabled. Requested in issue
#1399 and rasied in PR #1454. (junmuz) - Allow the
closeaction to ignore synced flush failures with the new
ignore_sync_failuresoption. 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
emptyfiltertype from incorrectly matching against closed
indices #1430 (heyitsmdr) - Fix
index_sizefunction to be able to report either for either the
totalof all shards (default) or justprimaries. Added as a keyword
arg to preserve existing behavior. This was needed to fix sizing
calculations for the Shrink action, which should only countprimaries.
Raised in #1429 (untergeek). - Fix
allow_ilm_indicesto work with therolloveraction. 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 thecountfilter anduse_agewithsource: 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
5.7.6 (6 May 2019)
Security Fix
Evidently, there were some upstream dependencies which required vulnerable
versions of urllib3 and requests. These have been addressed.
- CVE-2018-20060, CVE-2019-11324, CVE-2018-18074 are addressed by this
update. Fixed in #1395 (cburgess)
Bug Fixes
- Allow aliases in Elasticsearch versions >= 6.5.0 to refer to more than one
index, ifis_write_indexis present and one index has it set toTrue.
Requested in #1342 (untergeek)
5.7.5 (26 April 2019)
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)
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)
Bug Fix
- Still further package collisions with
urllib3betweenboto3and
requests. It was working, but with an unacceptable error, which is
addressed in release 5.7.3. (untergeek)
5.7.2 (24 April 2019)
Bug Fix
- Fix
urllib3dependency collision on account ofboto3(untergeek)
5.7.0 (24 April 2019)
New
- Support for
elasticsearch-py7.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
regexpattern filter to usere.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_indicesoption. (untergeek)
Documentation
- Many thanks to those who submitted documentation fixes, both factual as
well as typos!
5.6.0 (13 Nov 2018)
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
emptyfilter 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
shardsfiltertype (cushind) #1298
Bug Fixes
- Fix YAML linting so that YAML errors are caught and displayed on the
command line. Reported in #1237 (untergeek) - Pin
clickversion for compatibility. (Andrewsville) #1280 - Allow much older epoch timestamps (rsteneteg) #1296
- Reindex action respects
ignore_empty_listflag (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)
Bug Fix
- Extra args in show.py prevented show_snapshots from executing (untergeek)