Skip to content

pipeline unable to be deleted in registry if the source delete and create the same pipeline in shot time #14017

@kaisecheng

Description

@kaisecheng

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.

  1. In Kibana > Logstash pipelines, create a test pipeline
  2. Logstash start with xpack
  3. Delete test pipeline in Kibana. Logstash will delete test pipeline in the coming converge cycle. The log show test in non_running_pipelines
  4. Before the next converge cycle (default 5s), recreate test in Kibana with the same definition
  5. Logstash does not show test in running_pipelines and the test pipeline is not running

Provide logs (if relevant):

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions