DHCP4_CLASSES_ASSIGNED is logged two times
DHCP4_CLASSES_ASSIGNED is logged two times when a packet arrives.
Line DHCP4_CLASSES_ASSIGNED [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x10e3e0: client packet has been assigned to the following classes: ALL, UNKNOWN
is logged two times in example (separated by other log info)
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.dhcpsrv/562461.140041382516416] DHCPSRV_SUBNET4_SELECT_NO_RAI_OPTIONS No RAI options found to use for subnet selection.
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.dhcpsrv/562461.140041382516416] DHCPSRV_SUBNET4_SELECT_NO_RELAY_ADDRESS Relay address (giaddr) in client packet is empty.
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.dhcpsrv/562461.140041382516416] DHCPSRV_CFGMGR_SUBNET4_IFACE selected subnet 192.168.50.0/24 for packet received over interface enp0s9
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.packets/562461.140041382516416] DHCP4_SUBNET_SELECTED [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x10e3e0: the subnet with ID 1 was selected for client assignments
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.packets/562461.140041382516416] DHCP4_SUBNET_DATA [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x10e3e0: the selected subnet details: 192.168.50.0/24
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.hosts/562461.140041382516416] HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER get one host with IPv4 reservation for subnet id 1, identified by hwaddr=FF010203FF04
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.hosts/562461.140041382516416] HOSTS_CFG_GET_ALL_IDENTIFIER get all hosts with reservations using identifier: hwaddr=FF010203FF04
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.hosts/562461.140041382516416] HOSTS_CFG_GET_ALL_IDENTIFIER_COUNT using identifier hwaddr=FF010203FF04, found 0 host(s)
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.hosts/562461.140041382516416] HOSTS_CFG_GET_ONE_SUBNET_ID_IDENTIFIER_NULL host not found using subnet id 1 and identifier hwaddr=FF010203FF04
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.dhcp4/562461.140041382516416] DHCP4_CLASS_ASSIGNED [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x10e3e0: client packet has been assigned to the following class: UNKNOWN
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.dhcp4/562461.140041382516416] DHCP4_CLASSES_ASSIGNED [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x10e3e0: client packet has been assigned to the following classes: ALL, UNKNOWN
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.ddns/562461.140041382516416] DHCP4_CLIENT_HOSTNAME_PROCESS [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x10e3e0: processing client's Hostname option
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.dhcpsrv/562461.140041382516416] DHCPSRV_MEMFILE_GET_HWADDR obtaining IPv4 leases for hardware address hwtype=1 ff:01:02:03:ff:04
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.alloc-engine/562461.140041382516416] ALLOC_ENGINE_V4_OFFER_NEW_LEASE allocation engine will try to offer new lease to the client [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x10e3e0
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.hosts/562461.140041382516416] HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4 get one host with reservation for subnet id 1 and IPv4 address 192.168.50.1
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.hosts/562461.140041382516416] HOSTS_CFG_GET_ALL_ADDRESS4 get all hosts with reservations for IPv4 address 192.168.50.1
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.hosts/562461.140041382516416] HOSTS_CFG_GET_ALL_ADDRESS4_COUNT using address 192.168.50.1, found 0 host(s)
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.hosts/562461.140041382516416] HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4_NULL host not found using subnet id 1 and address 192.168.50.1
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.dhcpsrv/562461.140041382516416] DHCPSRV_MEMFILE_GET_ADDR4 obtaining IPv4 lease for address 192.168.50.1
2023-08-10 12:32:50.091 INFO [kea-dhcp4.leases/562461.140041382516416] DHCP4_LEASE_ADVERT [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x10e3e0: lease 192.168.50.1 will be advertised
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.dhcp4/562461.140041382516416] DHCP4_CLASSES_ASSIGNED [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x10e3e0: client packet has been assigned to the following classes: ALL, UNKNOWN
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.options/562461.140041382516416] DHCP4_PACKET_PACK [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x10e3e0: preparing on-wire format of the packet to be sent
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.packets/562461.140041382516416] DHCP4_PACKET_SEND [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x10e3e0: trying to send packet DHCPOFFER (type 2) from 192.168.50.252:67 to 192.168.50.1:68 on interface enp0s9
2023-08-10 12:32:50.091 DEBUG [kea-dhcp4.packets/562461.140041382516416] DHCP4_RESPONSE_DATA [hwtype=1 ff:01:02:03:ff:04], cid=[no info], tid=0x10e3e0: responding with packet DHCPOFFER (type 2), packet details: local_address=192.168.50.252:67, remote_address=192.168.50.1:68,
Probably related to !2087 (merged) Systems test failing:
tests/dhcp/v4/classes/test_v4_template_class.py::test_v4_spawn_class_2
tests/dhcp/v6/classes/test_v6_template_class.py::test_v6_spawn_class