Whenever we chage the bootloader from Grub2 UEFI to PXELinux BIOS, or vice versa, the foreman smart proxy start creating duplicate dhcp entries for this host. how to repoduce: 1. create host with PXELinux BIOS bootloader 2. modify host to to use Grub2 UEFI 2. press submit (you will get a modal saying there already is a dhcp enty, and if you like to overwrite it) 3. acknowledge the modal and press the "overwrite" botton 4. now the "submit" button of the host is named "overwrite" -> press it 5. you will get a error message, complaining about a HTTP 409 from the dhcp smart proxy if you check the leases file of the dhcp server, you will now have at least 2 entries for the same host. i have already see up to 33 entries for the same host within a file. it also seems that the deleting a host will not always remove a entry from the dhcp leases file, but i have to admit that i am not 100% sure if the host will directly disappear from the leases file after it has been deleted. to "fix" the issue, you have to: - delete the host - stop dhcpd - remove broken entries from leases file - start dhcpd - recreate the host
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. > > > > For information on the advisory, and where to find the updated files, follow the link below. > > > > If the solution does not work for you, open a new bug report. > > > > https://access.redhat.com/errata/RHSA-2018:0336