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

[Fleet] Give the ability to set up elastic agent download timeout #121069

Open
Tracked by #120811
jlind23 opened this issue Dec 13, 2021 · 9 comments
Open
Tracked by #120811

[Fleet] Give the ability to set up elastic agent download timeout #121069

jlind23 opened this issue Dec 13, 2021 · 9 comments
Labels
enhancement New value added to drive a business result Feature:Fleet Fleet team's agent central management project Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@jlind23
Copy link
Contributor

jlind23 commented Dec 13, 2021

As part of the policy we should give the ability to the customer to set up "agent.download.timeout: 10s" through the UI instead of letting them do it in the fleet.yml config.

Fleet UI enhancements:

  1. agent.download.timeout to be configurable via UI. the default value set to 10minutes
  2. NEW: a configurable interval to log an informational "progression" event which tracks the download transmission rate and percentage completed. Default set to every 1 minute. this variable currently doesn't exist and will be implemented.
@jlind23 jlind23 added the Feature:Fleet Fleet team's agent central management project label Dec 13, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Feature:Fleet)

@botelastic botelastic bot added the needs-team Issues missing a team label label Dec 13, 2021
@jlind23 jlind23 added the Team:Fleet Team label for Observability Data Collection Fleet team label Dec 13, 2021
@botelastic botelastic bot removed the needs-team Issues missing a team label label Dec 13, 2021
@jen-huang
Copy link
Contributor

@mostlyjason Could be interesting to expose agent settings at the policy level for:

@nickbabkin
Copy link

nickbabkin commented Aug 30, 2022

Hi @jlind23 !
Are there any updates on this one?

About 30% of our elastic agents can't upgrade due to poor internet connection plus download timeout being very low currently (120s). I haven't found a way to modify this setting via fleet either.

Would be lovely to have this in the UI.

@jlind23
Copy link
Contributor Author

jlind23 commented Aug 31, 2022

Hi @nickbabkin,

Did you recently try the new rolling upgrade feature in order to release the network pressure?
Plus, AFAIR, @blakerouse changed this default timeout to 10minutes.

@nickbabkin
Copy link

Hi @jlind23,

Yes we did, we are geographically distributed and unfortunately in some regions connection is so poor that 150 Mb can't be downloaded within 2 minutes.

In what version was download timeout changed to 10 minutes? Maybe I have to manually upgrade our agents to that one first.

@jlind23
Copy link
Contributor Author

jlind23 commented Aug 31, 2022

Hi @nickbabkin the default to 10min was introduced by this PR: elastic/elastic-agent#308
It should be available from 8.3 on.

@nickbabkin
Copy link

@jlind23 lovely, thanks!
Now I need to find a way to update stuck agents manually to 8.3, and going forward from there I will be upgrading them via Fleet.

@muralidharanvenkataraman
Copy link

muralidharanvenkataraman commented Jan 3, 2023

We are running 8.4.1 version of the elastic agent here. I am trying to upgrade an agent from 8.4.1 to 8.4.2 and the agent download is taking more than 10 minutes from an internal artifacts location. How do I increase the timeout from 10 minutes to a higher number?

@ghost
Copy link

ghost commented Feb 7, 2023

We are running a geographically distributed company and aren't able to download the agent binaries in 10 minutes too. We would also love to have the ability to set download timeout from the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Fleet Fleet team's agent central management project Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

No branches or pull requests

5 participants