Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Elastic Agent] empty downloads folder when providing --path.home #24801

Closed
simitt opened this issue Mar 29, 2021 · 1 comment · Fixed by #24817
Closed

[Elastic Agent] empty downloads folder when providing --path.home #24801

simitt opened this issue Mar 29, 2021 · 1 comment · Fixed by #24817
Assignees
Labels
bug Team:Elastic-Agent Label for the Agent team v7.13.0

Comments

@simitt
Copy link
Contributor

simitt commented Mar 29, 2021

When running the docker container and providing --path.home the downloads folder is empty.

Reproduce:

  • change docker entrypoint to exec {{ .BeatName }} container --path.home ${HOME_PATH} "$@"
  • run cloud command
docker run -it \
  --env HOME_PATH=/app \
  -v <your-path>/app:/app <image-ID>
  • Run ls -la <your-path>/app/data/elastic-agent*/downloads; it only shows filebeat and metricbeat (after they have been downloaded by the agent); compare to downloads folder when exec into the docker container, which shows filebeat, metricbeat, heartbeat, endpoint-security, apm-server.

This is required for the elastic cloud setup, as a home path needs to be provided, and the apm-server needs to be bundled.

I have not checked whether this also occurs with another installation method.

cc @ruflin @michalpristas

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Mar 29, 2021
@simitt simitt changed the title [Elastic Agent] empyt downloads folder when providing --path.home [Elastic Agent] empty downloads folder when providing --path.home Mar 29, 2021
@ruflin ruflin added the Team:Elastic-Agent Label for the Agent team label Mar 29, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/agent (Team:Agent)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Team:Elastic-Agent Label for the Agent team v7.13.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants