2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-10-02 08:51:44 +00:00
Files
xcat-core/xCAT-server
Daniel Hilst 0994650dac fix(xcat-core): makedhcp -n fails on a new Kea management node
makedhcp -n fails on a new management node that uses the Kea backend:

    Error: Unable to find DDNS key material for Kea D2. Run makedns with
    dnshandler=ddns first.

xcatconfig writes site.dnshandler=ddns on every new installation, so
kea_ddns_enabled reports DDNS on, and kea_build_ddns_intent then requires
/etc/xcat/ddns.key. Only makedns -n writes that file. The ISC backend reads no
key, so an ISC management node runs makedhcp -n without one. The Kea backend
plan states that basic DHCP and PXE support must not depend on DDNS.

kea_build_ddns_intent now reports a deferral instead of an error when it finds
no key material. kea_apply_ddns_intent attaches the D2 connection only when a
key exists, and returns the deferral for makedhcp to print as a warning. A
management node with key material gets the same configuration as before.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-09-29 20:25:04 -03:00
..
2026-04-23 02:01:33 -03:00
2016-07-21 13:27:40 -04:00