Skip to content

[Elastic Agent] Partial extracted beat result in failure to spawn beat #21718

@blakerouse

Description

@blakerouse

If Elastic Agent is stopped during a extraction of a beat or any application the resulting extraction can become incomplete if Elastic Agent is stopped while the extraction is occurring. The partial extracted folder is not removed during stop and on the next start the newly running Elastic Agent process will think the extraction was successful and run that binary. The starting of the binary can result in failure:

Application: metricbeat--7.10.0[6a52a569-7a63-447a-82db-5102d3fb26b9]: State changed to FAILED: failed to start 'C:\Program Files\Elastic\Agent\data\elastic-agent-47b32e\install\metricbeat-7.10.0-windows-x86_64\metricbeat': fork/exec C:\Program Files\Elastic\Agent\data\elastic-agent-47b32e\install\metricbeat-7.10.0-windows-x86_64\metricbeat.exe: %! (MISSING)is not a valid Win32 application.

For confirmed bugs, please report:

  • Version: 7.10.0 BC1
  • Operating System: Windows (expect same result on others)

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions