-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New update strategy #204
Comments
There's probably two separate but related modes:
The first can be done by just not using the finalization API (coreos/rpm-ostree#1814). The second can be done by using the finalization API, but stopping short of calling I can see the usefulness of this, and we could do it. Though anything that's not automatic is kinda counter to the mission :) I think just getting the |
Thanks all for the feedback, I'll cumulative reply here. The "wait on reboot" method is what Container Linux does, and it's full of corner cases resulting in unplanned/accidental upgrades. IMHO that flow should be only used in manual operating mode, i.e. by stopping/disabling Zincati first. I am not planning to have an update-strategy working that way, as there are too many inherent corner-cases/races. Regarding the "wait on permission" case, we have a bit more space for design. Current plan is to check for permission with one of these strategies:
@thesharp would one of the last two suit you, perhaps with some homemade helper (e.g. a local HTTP container with custom logic to decide when finalization is allowed)? If not, I'd still try to come up with a flow which does not completely bypass Zincati finalization (for example, giving permission to reboot only if a specific filepath exists) and which does not require SSHing to each node. |
@lucab I think But it also would be nice to have some way of knowing that update/reboot was done w/o monitoring server's uptime. I'm thinking maybe some sort of webhook triggering before the reboot?
That case would be only suitable in something like a home lab. It isn't suitable for large installations. |
@thesharp ack, then I'll close this one and try to get #34 done sometime soon.
This is exposed as a metric with an info label. It is a bit better than a webhook, as it is always correct in spite of failed upgrades or rollbacks. The result is the graph you see in the README. |
@lucab you probably should link |
I also split the file-based strategy idea to #245. Not going to pursue it at this time, |
Feature Request
Desired Feature
New update strategy which would download updates, but leave the actual reboot process to the user.
Example Usage
This update strategy would be useful on a single-node clusters to avoid unscheduled downtimes.
Other Information
User would need a way to know that update is ready and waiting on reboot to be applied. Metrics seem to be the appropriate way for such notifications.
The text was updated successfully, but these errors were encountered: