Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos/tests/elk.nix: fix issue in the elasticsearch-curator #86321

Merged
merged 1 commit into from Apr 29, 2020

Conversation

basvandijk
Copy link
Member

@basvandijk basvandijk commented Apr 29, 2020

Motivation for this change

The elasticsearch-curator was not deleting indices because the indices
had ILM policies associated with them.

Also see: elastic/curator#1490

Things done

This is now fixed by configuring the elasticsearch-curator with allow_ilm_indices: true.

I tested this on the release-20.03 branch because the master branch fails to build due to a failure in the python3.7-click-6.7 package:

...
patching sources
substitute(): ERROR: file 'src/click/_unicodefun.py' does not exist
builder for '/nix/store/p1dl3hyd4kwibz5l3s4bl8j2f2rhyiar-python3.7-click-6.7.drv' failed with exit code 1
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

The elasticsearch-curator was not deleting indices because the indices
had ILM policies associated with them. This is now fixed by
configuring the elasticsearch-curator with `allow_ilm_indices: true`.

Also see: elastic/curator#1490
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant