Open jlind23 opened 2 years ago
Pinging @elastic/fleet (Feature:Fleet)
@mostlyjason Could be interesting to expose agent settings at the policy level for:
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.
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.
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.
Hi @nickbabkin the default to 10min was introduced by this PR: https://github.com/elastic/elastic-agent/pull/308 It should be available from 8.3 on.
@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.
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?
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.
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.