db upgrade scripts to version 23 are missing from Makefile.am
Forge DB upgrade tests reported failure when upgrading to newest db schema which is 23, it's only upgrading to version 22:
16:40:49 |forge-client-v4 14:40:46.071002| [172.28.0.31] sudo: sudo /usr/local/sbin/kea-admin db-upgrade mysql -u kea_tmp_user -p keapass -n kea_tmp_db
16:40:49 |forge-client-v4 14:40:46.083531| [172.28.0.31] out: Schema version reported before upgrade: 8.2
16:40:49 |forge-client-v4 14:40:46.084044| [172.28.0.31] out: Verifying upgrade permissions for kea_tmp_user
16:40:49 |forge-client-v4 14:40:46.089692| [172.28.0.31] out: MySQL Version is: 10.6.12-MariaDB
16:40:49 |forge-client-v4 14:40:46.168241| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_001.0_to_002.0.sh file...
16:40:49 |forge-client-v4 14:40:46.174914| [172.28.0.31] out: This script upgrades 1.0 to 2.0. Reported version is 8.2. Skipping upgrade.
16:40:49 |forge-client-v4 14:40:46.175006| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_002.0_to_003.0.sh file...
16:40:49 |forge-client-v4 14:40:46.181592| [172.28.0.31] out: This script upgrades 2.0 to 3.0. Reported version is 8.2. Skipping upgrade.
16:40:49 |forge-client-v4 14:40:46.181724| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_003.0_to_004.0.sh file...
16:40:49 |forge-client-v4 14:40:46.188302| [172.28.0.31] out: This script upgrades 3.0 to 4.0. Reported version is 8.2. Skipping upgrade.
16:40:49 |forge-client-v4 14:40:46.188440| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_004.0_to_004.1.sh file...
16:40:49 |forge-client-v4 14:40:46.194999| [172.28.0.31] out: This script upgrades 4.0 to 4.1. Reported version is 8.2. Skipping upgrade.
16:40:49 |forge-client-v4 14:40:46.195027| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_004.1_to_005.0.sh file...
16:40:49 |forge-client-v4 14:40:46.201542| [172.28.0.31] out: This script upgrades 4.1 to 5.0. Reported version is 8.2. Skipping upgrade.
16:40:49 |forge-client-v4 14:40:46.201739| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_005.0_to_005.1.sh file...
16:40:49 |forge-client-v4 14:40:46.208342| [172.28.0.31] out: This script upgrades 5.0 to 5.1. Reported version is 8.2. Skipping upgrade.
16:40:49 |forge-client-v4 14:40:46.208501| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_005.1_to_005.2.sh file...
16:40:49 |forge-client-v4 14:40:46.215055| [172.28.0.31] out: This script upgrades 5.1 to 5.2. Reported version is 8.2. Skipping upgrade.
16:40:49 |forge-client-v4 14:40:46.215194| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_005.2_to_006.0.sh file...
16:40:49 |forge-client-v4 14:40:46.221717| [172.28.0.31] out: This script upgrades 5.2 to 6.0. Reported version is 8.2. Skipping upgrade.
16:40:49 |forge-client-v4 14:40:46.221891| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_006.0_to_007.0.sh file...
16:40:49 |forge-client-v4 14:40:46.228542| [172.28.0.31] out: This script upgrades 6.0 to 7.0. Reported version is 8.2. Skipping upgrade.
16:40:49 |forge-client-v4 14:40:46.228717| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_007.0_to_008.0.sh file...
16:40:49 |forge-client-v4 14:40:46.235212| [172.28.0.31] out: This script upgrades 7.0 to 8.0. Reported version is 8.2. Skipping upgrade.
16:40:49 |forge-client-v4 14:40:46.235399| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_008.0_to_008.1.sh file...
16:40:49 |forge-client-v4 14:40:46.241916| [172.28.0.31] out: This script upgrades 8.0 to 8.1. Reported version is 8.2. Skipping upgrade.
16:40:49 |forge-client-v4 14:40:46.241944| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_008.1_to_008.2.sh file...
16:40:49 |forge-client-v4 14:40:46.248500| [172.28.0.31] out: This script upgrades 8.1 to 8.2. Reported version is 8.2. Skipping upgrade.
16:40:49 |forge-client-v4 14:40:46.248675| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_008.2_to_009.0.sh file...
16:40:49 |forge-client-v4 14:40:46.340243| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_009.0_to_009.1.sh file...
16:40:49 |forge-client-v4 14:40:46.421005| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_009.1_to_009.2.sh file...
16:40:49 |forge-client-v4 14:40:46.751176| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_009.2_to_009.3.sh file...
16:40:49 |forge-client-v4 14:40:46.877230| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_009.3_to_009.4.sh file...
16:40:49 |forge-client-v4 14:40:47.100845| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_009.4_to_009.5.sh file...
16:40:49 |forge-client-v4 14:40:47.279688| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_009.5_to_009.6.sh file...
16:40:49 |forge-client-v4 14:40:47.399735| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_009.6_to_010.0.sh file...
16:40:49 |forge-client-v4 14:40:47.973456| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_010_to_011.sh file...
16:40:49 |forge-client-v4 14:40:48.194475| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_011_to_012.sh file...
16:40:49 |forge-client-v4 14:40:48.301113| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_012_to_013.sh file...
16:40:49 |forge-client-v4 14:40:48.366255| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_013_to_014.sh file...
16:40:49 |forge-client-v4 14:40:48.907102| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_014_to_015.sh file...
16:40:59 |forge-client-v4 14:40:49.010887| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_015_to_016.sh file...
16:40:59 |forge-client-v4 14:40:49.088323| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_016_to_017.sh file...
16:40:59 |forge-client-v4 14:40:49.207309| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_017_to_018.sh file...
16:40:59 |forge-client-v4 14:40:49.696116| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_018_to_019.sh file...
16:40:59 |forge-client-v4 14:40:50.106285| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_019_to_020.sh file...
16:40:59 |forge-client-v4 14:40:50.198928| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_020_to_021.sh file...
16:40:59 |forge-client-v4 14:40:50.233036| [172.28.0.31] out: Processing /usr/local/share/kea/scripts/mysql/upgrade_021_to_022.sh file...
16:40:59 |forge-client-v4 14:40:50.318457| [172.28.0.31] out: Schema version reported after upgrade: 22.0
16:40:59 |forge-client-v4 14:40:50.318805| [172.28.0.31] out:
16:40:59 |forge-client-v4 14:40:50.326709| ---------------- DHCP started 172.28.0.31 ----------------
16:40:59 |forge-client-v4 14:40:50.362702|
16:40:59 |forge-client-v4 14:40:50.422779| [172.28.0.31] sudo: nohup /usr/local/sbin/keactrl start < /dev/null > /tmp/keactrl.log 2>&1; SECONDS=0; while (( SECONDS < 4 )); do tail /usr/local/var/kea/kea.log 2>/dev/null | grep 'server version .* started' 2>/dev/null; if [ $? -eq 0 ]; then break; fi done; sync; cat /tmp/keactrl.log
16:40:59 |forge-client-v4 14:40:54.012480| [172.28.0.31] out: INFO/keactrl: Starting /usr/local/sbin/kea-dhcp4 -c /usr/local/etc/kea/kea-dhcp4.conf
16:40:59 |forge-client-v4 14:40:54.012546| [172.28.0.31] out: INFO/keactrl: kea-ctrl-agent appears to be running, see: PID 1262022, PID file: /usr/local/var/run/kea/kea-ctrl-agent.kea-ctrl-agent.pid.
16:40:59 |forge-client-v4 14:40:54.012556| [172.28.0.31] out: 2024-07-02 14:40:50.458 ERROR [kea-dhcp4.dhcp4/1278857.140319506171008] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/usr/local/etc/kea/kea-dhcp4.conf': during update from config backend database: MySQL schema version mismatch: expected version: 23.0, found version: 22.0