-
Notifications
You must be signed in to change notification settings - Fork 148
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
Added loggers for Fleet enrollment call failures #6477
base: main
Are you sure you want to change the base?
Conversation
This pull request does not have a backport label. Could you fix it @Rohit-code14? 🙏
|
buildkite test this |
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
buildkite test this |
buildkite test this |
1 similar comment
buildkite test this |
Quality Gate passedIssues Measures |
What does this PR do?
Added logger to print the status and code when enrollment call to fleet failed.
Why is it important?
As mentioned in the issue(#6287), It will be difficult to debug enrollment failures in such cases. Therefore adding the actual status code and error in logs will be helpful for debugging.
Checklist
[ ] I have made corresponding changes to the documentation[ ] I have made corresponding change to the default configuration files[ ] I have added tests that prove my fix is effective or that my feature works./changelog/fragments
using the changelog tool[ ] I have added an integration test or an E2E testDisruptive User Impact
No disruptive user impact
Related issues
Remote server failed to handle the request, will retry in a moment
needs to be better handled #6287