After updating from katello 3.17.2 to 3.18.1 I have noticed that my separate content smart proxy doesn’t listen to port 80 anymore. It’s only serving port 443. Is there a particular reason for that change? I have used http to get the katello-ca-consumer-latest rpm from the proxy and noticed it’s not working.
That change also seems to affect provisioning, when it tries to download the vmlinuz and initrd files from the proxy into /var/lib/tftpboot/boot/.
It seems the change came in with this pull request
As far as I understand the elsif with ‘foreman_proxy_content::pulp’ set applies to my installation which would add the httpd_pub.erb into the https foreman and sets the separate pub_dir.conf file but doesn’t do anything to enable port 80…
On my upgrade, I had a vhost for port 80 configured. Looking at the code however, I am wondering, do you have, in /etc/foreman-installer/scenarios.d/foreman-proxy-content-answers.yaml:
foreman_proxy_content:
enable_puppet: false
As in, do you have puppet content on your content proxy turned off through that setting?
I don’t have any puppet content. I also don’t run any puppet (except the agent) on the content proxy. So basically, everything puppet related including the setting above is disabled on my content proxy. I want my content proxy to serve content/rpms, only.
Seems our code makes some assumptions in that area unfortunately that breaks the pub directory deploying. For now, enabling puppet content is the work around. I will work on a fix for this for that case.