-
Notifications
You must be signed in to change notification settings - Fork 79
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
Add publication options for packages with Phased-Update-Percentage #716
Comments
Having researched the feature, it looks like on the repo side, it is just a matter of adding a Ubuntu apparently has a policy of updating the percentage in their repo every 6h when they do a phased release of a package. As such, syncing this information into pulp_deb is information that is going to be very quickly out of date, and the whole idea behind phased updates probably does not make a lot of sense to most users who control updates via Pulp mirror. Users can of course simply configure their Ubuntu hosts to ignore phased updates and be done with. However, I still feel like a special handling in pulp_deb could make sense: My proposal would be to simply sync the Ubuntu repo as it is, including all phased update percentages at the time of the sync, but to offer an option not to publish these fields during the pulp_deb publish step here: Perhaps it could be a three way option:
These three options would mirror the available configuration options for APT. For convenience we could add the possibility of setting a default value for the new publication parameter in the pulp_deb config file and/or for individual Pulp repositories (the latter would require a DB migration). |
We are now tracking this internally, but at moderate priority, since it can be worked around via APT client configuration. |
I think the most sensible default would be to just include all packages and remove Is this something to discuss with |
I think for now this issue is enough. On the Katello side it is probably not worth the effort to add the ability to set the new behaviour on a per repository basis. As in, we can get most of what we want with very little effort in Katello, by just setting a global default behaviour regarding phased updates for pulp_deb. And I agree that the sane default would just be to ignore (drop) the phased upgrade percentage. |
This weekend I came across https://utcc.utoronto.ca/~cks/space/blog/linux/Ubuntu2204ServerPhasedUpdates which goes into details about Ubuntu's phased updates system. Turns out support of it was added to
apt
in Ubuntu 22.04. That means is that if you have a fleet of machines they will end up with different version of the package. Naturally, I started wondering whether this affects katello and content views, and I think it does.I don't have jammy synced, but the metadata seems to be there. I haven't actually tested that you get different versions of the package on different system on jammy, but I could.
The question is should
pulp_deb
so something about this? or not? Perhaps, as it seems to break the idea of content views.It seems right now the only way to control this behaviour is via
apt
configuration options.The text was updated successfully, but these errors were encountered: