Problem:
I’m trying to provision a server using a smart proxy using the KEXEC template. I see this message in the foreman server log.
2019-09-03T13:40:32 [D|app|8055a] Connecting without proxy, not using SSL client cert
2019-09-03T13:40:32 [D|app|8055a] Image API PUT https://…
Expected outcome:
I expected the foreman smart proxy to communicate directly to the server to be provisioned and not the foreman server. Is this the proper behavior or is it configurable.
Foreman and Proxy versions:
Alll 1.20.3
Proxy
Templates, Pulp Node, Puppet, Logs, and Discovery
1.20.3
Foreman and Proxy plugin versions:
Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]
(for logs, surround with three back-ticks to get proper formatting, e.g.)
Foreman logs
```2019-09-03T13:40:32 [D|app|8055a] Connecting without proxy, not using SSL client cert
2019-09-03T13:40:32 [D|app|8055a] Image API PUT https://xxx.xxx.xxx.xx:8443/power (path=/kexec, payload={"kernel":"https://xxx.xxx.xxx.xx/rhel-7-server-dvd-rpms/images/pxeboot/vmlinuz","initram":"https://xxx.xxx.xxx.xxx/rhel-7-server-dvd-rpms/images/pxeboot/initrd.img","append":"ks=http://<smart proxy hostname>:8000/unattended/provision?token=4b7d8f71-4ee6-4d03-a55e-073c38d86d66\u0026static=yes inst.ks.sendmac ip=10.245.13.200::10.245.0.1:255.255.240.0:::none nameserver=xxxxxxx ksdevice=bootif BOOTIF=00-54-80-28-4d-29-6a nomodeset nomodeset net.ifnames=0 biosdevname=0","extra":[]})```
Smart proxy logs
2019-09-03T13:40:33 295ba9a3 [I] Started GET /templateServer
2019-09-03T13:40:33 295ba9a3 [I] Finished GET /templateServer with 200 (0.38 ms)
2019-09-03T13:41:07 5add6167 [I] Started GET /provision token=4b7d8f71-4ee6-4d03-a55e-073c38d86d66&static=yes
2019-09-03T13:41:07 5add6167 [I] Finished GET /provision with 200 (361.08 ms)