When munki needs to fetch a resource from the repo any network interruption causes the current run to fail. This is normally not an issue as munki will try again an hour later, or the user can check again in MSC. It is however a missed opportunity and
it causes a fair amount of noise in the logs. We're seeing a steady stream of errors in Grafana and MunkiReport — not a huge issue, but it raises the noise floor.
I've experimented a bit with implementing retries in network/middleware/fetch.swift:getHTTPfileIfChangedAtomically(). It adds two new pref keys:
DownloadRetries: int between 0 and 10. Defaults to 0 which is no retries and thus keeps the old behavior.
RetrySleepSeconds: int between 1 and 30. Defaults to 10 seconds.
Are you also seeing these issues and is this something you would find useful?
--
Per Olofsson, IT-service, University of Gothenburg