/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman.example.com]: Could not evaluate: Proxy foreman.example.com cannot be retrieved: unknown error (response 502)
[root@sat ~]# cat /var/log/foreman-proxy/proxy.log
2020-10-11T23:24:41 [E] Disabling all modules in the group [‘dhcp_isc’, ‘dhcp’] due to a failure in one of them: File at ‘/etc/dhcp/dhcpd.conf’ defined in ‘config’ parameter doesn’t exist or is unreadable
&
2020-10-12T08:50:02 [I] WEBrick::HTTPServer#start: pid=29788 port=9090
2020-10-12T08:50:02 [I] Smart proxy has launched on 1 socket(s), waiting for requests
2020-10-12T08:52:43 [W] Failed to initialize puppet class cache, deferring initialization. Is puppetserver running?
[root@sat ~]#
This is Bug #30962: dhcpd.conf file-ACLs are reset - Installer - Foreman which will be fixed in 2.1.4, as a workaround you need to ensure that the foreman-proxy user has read access to /etc/dhcp/ and /etc/dhcp/dhcpd.conf and restart the smart-proxy service.