Debian/Ubuntu full mirror with Pulp verbatim publish

I can confirm that “full mirror” for deb type does not currently exist as a Katello feature.

Regarding simply doing verbatim publications on the Pulp side: @jeremylenz has already given the general disclaimer that Katello is designed to fully manage Pulp as its backend and doing things in Pulp without Katello’s knowledge can easily be used to mess up your installation and is in no way a supported scenario.

Regarding implementing the feature for Katello: It is on our wishlist, but not currently planned so we are unlikely to do it any time soon. It is likely not as trivial as one might think. Some possible stumbling blocks and challenges I can think of:

  • How should verbatim publications propagate into CVs? What about CVs with filters? (How does this work for yum content?)
  • There are various known issues with verbatim publications on the pulp_deb side that need to be fixed. (The feature has never been hardened by the trials of usage via Katello after all.)
  • We are still in the midst of the structured APT transition for deb content on Katello, which is likely a prerequisite for “full mirror” for deb content using subscription manager.
  • Even with structured APT enabled, there might still be corner cases (like upstream repos using flat APT repo format), that cannot be made to work with “full mirror” mode and would likely require special handling.

One possibility that might side step some of the issues, might be to initially add “full mirror” for deb content only for the proposed “rolling content views”. Of course that implies implementing rolling content views first, see: https://issues.redhat.com/browse/SAT-28495 (I think we have yet to create a Foreman issue for this, but unlike “full mirror” for deb this is actively being worked on).

=> Overall I don’t think that “full mirror” for deb content can be quickly achieved to a production ready quality level.

3 Likes