[qe-core] Testing of PED-2828: ISC Kea DHCP server
Since ISC DCHP is now EOL since Dec 2022, there's a new DHCP server Stack, which is already in ALP, but needs to be tested.
It is a containerized solution, and the details are pretty straight forward but we need to understand how to test it and how to set up multi-machine tests for this case.
#4 Updated by dvenkatachala 3 months ago
- Assignee set to dvenkatachala
#5 Updated by szarate 3 months ago
- Subject changed from [qe-core] Testing of PED-2452: ISC Kea DHCP server to [qe-core] Testing of PED-2828: ISC Kea DHCP server
#8 Updated by dvenkatachala 3 months ago
I manually tested Kea dhcp4 server using the following steps,
- Modified default configuration by editing /etc/kea/kea-dhcp4.conf
Started the dhcp container for dhcp4,
podman container runlabel run registry.opensuse.org/suse/alp/workloads/tumbleweed_containerfiles/suse/alp/workloads/kea:latestfor dhcp4
Tested the dhcp by connecting 2 clients.
DHCP server assigns an ip address to one client from a pool of available addresses and second client gets ip address based on its mac.
Logs from DHCP server:
2023-03-09 15:14:55.394 INFO [kea-dhcp4.dhcp4/1.140596574292096] DHCP4_STARTED Kea DHCPv4 server version 2.2.0 started 2023-03-09 15:14:58.947 INFO [kea-dhcp4.leases/1.140596574292096] DHCP4_INIT_REBOOT [hwtype=1 52:54:00:10:17:41], cid=[01:52:54:00:10:17:41], tid=0xdc2bdda3: client is in INIT-REBOOT state and requests address 192.0.2.101 2023-03-09 15:14:58.983 INFO [kea-dhcp4.leases/1.140596574292096] DHCP4_INIT_REBOOT [hwtype=1 52:54:00:12:ce:be], cid=[01:52:54:00:12:ce:be], tid=0x7734509e: client is in INIT-REBOOT state and requests address 192.0.2.102 2023-03-09 15:15:00.947 INFO [kea-dhcp4.leases/1.140596574292096] DHCP4_LEASE_ADVERT [hwtype=1 52:54:00:10:17:41], cid=[01:52:54:00:10:17:41], tid=0xd4b987cd: lease 192.0.2.201 will be advertised 2023-03-09 15:15:00.948 INFO [kea-dhcp4.leases/1.140596574292096] DHCP4_LEASE_ALLOC [hwtype=1 52:54:00:10:17:41], cid=[01:52:54:00:10:17:41], tid=0xd4b987cd: lease 192.0.2.201 has been allocated for 3600 seconds 2023-03-09 15:15:00.992 INFO [kea-dhcp4.leases/1.140596574292096] DHCP4_LEASE_ADVERT [hwtype=1 52:54:00:12:ce:be], cid=[01:52:54:00:12:ce:be], tid=0xcd3b42e0: lease 192.0.2.102 will be advertised
#9 Updated by szarate 3 months ago
- Related to coordination #125846: [epic] March Prototype testing added
#10 Updated by szarate 3 months ago
- Related to action #117616: [qe-core] How to start the firewalld container added
#11 Updated by dvenkatachala 2 months ago
PR created: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/16736.
The next step is to start automating DHCP6 tests in multi-machine. Also, I manually tested the Kea DHCPv6 server, and it is working as expected.
#13 Updated by dvenkatachala about 2 months ago
PR for DHCP6 containter workload : https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/16790
#14 Updated by dvenkatachala about 2 months ago
Tests Kea DHCP4 and DHCP6 worker containers scheduled in the alp-micro job group,they are working fine.
#15 Updated by dvenkatachala about 1 month ago
- Status changed from In Progress to Resolved
Currently,tests are scheduled in ALP Micro job group.
After the discussion with team-members, workload container will be tested in ALP Bedrock and I will move this tests from ALP Micro to ALP Bedrock job group.