Feature Requests
M. Ibrahim (Admin)
·2 months ago
New / Open / Unreviewed
Stagger "Patch All" so hosts aren't patched at once
"Patch All" (and multi-host patching) starts the run on every selected host at the same moment. On shared infrastructure, such as Proxmox nodes with many containers, that means every guest hits the package mirrors, CPU and disk together.
Request: an option to stagger multi-host patch runs, for example a maximum number of hosts patching at once or a delay between hosts, so large fleets can be patched without overloading the underlying hosts.
Originally raised on GitHub as #1080.
2 Comments
MI
·2 months agoOriginal GitHub discussion: https://github.com/PatchMon/PatchMon/issues/1080
+1, I'd find this very useful even in a small setup.
My use case: a homelab with a single Proxmox node running several VMs and LXC containers, all sharing the same CPU, storage and uplink. When a patch run hits all guests at once, they all compete for disk I/O and bandwidth. A few guests patched one after another finish just as fast overall and keep the node responsive.
What would help most:
- A concurrency limit (e.g. max N hosts patching at the same time). Ideally a host only counts as finished when the agent reports that its patch run is complete. Not when the command has been dispatched, since that's what makes the current queue concurrency ineffective, as analysed in #1080.
- Alternatively, a fixed delay between hosts (e.g. start one host every X minutes) as a simpler option.
- Available in patch policies too, not only for "Patch All", so that scheduled runs (
fixed_time/delayed) are staggered as well.- Nice to have: optionally pause the remaining hosts if a run fails, so a broken update doesn't roll out to the whole group.
Thanks for picking this up!