I just installed a katello smart proxy and it syncs up with the main katello server quite happily. Clients can subscribe to products, but when I try to yum install packages I get 404 errors trying to fetch gpg keys. It trying to get https://$CAPSULE/katello/api/v2/repositories/$REPOID/gpg_key_content. Which doesn’t exist.
There’s a proxypass setting in /etc/httpd/conf.d/05-pulp-https.conf for katello/api/repositories but not for v2. If I add a proxypass setting from /katello/api/v2/repositories to the same URL on the main katello server then it just times out (is it expecting client authentication that it isn’t getting?). For now, I just proxypassed the api/v2 urls to the api/ url, which seems to be working:
ProxyPass /katello/api/v2/repositories/ https://wellkatellodmz.niwa.co.nz/katello/api/repositories/
Is there a better way to fix this? Am not sure if the issue is the installer not setting up the proxy correctly or the capsule / client using the wrong url?
clients registered to the katello proxy should be able to access GPG repo keys and install packages
Foreman and Proxy versions:
Foreman and Proxy plugin versions: