[Kea-users] Kea-DHCP upgrade 2.4 to 2.6 issues
Scott Rakow
srsqrd at gmail.com
Mon May 5 18:55:09 UTC 2025
Hey Darren,
Thanks for your help.
I do specifically have multi-threading turned on, so that was part of what
was confusing me.
I added in the multi-threading stanzas to the HA hook section and made sure
the ports were different than 8000.
In running the "kea-dhcp4 -T /etc/kea/kea-dhcp4" I am still getting the
Error encountered: Error initializing hooks: CmdHttpListener cannot be
started when multi-threading is disabled.
However when I ran the "systemctl start kea-dhcp4", then a status, the
service started this time. I don't know if this is a "feature" or not.
AND synced with the primary, that is running 2.4.
The files in the /var/lib/kea directory are showing synced files.
I don't trust most of the results that come from AI, so I always
double/triple check results that are returned.
I would like to move to the 2.7, however my management would prefer to stay
on verified versions.
Scott
On Sun, May 4, 2025 at 10:05 AM Darren Ankney <darren.ankney at gmail.com>
wrote:
> On Fri, May 2, 2025 at 5:30 PM Scott Rakow <srsqrd at gmail.com> wrote:
> >
> > Andrei,
> > Thanks for the answer. You were correct. I thought I grabbed the el9
> files, but they were the el8.
> >
> > I am now getting an error that the CmdHttpListner is not starting
> because multithreading is disabled. In searching I can not find any
> reference in the ISC documentation about the cmdhttplistener or how to
> configure it.
>
> This likely refers to the HTTP Listener in the HA hook? In 2.6.2,
> multithreading should be default on (see here:
>
> https://kea.readthedocs.io/en/kea-2.6.2/arm/dhcp4-srv.html#multi-threading-settings
> )
> and the HA Hook should default to multi-threading with dedicated
> listener (see here:
>
> https://kea.readthedocs.io/en/kea-2.6.2/arm/hooks.html#multi-threaded-configuration-ha-mt
> ).
> Perhaps you have disabled multi-threading in your configuration? In
> the past (I think earlier than 2.4 though), all of this was default
> disabled.
>
> >
> > A Google search did come up with this snippet:
> >
> > {
> > "dhcp4": {
> > "cmdhttplistner": {
> > "enabled": true,
> > "listen-interface": "eth0",
> > "listen-port": 8080,
> > "listen-address": "0.0.0.0",
> > "auth-key": "your_auth_key"
> > }
> > }
> > }
> >
> > But I can't find any other reference to it.
>
> This is likely an AI hallucination.
>
> >
> > Is there a way to make sure that multithreading is enabled?
> >
>
> See above.
>
> > I see that the kea-ctrl-agent will be merged with the kea-dhcpx service
> sometime after 2.6. Will all the current curl commands be available once
> that is in place? The list of commands that I saw left out the
> ha-maintenance-cancel and start commands.
>
> You will be able to setup remote API listening directly in the various
> daemons in 2.7+ The separate daemon is removed, but the functionality
> survives. You are encouraged to setup a test machine of some sort and
> start experimenting with the latest 2.7 dev branch. 3.0 will be a big
> change, and it is never too early to start testing :)
>
>
> Thank you,
> Darren Ankney
> --
> ISC funds the development of this software with paid support
> subscriptions. Contact us at https://www.isc.org/contact/ for more
> information.
>
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
>
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20250505/4681dcf9/attachment-0001.htm>
More information about the Kea-users
mailing list