Skip to content

ILM integration specs failing against 8.1-SNAPSHOT #1056

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

Closed
kares opened this issue Dec 1, 2021 · 0 comments · Fixed by #1062
Closed

ILM integration specs failing against 8.1-SNAPSHOT #1056

kares opened this issue Dec 1, 2021 · 0 comments · Fixed by #1062

Comments

@kares
Copy link
Contributor

kares commented Dec 1, 2021

logstash_1_7ef3b6d38fa0 | Failures:

logstash_1_7ef3b6d38fa0 | 

logstash_1_7ef3b6d38fa0 |   1) Elasticsearch has index lifecycle management enabled with ilm disabled behaves like an ILM disabled Logstash should not write the ILM settings into the template

logstash_1_7ef3b6d38fa0 |      Failure/Error: t = client.indices.get_index_template(name: name)

logstash_1_7ef3b6d38fa0 |      

logstash_1_7ef3b6d38fa0 |      Elasticsearch::Transport::Transport::Errors::NotFound:

logstash_1_7ef3b6d38fa0 |        [404] {"error":{"root_cause":[{"type":"resource_not_found_exception","reason":"index template matching [logstash] not found"}],"type":"resource_not_found_exception","reason":"index template matching [logstash] not found"},"status":404}

logstash_1_7ef3b6d38fa0 |      Shared Example Group: "an ILM disabled Logstash" called from ./spec/integration/outputs/ilm_spec.rb:524

logstash_1_7ef3b6d38fa0 |      # ./spec/es_spec_helper.rb:184:in `get_template'

logstash_1_7ef3b6d38fa0 |      # ./spec/integration/outputs/ilm_spec.rb:112:in `block in <main>'

logstash_1_7ef3b6d38fa0 | 

logstash_1_7ef3b6d38fa0 |   2) Elasticsearch has index lifecycle management enabled with ilm disabled behaves like an ILM disabled Logstash with a custom template name should not write the ILM settings into the template

logstash_1_7ef3b6d38fa0 |      Failure/Error: t = client.indices.get_index_template(name: name)

logstash_1_7ef3b6d38fa0 |      

logstash_1_7ef3b6d38fa0 |      Elasticsearch::Transport::Transport::Errors::NotFound:

logstash_1_7ef3b6d38fa0 |        [404] {"error":{"root_cause":[{"type":"resource_not_found_exception","reason":"index template matching [logstash_custom_template_name] not found"}],"type":"resource_not_found_exception","reason":"index template matching [logstash_custom_template_name] not found"},"status":404}

logstash_1_7ef3b6d38fa0 |      Shared Example Group: "an ILM disabled Logstash" called from ./spec/integration/outputs/ilm_spec.rb:524

logstash_1_7ef3b6d38fa0 |      # ./spec/es_spec_helper.rb:184:in `get_template'

logstash_1_7ef3b6d38fa0 |      # ./spec/integration/outputs/ilm_spec.rb:162:in `block in <main>'

Sample failure: https://app.travis-ci.com/github/logstash-plugins/logstash-output-elasticsearch/jobs/550380809#L2885

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant