Currently, when Kibana(source) delete a pipeline, the Logstash pipeline state transforms from stop to delete in two converge cycles. If the source creates the same pipeline between the cycles, the stop pipeline cannot be deleted in registry.
Steps to reproduce:
Please include a minimal but complete recreation of the problem,
including (e.g.) pipeline definition(s), settings, locale, etc. The easier
you make for us to reproduce it, the more likely that somebody will take the
time to look at it.
- In Kibana > Logstash pipelines, create a
test pipeline
- Logstash start with xpack
- Delete
test pipeline in Kibana. Logstash will delete test pipeline in the coming converge cycle. The log show test in non_running_pipelines
- Before the next converge cycle (default 5s), recreate
test in Kibana with the same definition
- Logstash does not show
test in running_pipelines and the test pipeline is not running
Provide logs (if relevant):