[Kea-users] Sockets not creating when starting kea-ctrl-agent
Jonathan Elliott
jonathan at only1klaus.com
Thu Jul 25 00:29:48 UTC 2024
All,
I’m having some issues with kea-ctrl-agent not creating the sockets required for communicating with the DHCP servers when it is started up.
My setup is as follows:
Ubuntu 23.10 (amd64)
kea-ctrl-agent v2.2.1. installed using apt
Current kea-ctrl-agent configuration :
{
"Control-agent": {
"http-host": "192.168.20.254",
"http-port": 8000,
"authentication": {
"type": "basic",
"realm": "kea-dhcp-server",
"directory": "/etc/kea",
"clients": [
{
"user": "kea-api",
"password-file": "kea-api-password"
}
]
},
"control-sockets": {
"dhcp4": {
"socket-type": "unix",
"socket-name": "/run/kea/kea4-ctrl-socket"
},
"dhcp6": {
"socket-type": "unix",
"socket-name": "/run/kea/kea6-ctrl-socket"
}
},
"hooks-libraries": [
],
"loggers": [
{
"name": "kea-ctrl-agent",
"output_options": [
{
"output": "/var/log/kea/kea-ctrl-agent.log",
"pattern": "%-5p %m\n"
}
],
"severity": "DEBUG",
"debuglevel": 99
}
]
}
}
kea-ctrl-agent startup log:
DEBUG DCTL_CONFIG_START parsing new configuration: { "authentication": { "clients": [ { "password-file": "kea-api-password", "user": "kea-api" } ], "directory": "/etc/kea", "realm": "kea-dhcp-server", "type": "basic" }, "control-sockets": { "dhcp4": { "socket-name": "/run/kea/kea4-ctrl-socket", "socket-type": "unix" }, "dhcp6": { "socket-name": "/run/kea/kea6-ctrl-socket", "socket-type": "unix" } }, "hooks-libraries": [ ], "http-host": "192.168.20.254", "http-port": 8000, "loggers": [ { "debuglevel": 99, "name": "kea-ctrl-agent", "output_options": [ { "output": "/var/log/kea/kea-ctrl-agent.log", "pattern": "%-5p %m\n" } ], "severity": "DEBUG" } ] }
INFO CTRL_AGENT_HTTP_SERVICE_STARTED HTTP service bound to address 192.168.20.254:8000
INFO DCTL_CONFIG_COMPLETE server has completed configuration: listening on 192.168.20.254, port 8000, control sockets: dhcp4 dhcp6, requires basic HTTP authentication, 0 lib(s):
DEBUG DCTL_RUN_PROCESS Control-agent starting application event loop
INFO CTRL_AGENT_STARTED Kea Control Agent version 2.2.1 started
DEBUG COMMAND_REGISTERED Command list-commands registered
DEBUG COMMAND_REGISTERED Command build-report registered
DEBUG COMMAND_REGISTERED Command config-get registered
DEBUG COMMAND_REGISTERED Command config-reload registered
DEBUG COMMAND_REGISTERED Command config-set registered
DEBUG COMMAND_REGISTERED Command config-test registered
DEBUG COMMAND_REGISTERED Command config-write registered
DEBUG COMMAND_REGISTERED Command shutdown registered
DEBUG COMMAND_REGISTERED Command status-get registered
DEBUG COMMAND_REGISTERED Command version-get registered
However, no sockets re being created in /run/kea. On the basis of the information provided, can anyone see any configuration issue that might be causing me trouble?
Many thanks,
Jonathan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20240725/66458ed5/attachment-0001.htm>
More information about the Kea-users
mailing list