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

identity: check whether current image is meant to auto-update #61

Closed
lucab opened this issue Jul 5, 2019 · 4 comments
Closed

identity: check whether current image is meant to auto-update #61

lucab opened this issue Jul 5, 2019 · 4 comments

Comments

@lucab
Copy link
Contributor

lucab commented Jul 5, 2019

At the moment Zincati tries to always auto-update the OS, regardless of its stream.

This is fine on production images. There are however few cases where this doesn't make much sense, for example when somebody is performing a local build from a configuration/lockfile belonging to a production stream.

In that case, Zincati will reach out to the updates server and get an update-graph for the relevant stream, but it won’t find its own self-matching node (version+checksum tuple) in there, wasting both client-side and server-side resources. As backend operators, the latter concerns us directly.

It would be good to have a mechanism to detect local-development built, in order to avoid trying to update them.

@jlebon
Copy link
Member

jlebon commented Jul 5, 2019

@bgilbert will open an issue to start a higher-level discussion about how to handle "devel" vs "prod" differences.

@bgilbert
Copy link
Contributor

bgilbert commented Jul 6, 2019

@lucab
Copy link
Contributor Author

lucab commented Jul 8, 2019

@jlebon @bgilbert my understanding is that it has been superseded in the meanwhile by #62, right? If so, I guess this can be closed.

@jlebon
Copy link
Member

jlebon commented Jul 8, 2019

Yeah, I think we can close this.

@lucab lucab closed this as completed Jul 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants