project-pegaprox icon indicating copy to clipboard operation
project-pegaprox copied to clipboard

[Feature] Rolling Updates Online Timeout Adjustment

Open johnmeissner opened this issue 7 months ago • 2 comments

Got an idea? Nice! 💡 We love hearing what features would make PegaProx better for you.

A friendly reminder: PegaProx is built by volunteers in our spare time. We can't promise timelines or guarantee every feature will be implemented — but every suggestion helps shape the roadmap!

Want to help move things faster?


Describe the feature

Currently there is an adjustable time for evacuation of VMs. Is it possible to have a similarly adjustable time for host online timeouts.

Use Case

Depending on the node and collection of disks it may take more time for the node to completely restart after issuing the command reboot. Particularly if using CEPH.

Alternatives considered

Currently the only workaround is to wait for the timeout to occur and manually progress forward in the rolling update.

How important is this for you?

Without this there is no way to reliably schedule updates.

Checklist

This was quickly touched on in a previous feature request which was subsequently closed. The rationale was that there is an evacuation timeout already. This would be in addition to the current timeout.

johnmeissner avatar Apr 19 '26 18:04 johnmeissner

Good catch @johnmeissner — you're right that this is orthogonal to the evacuation timeout. Ceph OSDs in particular can easily take 5–10 minutes just to peer + scrub after a reboot, and the fixed 10-minute default meant the rolling update would pause even on healthy clusters.

The backend already carried a reboot_timeout field on the rolling-update endpoint, it just wasn't exposed in the UI. I've now added it next to the Evacuation Timeout in the advanced options:

  • Default 10 min (unchanged from before)
  • Presets: 5 / 10 / 20 / 30 min, 1 h, 2 h
  • Disabled when "wait for reboot" is off (then the timeout is irrelevant)
  • When the node doesn't come back within the window, the rolling update pauses with a clear "reboot_timeout" reason instead of erroring out — you can then inspect manually and click Continue or Cancel. Same flow as before, just tunable now.

Translations in DE/EN/FR/ES/PT/KO. Lands in the 0.9.7 build.

If you have a number in mind for your Ceph setup (I'd guess 20–30 min for bigger OSDs), let me know and I can adjust the default — but for now the user-settable preset should do the job.

Want to help keep the lights on? https://opencollective.com/pegaprox 💛

mkellermann97 avatar Apr 19 '26 19:04 mkellermann97

This looks great. Any chance to add it into the scheduling dialog as well?

johnmeissner avatar Apr 20 '26 00:04 johnmeissner