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] Starting docker container when enrollment #24033

Closed
simitt opened this issue Feb 15, 2021 · 4 comments
Closed

[Elastic Agent] Starting docker container when enrollment #24033

simitt opened this issue Feb 15, 2021 · 4 comments
Assignees
Labels
bug Team:Elastic-Agent Label for the Agent team

Comments

@simitt
Copy link
Contributor

simitt commented Feb 15, 2021

It seems #23973 introduced a regression for when starting the Elastic Agent docker container.
When starting the container by not providing an enrollment token, the script fails with /usr/local/bin/docker-entrypoint: line 43: ${$apikeyId}: bad substitution.

It seems the additional '$' in ${$apikeyId} is the root cause.

@simitt simitt added bug Team:Elastic-Agent Label for the Agent team labels Feb 15, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/agent (Team:Agent)

@simitt simitt self-assigned this Feb 15, 2021
simitt added a commit to simitt/beats that referenced this issue Feb 15, 2021
Remove additional '$' from ${$apiKeyId}

fxies elastic#24033
@mtojek
Copy link
Contributor

mtojek commented Feb 15, 2021

Fix in-progress: #24036

@simitt
Copy link
Contributor Author

simitt commented Feb 15, 2021

Thanks for the fix, I had it self-assigned and put up a PR already #24035 :)
Closing in favor of your fix then.

@ph
Copy link
Contributor

ph commented Feb 15, 2021

closing #24036 is merged.

@ph ph closed this as completed Feb 15, 2021
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants