logstash-plugins/logstash-output-elasticsearch

ILM integration specs failing against 8.1-SNAPSHOT

kares opened this issue · 0 comments

kares commented
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