Skip to content
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

atomic-upgrade-svc #44

Closed
cgwalters opened this issue Nov 10, 2014 · 8 comments
Closed

atomic-upgrade-svc #44

cgwalters opened this issue Nov 10, 2014 · 8 comments

Comments

@cgwalters
Copy link
Member

(Note: not called atomic-upgraded since the "d" there parses as English past tense, not Unix daemon)

Some deployments would like to enable automatic updates. We need a mode to make that work well.

See: #40
See: https://github.com/coreos/locksmith

@stefwalter
Copy link
Contributor

Doesn't this daemon have to do all rpm-ostree operations (including rollback, upgrade, status, and probably compose, db) in order to provide the prerequisite locking and coordination? If so, why would it be called 'atomic-upgrade-svc'?

@cgwalters
Copy link
Member Author

compose is currently a server side thing. db is read-only, and note because rpm-ostree never live-mutates the current system, it's completely safe to just read the rpm database at any time, whether via rpm-ostree db or just dropping down to rpm -qa.

So basically let's just focus on rollback, upgrade, and status?

@cgwalters
Copy link
Member Author

This was done.

@cgwalters
Copy link
Member Author

I think we still should have an example systemd unit timer for doing hands-off automatic updates for individual systems. That's an rpm-ostree issue which I'll file here. But at a cluster level one needs to script things more, there are a few projects/models around this like https://github.com/projectatomic/commissaire

@cgwalters
Copy link
Member Author

Created #247 for the first part.

@ashcrow
Copy link
Member

ashcrow commented Mar 23, 2016

commissiare should already be able to do on demand upgrade and status. I think it would make sense to add rollback as well as an optional operation scheduler (or a controller of local operation schedulers).

@pgsamila
Copy link

pgsamila commented May 2, 2016

Why rpm-ostree have an issue on automatic updates for individual system? If the system can updated manually, then the automatic is possible.

@cgwalters
Copy link
Member Author

Let's talk in #247 for making it easier to turn on automatic host updates as well as scripting them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants