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

[Agent] macOS Agent goes unhealthy due to chown call made to Endpoint log file during start up #23441

Closed
EricDavisX opened this issue Jan 12, 2021 · 4 comments · Fixed by #23444
Assignees
Labels

Comments

@EricDavisX
Copy link
Contributor

I found that my mac Agent worked ok during a first install, with machine reboots, but after I enabled Endpoint in the policy and rebooted Endpoint was not able to connect to Agent (policy shows specifically that as a failure) and Agent goes to unhealthy state.

testing with 7.11 BC2 Agent and cloud prod deploy

here is the most recent / telling section of log file:
macos-agent-log-file.txt

UI looks like this:
7 11-endpoint-policy-agent-connection-failure
7 11-fleet-ui-agent-unhealthy

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ingest-management (Team:Ingest Management)

@EricDavisX
Copy link
Contributor Author

this is merged and waiting for new 7.11 BC to pick up the changes for testing

@EricDavisX
Copy link
Contributor Author

this issue happens on Agent start up, so you will see the failure as noted during 'Agent upgrade' tests as the Agent restarts itself, and if it is protected by Endpoint it will have this problem too (on Windows and macOS)

@EricDavisX
Copy link
Contributor Author

this should be available in 7.11 BC3, compiled last week - tho we are still seeing some problems with our Agents not showing as healthy, consistently in our BC3 test. We have other issues open to track it tho, but I wanted to comment here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants