September 10, 2021, 10:19am
Hi, we’re looking consolidate a number of local repositories from multiple local servers into Foreman, is this possible? would we need to set the upstream URL of a product to the NFS server which the content?
The reason this is needed is due to us not having a satellite license for Redhat and therefore cannot leverage manifests so we need to use different servers running RHEL6, RHEL7 and RHEL8 to download repos in order to patch our estate. if anyone has an alternative solution to this problem, please let me know.
We’re on the latest version of Foreman.
September 10, 2021, 10:45am
Just from your post I’m unsure, but do you know about the Katello plugin for Foreman?
September 10, 2021, 12:08pm
@mcorr - thank you that’s really helpful, i’ll look at investigating this to get the achieved scenario.
September 10, 2021, 12:10pm
This content management guide might be helpful also
@DanF Content Management Guide
September 14, 2021, 12:19pm
@mcorr, I’ll take a look at this, I’ve been scouring the web to find out how we work with katello directly to register a local repo.
September 14, 2021, 1:02pm
@mcorr - it seems that i’m not able to locate the package as described in the instructions: python-pulp-manifest. Any help would be greatly appreciated.
September 14, 2021, 1:45pm
I will add a note to the docs now as this is a known issue.
There is a workaround here: Missing pulp-python-manifest package - #9 by pjayKHV
Sorry for the inconvenience
September 15, 2021, 8:43am
Thanks for confirming
@mcorr but is there an official fix due to be released via the foreman site?
September 15, 2021, 10:08am
I’m chasing down an answer as to whether it’s a doc fix or a feature that needs to be updated. Looking through the issues confused me. I’ll update once I find out.
September 28, 2021, 3:06pm
@mcorr , do you have any updates on this?
September 28, 2021, 4:31pm
@DanF - I am sorry.
I have one more thing to chase down, but the steps linked above are as close to a workaround as I have for now
September 28, 2021, 5:27pm
@DanF we reopened this ticket
and have requested that it is published to PyPI, so the Katello team can then package it.
There is a workaround that involves cloning the
https://github.com/pulp/pulp_file/ repo and then a few more steps to get things up and running. If you’re willing to implement the workaround, I can get the steps for you?
If not, I’ll watch this ticket and can write to you when there’s an update.
October 5, 2021, 9:18am
@mcorr sorry for the delay in responding, if you could send over the steps for the pulp workaround that would be much appreciated.
October 5, 2021, 9:45am
Here is the workaround:
Pulp issue 9289 is resolved:
https://github.com/pulp/pulp_file Git repo Change to the
$ cd /pulp_file/pulp_manifest/
Enter the following command:
$ sudo python ./setup.py install
Run the following command to install the manifest:
$ pulp-manifest ./path/to/dir
October 6, 2021, 11:50am
@mcorr, i’ll give this a go now.
appreciate the continued support.