Problem:
Red Hat Enterprise Linux Server: - Not supported by a valid subscription. System Purpose Status: Mismatched - The requested role “Red Hat Enterprise Linux Server” is not provided by a currently consumed subscription. - The requested usage preference “Production” is not provided by a currently consumed subscription.
Expected outcome:
Successfully subscribe RHEL 7 server to Foreman.
Foreman and Proxy versions:
Foreman Pulp, Pulpcore, Puppet CA, Puppet, Logs, and Registration v2.3.3
There is no System Purpose set currently from the Content Host.
RedHat7 subscription
3.This is what is listed at /etc/pki/katello. I do not see a “product” directory and assume you mean the actual product name which in this case in “Katello”.
On the content host itself, there is a /etc/pki/product-default folder with a 69.pem file in it.
My apologies, I am new to Foreman. What do you mean by “name of the subscription”?
Also, under Content > RedHat Repositories, I have no available repos. I wonder, is this because there is no manifest to produce the subscriptions that our systems would subscribe to? If that is the case, how do we go about obtaining the manifests from RedHat without a Satellite subscription?
You have to allocate some of your redhat subscriptions in the redhat subscription portal to your foreman server, download the manifest and import it. Then you can use the subscription in your foreman server.