I noticed that hosts we’re no longer able to boot the FDI, stating HTTP 404 errors when retrieving http://foreman.example.com:8000/unattended/iPXE?bootstrap=1
According to the docs, this should only be the case when --foreman-proxy-http == false, which it isn’t.
First thing I did was update my DHCPd config to remove the port from the URL (as that does work). Then the next issue presents itself, the kickstart URL also points to port 8000 and replies with a 404. But I can’t find where the ks variable is set and update it.
Did something change here in Foreman 3? Or did something break? Expected outcome:
System to boot discovery/installer
Foreman and Proxy versions:
Foreman 3.0.0
Katello 4.2.0.1 Distribution and version:
Rocky 8.4
Hi
I remembered having a similar issue(don’t know it it is the exact same) but per the doc I adjusted the templates to reflect discovery instead of the default local they are set to Check your provisioning template and see if that makes a diff.
curl http://$(hostname -f):8000/unattended/iPXE?bootstrap=1
Requested url was not found
I had to add --foreman-proxy-templates-listen-on both because by default templates endpoint does not listen on HTTP (8000) port, only HTTPS (8443 or 9090).
Thanks for the suggestion! It works like a charm! But I have to ask, my Ansible code added --foreman-proxy-httpboot=true to the foreman-installer flags when setting up deployment.
Did that option change? Or is it only applicable to Smart Proxies?