-
Notifications
You must be signed in to change notification settings - Fork 198
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
RFE: support pinning packages to specific versions during upgrade transactions #1466
Comments
We support this today, but it's only going to be reliable if the repo you're pulling the package from has history. That means not Fedora (or well, you can pin to the "gold" version but not an "updates" version). But it certainly works on e.g. CentOS AH for some packages...though now that I actually look history doesn't seem to be consistently maintained? But at least there's multiple
Note the exact NEVRA in |
So do you think there is something missing here? |
I think for the kubelet case it would be nice if we could lock on a stream. i.e. we don't lock on a specific NVRA, but something a little higher level. I think modularity would give us this. In that case we can lock to kubernetes |
Right; such a thing doesn't exist in base librpm today, that's what modularity is doing. (That said at large scale I think people will want consistency across their machines, which drives back towards having a higher level orchestrator pin these types of things, doing custom composes etc.) |
I understand users can do My imagined use case came out of that FCOS discussion we had, where FCOS would by default ship with a version of |
yes, i think so, or preemptively doing it right after install, which would lock you to an NVR. The desired middle behavior is what I was describing above where people get incremental updates by default (follow @cgwalters correct me if I'm wrong in my assumption here. It won't be zero work for us, but now we have a desired use of it I believe. Related: #1435 |
It may be desirable for users/admins to prevent certain packages from being changed during upgrade transactions.
A use case that has recently come up is if a host has a specific version of a container runtime or kubelet, and they don't want their existing kubernetes cluster to break when those components are upgraded as part of the normal release cadence. However, they are still interested in the rest of the package set being upgraded.
Perhaps this is also applicable to other transactions, but
upgrade
was the first and most likely candidate, IMO.The text was updated successfully, but these errors were encountered: