FOG 1.6.0-beta.2644 DHCP
-
Hello,
I have installed FOG 1.6.0-beta.2644 with DHCP.
I end withSetting up and starting DHCP Server (Kea)...................Failed Kea base configuration failed validation (kea-dhcp4 -t); see /root/fogproject/bin/error_logs/fog_error_1.6.0-beta.2644.logError logs :
'/etc/kea/kea-dhcp4.conf' <-> '/etc/kea/kea-dhcp4.conf.1783500988' renommé Syntax check failed with: Unable to open file /etc/kea/kea-dhcp4.confThis break TFTP directory creation even with the -X option.
Looks to come from Kea.
root@FOGSERVERDEV:~/fogproject/bin# kea-dhcp4 -t /etc/kea/kea-dhcp4.conf Syntax check failed with: Unable to open file /etc/kea/kea-dhcp4.confTemporary fix is to run a second time installfog.sh and put a # before “configureDHCP”.
-
@jmeyer I’m trying ot take a look, but kea is a new thing since isc-dhcp has been deprecated and is nearing its potential EOL.
So we moved toward KEA as the dhcp server, and while it has been added, I can attest I don’t have enough methods of testing.
I suspect the issue is related to different OS baselines:
(e.g. Fedora/RedHat stores config in /etc/kea, but Debian/ubuntu is deciding to store in /etc/kea-dhcp-server - or something I don’t know, just trying to show the issue)
I’m working on trying to validate in the background.
-
@jmeyer Can you please get me some more information?
-
Is /etc/kea a real, populated directory? Right owner/perms?
ls -ld /etc/kea; ls -la /etc/kea -
What’s the OS, and is a MAC layer confining kea-dhcp4?
Debian/Ubuntu:
cat /etc/os-release | head -2; aa-status 2>/dev/null | grep -i kea; dmesg 2>/dev/null | grep -i 'apparmor.*kea' | tailRHEL/Fedora:
cat /etc/os-release | head -2; getenforce; ausearch -m avc -ts recent 2>/dev/null | grep -i kea | tailPlus the tail of the install error log around the DHCP step (/opt/fog/log/error_*.log or wherever the run pointed $error_log).
-