<div dir="ltr"><div>Hi Scott,</div><div><br></div><div>Ahh... I didn't realize you were using -T flag. This is fixed in 2.7.3: <a href="https://gitlab.isc.org/isc-projects/kea/-/issues/3542">https://gitlab.isc.org/isc-projects/kea/-/issues/3542</a></div><div><br></div><div>Thank you,</div><div>Darren Ankney</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, May 5, 2025 at 2:55 PM Scott Rakow <<a href="mailto:srsqrd@gmail.com">srsqrd@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hey Darren,</div><div> Thanks for your help.</div><div><br></div><div>I do specifically have multi-threading turned on, so that was part of what was confusing me.</div><div><br></div><div>I added in the multi-threading stanzas to the HA hook section and made sure the ports were different than 8000.</div><div><br></div><div>In running the "kea-dhcp4 -T /etc/kea/kea-dhcp4" I am still getting the</div><div><br></div><div>Error encountered: Error initializing hooks: CmdHttpListener cannot be started when multi-threading is disabled.</div><div><br></div><div>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.</div><div><br></div><div>AND synced with the primary, that is running 2.4.</div><div><br></div><div>The files in the /var/lib/kea directory are showing synced files.</div><div><br></div><div>I don't trust most of the results that come from AI, so I always double/triple check results that are returned.</div><div><br></div><div>I would like to move to the 2.7, however my management would prefer to stay on verified versions.</div><div><br></div><div>Scott</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 4, 2025 at 10:05 AM Darren Ankney <<a href="mailto:darren.ankney@gmail.com" target="_blank">darren.ankney@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, May 2, 2025 at 5:30 PM Scott Rakow <<a href="mailto:srsqrd@gmail.com" target="_blank">srsqrd@gmail.com</a>> wrote:<br>
><br>
> Andrei,<br>
> Thanks for the answer. You were correct. I thought I grabbed the el9 files, but they were the el8.<br>
><br>
> 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.<br>
<br>
This likely refers to the HTTP Listener in the HA hook? In 2.6.2,<br>
multithreading should be default on (see here:<br>
<a href="https://kea.readthedocs.io/en/kea-2.6.2/arm/dhcp4-srv.html#multi-threading-settings" rel="noreferrer" target="_blank">https://kea.readthedocs.io/en/kea-2.6.2/arm/dhcp4-srv.html#multi-threading-settings</a>)<br>
and the HA Hook should default to multi-threading with dedicated<br>
listener (see here:<br>
<a href="https://kea.readthedocs.io/en/kea-2.6.2/arm/hooks.html#multi-threaded-configuration-ha-mt" rel="noreferrer" target="_blank">https://kea.readthedocs.io/en/kea-2.6.2/arm/hooks.html#multi-threaded-configuration-ha-mt</a>).<br>
Perhaps you have disabled multi-threading in your configuration? In<br>
the past (I think earlier than 2.4 though), all of this was default<br>
disabled.<br>
<br>
><br>
> A Google search did come up with this snippet:<br>
><br>
> {<br>
> "dhcp4": {<br>
> "cmdhttplistner": {<br>
> "enabled": true,<br>
> "listen-interface": "eth0",<br>
> "listen-port": 8080,<br>
> "listen-address": "0.0.0.0",<br>
> "auth-key": "your_auth_key"<br>
> }<br>
> }<br>
> }<br>
><br>
> But I can't find any other reference to it.<br>
<br>
This is likely an AI hallucination.<br>
<br>
><br>
> Is there a way to make sure that multithreading is enabled?<br>
><br>
<br>
See above.<br>
<br>
> 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.<br>
<br>
You will be able to setup remote API listening directly in the various<br>
daemons in 2.7+ The separate daemon is removed, but the functionality<br>
survives. You are encouraged to setup a test machine of some sort and<br>
start experimenting with the latest 2.7 dev branch. 3.0 will be a big<br>
change, and it is never too early to start testing :)<br>
<br>
<br>
Thank you,<br>
Darren Ankney<br>
-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</blockquote></div>
-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</blockquote></div>