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

Add more output when Agent can't install Endpoint #23760

Closed
ferullo opened this issue Jan 29, 2021 · 1 comment · Fixed by #24429
Closed

Add more output when Agent can't install Endpoint #23760

ferullo opened this issue Jan 29, 2021 · 1 comment · Fixed by #24429
Assignees
Labels
bug Team:Elastic-Agent Label for the Agent team

Comments

@ferullo
Copy link

ferullo commented Jan 29, 2021

When Agent fails to install Endpoint the result shown in the Agent log is:

State changed to FAILED: operation ‘Exec’ failed:

which doesn't provide much details to a user. Can we work together to improve that output?

When Endpoint is installed the command line option --log stdout can print Endpoint install logs. Ideally we'd have a way to share those logs with a user but we can explore other options if that's not feasible.

It's worth noting, if Endpoint is not signed (i.e. if it is an internal development build) then some Windows variants will not even run the Endpoint installer. Agent can write code to diagnose and inform a user when that's the case but since that is not an issue that should affect customers I wouldn't consider it high priority or necessary.

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jan 29, 2021
@ferullo ferullo added the Team:Elastic-Agent Label for the Agent team label Jan 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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants