Problem:
When I submit a new host creation, it showed Unable to save Create DHCP settings for task filed with the following error: ERF12-6899, Unable to set DHCP entry(Timed out reading data from server) for proxy foreman.test:8443/dhcp
And the error messages in forman-proxy/proxy.log were No DHCP records for IP 192.168.1.0/new host’s ip and finished GET /dhcp/192.168.1.0/mac/new host’s mac with 404
Samrt Proxy show ok about DHCP which associated with 192.168.1.0 and TFTP
I followed wiki’s tip about ERF12-6899 ,but this problem still happened
all my operations assocaited with DHCP that delete and create will fail,when add a new host to create .cfg if showed next-server is not IPv4 try to resolve it and when delete an existing host it readtimeout
I think 'Next-server is not IPv4, tring to reslove “foreman.test” ’ which is my computer’s hostname is a key problem, but I set --foreman-proxy-dns=true,how can i deal with it
i resolved it by restart foreman-proxy temporarily…
And I found another problem that my host created by foreman web can’t read kernel when install ubuntu
i found foreman use @kernel to conrtorl the kernel used when installed os in the template,but there was a random string between os version and kernal name, how can i remove the random string ,because the default vmlinuz is unavild