-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Separate enroll and run Elastic agent into two steps #65749
Labels
Team:Fleet
Team label for Observability Data Collection Fleet team
Comments
kaiyan-sheng
added
the
Team:Fleet
Team label for Observability Data Collection Fleet team
label
May 7, 2020
Pinging @elastic/ingest-management (Team:Ingest Management) |
Agree. @ph I think we discussed to do it for 7.9. But I couldn't find the issue in the Beats repo :-( |
@ruflin here the issue elastic/beats#17330 :) |
@blakerouse The above also ties into our discussion around a third command. |
Closing this, replaced by "install" subcommand. elastic/beats#21206 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When trying to enroll a new agent, the third step shown in the screenshot below actually includes two separate parts: enroll the agent and start the agent.
With the current "Copy command" button, both commands are copied at the same time. But these two commands are not able to run together because enroll has the prompt about overwriting old setting:
This will replace your current settings. Do you want to continue? [Y/n]:
.Several potential solutions I can see:
--force
to bypass the [Y/n] when enrolling the agent as @jfsiii mentioned in slack.The text was updated successfully, but these errors were encountered: