Problem:
In Ubuntu 24.04, the release information the Origin field has changed from Pulp 3 to Ubuntu. In previous versions of Ubuntu (such as 22.04), for synced products, the Origin was set to Pulp 3, but in Ubuntu 24.04, it is set to Ubuntu.
Can this be changed to Pulp 3, as in the other versions?
Ubuntu 22.04:
Ubuntu 24.04:
Expected outcome:
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Foreman: * foreman-3.12.0-1.el8.noarch
Katello: * katello-4.14.0-1.el8.noarch Distribution and version:
OS: RHEL 8.10 Other relevant data:
This is a change that was introduced with pulp_deb 3.0.0, which is present in Katello >= 4.10. The change does not take effect for repositories that were first created with an older Katello/pulp_deb version, which is probably why you are seeing it for Ubuntu 24.04, but not for 22.04.
On the pulp_deb side, it is possible to revert to the old behaviour by setting publish_upstream_release_fields=False either on the repository or during publish, however there is currently no way of overriding these options from within Katello. If you were to use this setting directly within your Pulp repositories, this would affect all of version, origin, label, and description at once, not just origin.
My question is: What use case do you have for preferring Origin: Pulp 3?
The answer can help with what the best way forwards might be.
So as an immediate workaround your only option is to set publish_upstream_release_fields to False on your affected Pulp repositories. There is no Pulp CLI command to do this so the only option is to talk directly to the Pulp API, see: REST API - Pulp Project
While it is not best practice to modify what is in Pulp without Katello’s knowledge, if all you are changing is this one setting on the Pulp repositories, then this is harmless. The setting may already be set for some repositories and not others due to the way Pulp migrated existing repositories, and this also happened “without Katello’s knowledge”, which is exactly what you are seeing with your repos.
Beyond the above workaround, I basically regard this as a feature request as follows: “Provide a way to set some or all Release file fields used for Pulp publications (e.g.: origin) via the Katello repositories page”
I will check internally if we are likely to work on a feature like this.