Problem:
unattended/provision URL not working after upgrade from 1.23 to 1.24
My pxe files are rendered like this:
root@foreman-2-proxy-1:~# cat /srv/tftp/pxelinux.cfg/01-00-30-48-8a-5f-4c
DEFAULT linux
LABEL linux
KERNEL boot/debian-mirror-dgxKgBg5J79O-linux
APPEND initrd=boot/debian-mirror-dgxKgBg5J79O-initrd.gz interface=auto url=http://foreman-2-proxy-1.bla2.local:8000/unattended/provision ramdisk_size=10800 root=/dev/rd/0 rw auto hostname=sb0030488a5f4c.bla2.local auto=true domain=bla2.local locale=en_US
IPAPPEND 2
and hots cannot retrieve preseed or kickstart files.
If i manually replace that url with:
http://foreman-2-proxy-1.bla2.local:8000/unattended/provision?token=365e66fa-af34-46e7-8f20-cc4594100a77
everything is OK, installation finishes as expected (triede with debian, centos, xenserver and win2016)
if i fry spoof link directly from proxy:
root@foreman-2-proxy-1:~# curl http://foreman-2-proxy-1.bla2.local:8000/unattended/provision?spoof=10.137.111.94
Failed to proxy /provision for {"spoof"=>"10.137.111.94", "splat"=>[], "captures"=>["provision"], "kind"=>"provision"}: Error retrieving unattended/provision for {"spoof"=>"10.137.111.94", :url=>"http://foreman-2-proxy-1.bla2.local:8000"} from foreman-2-master.bla2.local: Net::HTTPFound
Please help me find a problem. It was all working like charm on 1.23
Additional details: I have proxy on separate machine. It seems to me that problem is in smart-proxy “templates feature” (which is enabled and active)