SAM proxy thumbslug katello

Latest response

Hi,

 

I use SAM to register VM
I want to use the SAM as a proxy to update the VM. (cdn access)
How should I configure thumbslug.conf and katello.yml?
To date, this does not work, I get an error 502 in the access log thumbslug. it can not find repomd.xml. The proxy does not operate. (port 8088)

Actually i use local repository to update. I think the security updates are not ok .... That's why I want to test with an access to cdn via the proxy SAM (Candlepin)

 

Someone managed to run SAM as a proxy ?

 

Thanks.

Responses

Hello Julien,

 

Yes, I have successfully installed it and used it to register systems on it which in turn fetches updates from CDN (via SAM). This setup didn't need any additional changes/settings apart from the one mentioned in the installation guide.

If I understand your issue correctly - you mean that you have installed SAM (default installation) to fetch updates for clients from CDN and it isn't working ?

Along with the default installation, did you follow all the steps including :
- Ports 443 and 8088 for HTTPS (secure WWW) must be open for incoming connections. This can be achieved using the system-config-firewall-tui tool.
- Download subscription manifest and upload it on SAM
- Assign Subscriptions to the registered system

Also after installation did you do any custom changes ?

Regards,
Paresh

Hi,

 

sorry i was affected to another project......

So could you give me your thumbslug.conf please .?

I have a gateway error 502

I can register my system to the sam so i can't use sam / thumbslug to update another system (except SAM)

Regards,

 

Julien

Hi Julien,

On my install I see that it has :

# cat /etc/thumbslug/thumbslug.conf
ssl.keystore = /etc/pki/katello/keystore
ssl.keystore.password = <alphanumeric pass>
candlepin.oauth.secret = <alphanumeric pass>

Paresh

Hi,

It's ok :

https://access.redhat.com/knowledge/solutions/268983

I must spcified the proxy ....

cdn.proxy = true

cdn.proxy.host = xxx.xxx.xxx.xxx

cdn.proxy.port = xxxx

cdn.proxy.user = xxxx

cdn.proxy.password = xxxx

Thanks

 

Regards

Julien

Great! Thanks for pointing to that solution here, Julien.