Install External Smart Proxy

Hi,

I am trying to install smart proxy with content. I am able to register the new machine on my existing foreman server. Im using Rocky linux 8.6 as baseOS.

Problem: No match for argument: foreman-proxy-content
Error: Unable to find a match: foreman-proxy-content

Expected outcome: foreman smart proxy installed successfully

Foreman and Proxy versions:
Foreman 3.4

Foreman and Proxy plugin versions: Foreman 3.4 Katello 4.6

Distribution and version:
Rocky Linux 8.6

Other relevant data

What repos do I need to enable to install the package.

You really need to be more specific. An error does not appear out of nowhere. Which docs do you follow? Which exact commands did you run before? What repositories did you set up? Which packages did you install? What is the exact foreman-installer command you try?

Im following this doc. Installing an External Smart Proxy Server 3.4 (theforeman.org)

One thing to note is that I dont have the RHSM manifest and for the rhsm.conf file, I’m not changing the baseurl and hostname as per these steps:

Other thing to note is that my enabled repositories from my foreman server are independent repo source like Rocky,EPEL,REMI and RPMFusion.

You really have to post the commands you have run. You probably did something wrong, but without knowing what you did exactly it’s difficult to tell what… And it’s also extremely helpful, if you stick to the topic and not open a side issue on the way. Topics are still mostly linear and discussing multiple different issues in the same topic makes it really hard to follow…

I’m not opening side topics; I thought it can be helpful if I mentioned that the prerequisite is not applicable on my configuration.

The commands I use are the following,

curl -sS ‘https://sample.url.net/register?activation_keys=ct-activationkey&force=true&location_id=2&organization_id=1&update_packages=false’ -H ‘Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo0LCJpYXQiOjE2Njc4MDE1MzEsImp0aSI6ImVhZTc3NTMyMGY0NGQyYTVhYjhmODYyNWZiNjYyNWIxY2E3ODczMWM5OTc1MGU5MGFkZTMxZTZkZmZlZTkzNmYiLCJleHAiOjE2Njc4MTU5MzEsInNjb3BlIjoicmVnaXN0cmF0aW9uI2dsb2JhbCByZWdpc3RyYXRpb24jaG9zdCJ9.bUHN1s6xLMY1a29e_qtoxf5Tk9QfvbcHLhDzshh8hIE’ | bash

dnf install foreman-proxy-content

If you don’t set up the katello and foreman repositories in your katello server and provide then as content to your new smart proxy you’ll have to set up the repositories locally:

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

Thank you for @gvde. Able to install smart proxy after your guide.