Make Maintenance Window only affect installing updates but not watching for updates #946
Replies: 4 comments 1 reply
|
Thanks for the clear example. Current maintenance-window behavior gates the scheduled watcher scan itself, so updates and newly discovered containers can wait until the next window. Automatic installation is also deferred, while manual UI/API updates remain available outside the window. Separating those concerns so Drydock keeps watching and sending notifications but only installs updates during the window makes sense as a separate maintenance-window enhancement. I will track it as roadmap work under the existing Maintenance Windows area. There is not already a duplicate entry for this request. |
|
Same root cause. The window gates the whole watcher scan, so the UI keeps showing the state from the last scan inside the window. InfluxDB is running, the record just hasn't been refreshed, and the start button fails because Docker refuses to start a container that's already running. I've pulled the split forward. Watching, discovery, container state and notifications will keep running outside the window and only automatic installs wait for it, with an option to keep the old whole-scan behaviour for anyone who wants Drydock quiet outside the window. It's being built on the 1.8 line now. Until it ships, the docs will say plainly what the window gates today, and a manual scan from the UI still refreshes everything immediately. |
|
The split has landed on the 1.8 line. Scans, discovery, container state and notifications run on the normal cron whatever the window says, and only the automatic install waits for it. So in your case InfluxDB would have shown as running, and the start button would not have been offered. It ships with v1.8.0. I'll note the rc here when there is one to try. |

Uh oh!
There was an error while loading. Please reload this page.
I realized that the maintenance window does also affect watching for new updates and even watching for new containers. I spun up a new container and it refused to show up in the UI at all.
After some time I figured out that the maintenance window I had configured was the reason.
So, maybe it would be a nice feature if we would be able to limit the maintenance window to only affect installing updates but still being able to watch for updates/containers (and get notifications about them) outside of the maintenance window.
All reactions