-
Notifications
You must be signed in to change notification settings - Fork 155
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] Improve error log messages when agent binary cannot be downloaded #104
Comments
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
Documenting what was discussed earlier as a small modification to the download timeout and making it a bit more robust:
[fyi @blakerouse @michel-laterman @jlind23 ] |
@blakerouse any update on this one? |
Per discussed with @blakerouse postponing it to 8.3 |
@blakerouse we discussed yesterday with @ph and @nimarezainia the outcome was that we shouldn't backport it and rather keep it for 8.3 and every further versions. |
When a user initiates remote Agent upgrades from the Fleet UI, upgrades can fail due to firewalls or similar from preventing the agent binary from being downloaded. In this case, the error in Agent logs will look something like:
It's not obvious exactly what the issue is becuase:
no such file or directory
error message seems to indicate a missing file, which is not obvious that it comes from a download issuecontext deadline exceeded (Client.Timeout or context cancellation while reading body)
error message is a little obscure and could be improved with a more explicit message likeAgent binary could not be retrieved
.The text was updated successfully, but these errors were encountered: