This was first encountered trying to integrate cloudbeat with the agent V2 changes: elastic/cloudbeat#364
The agent immediately exits when run in a container with the error:
Error: syncing download directory to STATE_PATH(/usr/share/elastic-agent/state) failed: lstat /usr/share/elastic-agent/data/elastic-agent-f95c9e/downloads: no such file or directory
To reproduce build the agent container on the feature-arch-v2 branch and run it. It will fail immediately.
This was first encountered trying to integrate cloudbeat with the agent V2 changes: elastic/cloudbeat#364
The agent immediately exits when run in a container with the error:
To reproduce build the agent container on the feature-arch-v2 branch and run it. It will fail immediately.