Foreman-installer missing pulpcore

Problem:
when I try to make a foreman-installer I’ve got this:


2022-10-04 17:52:02 [ERROR ] [configure] Execution of ‘/bin/dnf -d 0 -e 1 -y install pulpcore’ returned 1: Error: Unable to find a match: pulpcore
2022-10-04 17:52:02 [ERROR ] [configure] /Stage[main]/Pulpcore::Install/Package[pulpcore]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install pulpcore’ returned 1: Error: Unable to find a match: pulpcore
2022-10-04 17:52:06 [ERROR ] [configure] Execution of ‘/bin/dnf -d 0 -e 1 -y install pulp-cli’ returned 1: Error: Unable to find a match: pulp-cli
2022-10-04 17:52:06 [ERROR ] [configure] /Stage[main]/Pulpcore::Cli/Package[pulp-cli]/ensure: change from ‘purged’ to ‘present’ failed: Execution of ‘/bin/dnf -d 0 -e 1 -y install pulp-cli’ returned 1: Error: Unable to find a match: pulp-cli

Can you help me to solve this issue please ?
Surely in relation with my other issue => Failure: ERF50-5345 - #3 by xybal

Regards

Expected outcome:

Foreman and Proxy versions: 3.3 + katello 4.5

Foreman and Proxy plugin versions:

Distribution and version: RH8

Other relevant data:

It sounds like you are missing the Pulpcore repositories being configured which in turn would led me to ask if you have installed the proper release RPMs to ensure the repositories are all configured? What directions did you follow (in case we have a gap there)?

Having https://yum.theforeman.org/katello/4.5/katello/el8/x86_64/katello-repos-latest.rpm installed should set everything up.

This is what I have for katello:

Place this file in your /etc/yum.repos.d/ directory

[katello]
name=Katello 4.5
baseurl=https://yum.theforeman.org/katello/4.5/katello/el8/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-foreman
enabled=1
gpgcheck=1

Candlepin RPMs as supported by Katello - This is a coordinated

copy of Candlepin’s packages in order to ensure compatibility

[katello-candlepin]
name=Candlepin: an open source entitlement management system.
baseurl=https://yum.theforeman.org/katello/4.5/candlepin/el8/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-foreman
enabled=1
gpgcheck=1

[pulpcore]
name=pulpcore: Fetch, Upload, Organize, and Distribute Software Packages.
baseurl=https://yum.theforeman.org/pulpcore/3.18/el8/$basearch/
gpgkey=https://yum.theforeman.org/pulpcore/3.18/GPG-RPM-KEY-pulpcore
enabled=1
gpgcheck=1

source repositories

[katello-source]
name=Katello 4.5 Source
baseurl=https://yum.theforeman.org/katello/4.5/katello/el8/source/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-foreman
enabled=0
gpgcheck=1

[katello-candlepin-source]
name=Katello Candlepin source
baseurl=https://yum.theforeman.org/katello/4.5/candlepin/el8/source/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-foreman
enabled=0
gpgcheck=1

[pulpcore-source]
name=pulpcore source
baseurl=https://yum.theforeman.org/pulpcore/3.18/el8/source/
gpgkey=https://yum.theforeman.org/pulpcore/3.18/GPG-RPM-KEY-pulpcore
enabled=0
gpgcheck=1

But event with this I’ve got this error mentioned above.

Did you enable the pulpcore module?

https://docs.theforeman.org/3.3/Installing_Server/index-katello.html#configuring-repositories_foreman

Hello,

Thx to all for your answers.
Now it’s working fine, GVDE you were right the pulpcore was not enabled … why ?
After activation everything is working fine now.

Thx a lot again