]>
git.ipfire.org Git - thirdparty/kea.git/log
Andrei Pavel [Wed, 21 Aug 2024 12:30:17 +0000 (15:30 +0300)]
[#3513] add ChangeLog entry
Andrei Pavel [Wed, 21 Aug 2024 11:09:52 +0000 (14:09 +0300)]
[#3513] adapt unit tests to HA clock skew in status-get
Andrei Pavel [Wed, 21 Aug 2024 10:18:17 +0000 (13:18 +0300)]
[#3513] add HA clock skew to status-get
Vicky Risk [Wed, 14 Aug 2024 16:15:56 +0000 (16:15 +0000)]
Update release_checklist.md with changes resulting from move away from SF
Andrei Pavel [Thu, 22 Aug 2024 12:09:16 +0000 (15:09 +0300)]
[#1945] address review
- add DBGLVL_TRACE_MAX
- generate debug-messages.rst automatically on make -C doc/sphinx
Andrei Pavel [Thu, 22 Aug 2024 09:49:03 +0000 (12:49 +0300)]
[#1945] address review
- generate kea-messages.rst automatically on make -C doc/sphinx
- add disclaimer header that debug-messages.rst and kea-messages.rst are
generated
- minor changes to debug level variable names
- do not write section "Messages printed" in tools/check-messages.py if
there are no messages
Andrei Pavel [Mon, 19 Aug 2024 14:25:59 +0000 (17:25 +0300)]
[#1945] add ChangeLog entry
Andrei Pavel [Mon, 19 Aug 2024 16:06:41 +0000 (19:06 +0300)]
[#1945] default to determining list of files automatically in api2doc.py and mes2doc.py
Andrei Pavel [Mon, 19 Aug 2024 15:34:39 +0000 (18:34 +0300)]
[#1945] generate kea-messages.rst a priori
This allows us to document premium messages in the public ARM without
having to hand out a copy of the premium sources to readthedocs.
Andrei Pavel [Mon, 19 Aug 2024 14:36:54 +0000 (17:36 +0300)]
[#1945] fix debuglevel exception being shadowed by another exception
"stringValue() called on non-string Element" was being shown instead
of "Unsupported debuglevel value 100, expected 0-99".
Andrei Pavel [Mon, 19 Aug 2024 14:10:59 +0000 (17:10 +0300)]
[#1945] add missing definition for level 70: DBGLVL_TRACE_ALL
This way, all debug levels used are in src/lib/log/log_dbglevels.*
And no algebra is used in determining a log level as was the case in:
```
const int DBG_ALL = DBGLVL_TRACE_DETAIL + 20;
```
Andrei Pavel [Mon, 19 Aug 2024 13:53:45 +0000 (16:53 +0300)]
[#1945] add ARM section for debug messages indexed by log level
Andrei Pavel [Mon, 19 Aug 2024 13:27:08 +0000 (16:27 +0300)]
[#1945] add missing messages and premium messages to the ARM
Apart from premium, messages from these files were missing:
- perfmon_messages.mes
- pgsql_cb_messages.mes
- run_script_messages.mes
- fuzz_messages.mes
Andrei Pavel [Mon, 19 Aug 2024 13:25:40 +0000 (16:25 +0300)]
[#1945] minor fix in ARM: removed extraneous backquotes
Andrei Pavel [Mon, 19 Aug 2024 12:22:45 +0000 (15:22 +0300)]
[#1945] fix check-messages.py on looking at test files
Andrei Pavel [Mon, 19 Aug 2024 11:33:18 +0000 (14:33 +0300)]
[#1945] log EVAL_RESULT messages only at debug level
- Split the 15 occurrences of EVAL_RESULT into one message for each log call in code.
- Log all these messages only on debug level 50.
- Remove bad practice `catch (...)` and the message logged on that if-branch.
Andrei Pavel [Mon, 19 Aug 2024 15:09:25 +0000 (18:09 +0300)]
[#1945] take premium exhonerated duplicate messages into account
This makes it easier to run `./tools/check-messages.py` to correctly
assess the state of messages while developing Kea without having to
remove the premium directory.
Andrei Pavel [Mon, 19 Aug 2024 11:29:17 +0000 (14:29 +0300)]
[#1945] minor: add +x permission to reorder_message_file.py
Andrei Pavel [Mon, 19 Aug 2024 15:16:06 +0000 (18:16 +0300)]
[#3524] add stamp-h* to gitignore
Under some unknown conditions, you can get `stamp-h2`, and it probably
keeps incrementing.
Andrei Pavel [Wed, 14 Aug 2024 07:07:28 +0000 (10:07 +0300)]
[#3524] unrelated, but missed in #3522: add changelog.dox to tarball
Andrei Pavel [Tue, 13 Aug 2024 10:45:25 +0000 (13:45 +0300)]
[#3524] workaround for silent rules being ignored in automake 1.17
Also remove all the few other trailing `dnl`s just to be safe.
Francis Dupont [Thu, 22 Aug 2024 09:05:30 +0000 (11:05 +0200)]
[#3483] Added a ChangeLog entry
Francis Dupont [Wed, 21 Aug 2024 08:28:20 +0000 (10:28 +0200)]
[#3483] Address the comment
Francis Dupont [Tue, 23 Jul 2024 17:46:54 +0000 (19:46 +0200)]
[#3483] Updated RBAC doc
Francis Dupont [Tue, 23 Jul 2024 17:25:01 +0000 (19:25 +0200)]
[#3483] Renamed CA callouts
Francis Dupont [Wed, 21 Aug 2024 18:35:35 +0000 (20:35 +0200)]
[#1764] Address comments
Francis Dupont [Sun, 4 Aug 2024 14:29:59 +0000 (16:29 +0200)]
[#1764] More shared server
Francis Dupont [Sun, 4 Aug 2024 13:39:03 +0000 (15:39 +0200)]
[#1764] Shared server
Francis Dupont [Sun, 4 Aug 2024 12:02:16 +0000 (14:02 +0200)]
[#1764] Shared client
Francis Dupont [Sat, 3 Aug 2024 11:07:34 +0000 (13:07 +0200)]
[#1764] Shared http and tls
Francis Dupont [Fri, 2 Aug 2024 15:26:17 +0000 (17:26 +0200)]
[#1764] Shared common setting
Andrei Pavel [Thu, 22 Aug 2024 07:23:46 +0000 (10:23 +0300)]
[#3547] hammer.py: wait for start-stop-daemon/mysqld_safe to exit
Attempt to fix `start-stop-daemon: /usr/bin/mysqld_safe is already running`
Francis Dupont [Wed, 21 Aug 2024 15:03:15 +0000 (17:03 +0200)]
[#3502] Added a ChangeLog entry
Francis Dupont [Wed, 21 Aug 2024 13:27:40 +0000 (15:27 +0200)]
[#3502] Additional updates
Francis Dupont [Wed, 21 Aug 2024 13:12:28 +0000 (15:12 +0200)]
[#3502] Addressed comments
Francis Dupont [Thu, 8 Aug 2024 07:39:00 +0000 (09:39 +0200)]
[#3502] Updated misc UTs
Francis Dupont [Wed, 7 Aug 2024 19:49:42 +0000 (19:49 +0000)]
[#3502] Regen flex/bison
Francis Dupont [Wed, 7 Aug 2024 19:49:16 +0000 (21:49 +0200)]
[#3502] Checkpoint before final regen
Francis Dupont [Wed, 7 Aug 2024 19:33:44 +0000 (19:33 +0000)]
[#3502] Regen flex/bison
Francis Dupont [Wed, 7 Aug 2024 19:33:09 +0000 (21:33 +0200)]
[#3502] Checkpoint before regen
Francis Dupont [Wed, 7 Aug 2024 17:54:55 +0000 (17:54 +0000)]
[#3502] Regen flex/bison
Francis Dupont [Wed, 7 Aug 2024 17:54:07 +0000 (19:54 +0200)]
[#3502] Checkpoint: changed strict- by s
Francis Dupont [Wed, 7 Aug 2024 17:27:45 +0000 (19:27 +0200)]
[#3502] Checkpoint: add strict-* syntax
Francis Dupont [Wed, 7 Aug 2024 15:27:47 +0000 (17:27 +0200)]
[#3502] Checkpoint: syntax to do
Francis Dupont [Wed, 7 Aug 2024 13:38:27 +0000 (15:38 +0200)]
[#3502] Checkpoint: added branch
Francis Dupont [Wed, 7 Aug 2024 12:02:47 +0000 (14:02 +0200)]
[#3502] Checkpoint: added testEvaluate
Francis Dupont [Wed, 7 Aug 2024 10:37:30 +0000 (12:37 +0200)]
[#3502] Checkpoint: added label
Francis Dupont [Wed, 21 Aug 2024 09:17:31 +0000 (11:17 +0200)]
[#3477] Addressed comments
Francis Dupont [Sat, 10 Aug 2024 10:46:25 +0000 (12:46 +0200)]
[#3477] Updated shell.rst
Francis Dupont [Thu, 1 Aug 2024 17:35:34 +0000 (19:35 +0200)]
[#3477] Added a ChangeLog entry
Francis Dupont [Tue, 30 Jul 2024 12:38:46 +0000 (14:38 +0200)]
[#3477] First attempt
Francis Dupont [Wed, 21 Aug 2024 08:07:03 +0000 (10:07 +0200)]
[#3478] Address the comment
Francis Dupont [Fri, 2 Aug 2024 14:37:57 +0000 (16:37 +0200)]
[#3478] Finished server side
Francis Dupont [Wed, 31 Jul 2024 19:53:39 +0000 (21:53 +0200)]
[#3478] Checkpoint: added logs
Francis Dupont [Wed, 31 Jul 2024 19:22:37 +0000 (21:22 +0200)]
[#3478] Checkpoint: server connection
Francis Dupont [Wed, 31 Jul 2024 11:53:01 +0000 (13:53 +0200)]
[#3478] Checkpoint: handle acceptor
Francis Dupont [Wed, 31 Jul 2024 10:34:09 +0000 (12:34 +0200)]
[#3478] Added getNative() to HTTP listener
Andrei Pavel [Tue, 20 Aug 2024 09:13:48 +0000 (12:13 +0300)]
[#2882] print error on kea-admin db-upgrade
Andrei Pavel [Tue, 13 Aug 2024 11:06:25 +0000 (14:06 +0300)]
[#2882] add ChangeLog entry
Andrei Pavel [Tue, 13 Aug 2024 10:36:16 +0000 (13:36 +0300)]
[#2882] fix pgsql_unused_subnet_id_test
Adding `--set ON_ERROR_STOP=1` to `pgsql_upgrade` made `pgsql_unused_subnet_id` fail while attempting to upgrade a 4.0 schema with some data to the latest schema.
```
Processing src/share/database/scripts/pgsql/upgrade_003.3_to_004.0.sh file...
Schema upgraded to 4.0
NOTICE: index "key_dhcp4_ipv4_address_subnet_id" does not exist, skipping
ERROR: insert or update on table "dhcp6_options" violates foreign key constraint "fk_dhcp6_options_subnet"
DETAIL: Key (dhcp6_subnet_id)=(6) is not present in table "dhcp6_subnet".
```
The test is not trying to cover a negative scenario as far as I can tell.
It seems that in the end, the schema ended up being upgraded to the target version of the last script that worked without errors, in this case 7.0. It tried to advance to other upgrade scripts, but skipped them because of versions mismatch.
```
Processing src/share/database/scripts/pgsql/upgrade_007_to_008.sh file...
Processing src/share/database/scripts/pgsql/upgrade_008_to_009.sh file...
This script upgrades 8.0 to 9.0. Reported version is 7.0. Skipping upgrade.
[...]
Processing src/share/database/scripts/pgsql/upgrade_023_to_024.sh file...
This script upgrades 23.0 to 24.0. Reported version is 7.0. Skipping upgrade.
Schema version reported after upgrade: 7.0
```
Previously, the error was not reported by the testing framework because it was also ignored by kea-admin.
Now, it is consistent with the MySQL behavior in kea-admin and it no longer ignores upgrade errors.
You can see the same upgrade done to a prior version done in the equivalent test `mysql_unused_subnet_id_test`.
Andrei Pavel [Tue, 13 Aug 2024 08:57:00 +0000 (11:57 +0300)]
[#2882] fix -P|--port flag in kea-admin
Andrei Pavel [Tue, 13 Aug 2024 08:23:15 +0000 (11:23 +0300)]
[kea-packaging#8] hammer: stop mariadb before setup
Attempt to fix `start-stop-daemon: /usr/bin/mysqld_safe is already running`
Andrei Pavel [Mon, 12 Aug 2024 16:56:02 +0000 (19:56 +0300)]
[kea-packaging#8] show logs when _STARTED Kea not found
Also make reading of logs more pythonic.
Francis Dupont [Thu, 8 Aug 2024 18:08:30 +0000 (20:08 +0200)]
[#3490] Use a parser on response
Francis Dupont [Thu, 8 Aug 2024 14:31:13 +0000 (16:31 +0200)]
[#3490] Addressed cosmetic comments
Francis Dupont [Sun, 4 Aug 2024 13:34:26 +0000 (15:34 +0200)]
[#3490] Missing inheritance
Francis Dupont [Thu, 1 Aug 2024 08:26:03 +0000 (10:26 +0200)]
[#3490] Post rebase updates
Francis Dupont [Tue, 23 Jul 2024 15:00:32 +0000 (17:00 +0200)]
[#3490] Fixed clients for large bodies
Francis Dupont [Mon, 22 Jul 2024 08:23:30 +0000 (10:23 +0200)]
[#3490] Added testutils/Makefile.am to git
Francis Dupont [Mon, 22 Jul 2024 08:10:10 +0000 (10:10 +0200)]
[#3490] Added testutils in Makefile.am
Francis Dupont [Fri, 19 Jul 2024 17:29:33 +0000 (19:29 +0200)]
[#3490] Moved the HTTPS variant
Francis Dupont [Fri, 19 Jul 2024 17:00:49 +0000 (19:00 +0200)]
[#3490] Renamed TestHttp[s]Client
Francis Dupont [Fri, 19 Jul 2024 16:41:51 +0000 (18:41 +0200)]
[#3490] Moved to http/testutils
Andrei Pavel [Thu, 8 Aug 2024 09:15:48 +0000 (12:15 +0300)]
[#3470] unrelated: wait for "mariadb setup"/mysqld_safe to complete before restarting mariadb in alpine
Attempt to fix `start-stop-daemon: /usr/bin/mysqld_safe is already running`
Andrei Pavel [Thu, 8 Aug 2024 07:46:46 +0000 (10:46 +0300)]
[#3470] hammer: install postgresql only if not already installed
Andrei Pavel [Thu, 27 Jun 2024 12:43:30 +0000 (15:43 +0300)]
[#3470] make hammer.py work better with freebsd 14+
- Remove unnecessary `SET PASSWORD` for mysql
- Remove redundant `sysrc postgresql_enable=yes`. It is done later when
enabling the service.
- Determine `/var/db/postgres/data*` using glob.
- Add `interactive=true` to onestart command.
Thomas Markwalder [Wed, 7 Aug 2024 16:02:11 +0000 (16:02 +0000)]
[#3492] FIxed missed comments.
Thomas Markwalder [Wed, 7 Aug 2024 13:58:19 +0000 (13:58 +0000)]
[#3492] Addressed review comments
Fixed ChangeLog, UT, and minor cleanups
Thomas Markwalder [Tue, 6 Aug 2024 13:21:27 +0000 (13:21 +0000)]
[#3492] ChangeLog and cleanup
Thomas Markwalder [Mon, 5 Aug 2024 19:53:14 +0000 (19:53 +0000)]
[#3492] Extend lenient parser check to FQDN types
/src/lib/dhcp/libdhcp++.cc
LibDHCP::unpackOptions4()
LibDHCP::unpackOptions6() - split out throw so we can emit
a more helpful log on parser errors
/src/lib/dhcp/option.h
Added OptionParseError exception
/src/lib/dhcp/option_custom.cc
OptionCustom::bufferLength()
- add throw of SkipThisOptionError if lenient parsing enabled
for OPT_FQDN_TYPE errors
/src/lib/dhcp/option_definition.cc
OptionDefinition::factoryFqdnList()
- add throw of SkipThisOptionError if lenient parsing enabled
/src/lib/dhcp/tests/libdhcp++_unittest.cc
TEST_F(LibDhcpTest, unpackOptions4LenientFqdn)
TEST_F(LibDhcpTest, unpackOptions6LenientFqdn) - new tests
/src/lib/dhcp/tests/option_custom_unittest.cc
TEST_F(OptionCustomTest, fqdnData) - check lenient parsing behavior
Slawek Figiel [Thu, 1 Aug 2024 19:47:32 +0000 (21:47 +0200)]
[#3522] Simplify entry template
Slawek Figiel [Thu, 1 Aug 2024 19:15:50 +0000 (21:15 +0200)]
[#3522] Add square brackets
Slawek Figiel [Thu, 1 Aug 2024 15:28:46 +0000 (17:28 +0200)]
[#3522] Modify docs
Slawek Figiel [Mon, 29 Jul 2024 14:19:07 +0000 (16:19 +0200)]
[#3522] Fix whitespace
Slawek Figiel [Mon, 29 Jul 2024 14:08:44 +0000 (16:08 +0200)]
[#3522] Update devel docs
Slawek Figiel [Mon, 29 Jul 2024 10:52:31 +0000 (12:52 +0200)]
[#3522] Add ChangeLog entry template as gitkeep
Francis Dupont [Wed, 31 Jul 2024 07:56:18 +0000 (09:56 +0200)]
[#3477] Set DHCPv6 HTTP default addres to ::1
Francis Dupont [Wed, 31 Jul 2024 07:49:32 +0000 (09:49 +0200)]
[#3477] Changed write-config to config-write
Francis Dupont [Tue, 30 Jul 2024 16:01:25 +0000 (18:01 +0200)]
[#3477] Aligned v4 and v6 unit test files
Francis Dupont [Tue, 30 Jul 2024 13:02:08 +0000 (15:02 +0200)]
[#3477] Last fixes before 2.7.2
Francis Dupont [Tue, 30 Jul 2024 08:39:37 +0000 (10:39 +0200)]
[#3477] Addressed comments
Francis Dupont [Tue, 23 Jul 2024 14:32:08 +0000 (16:32 +0200)]
[#3477] Making socket name/address exclusive (2)
Francis Dupont [Tue, 23 Jul 2024 14:02:04 +0000 (14:02 +0000)]
[#3477] Regen bison
Francis Dupont [Tue, 23 Jul 2024 13:57:34 +0000 (15:57 +0200)]
[#3477] Making socket name/address exclusive (1)
Francis Dupont [Tue, 23 Jul 2024 13:11:02 +0000 (15:11 +0200)]
[#3477] Typos (Razvan's proposals)
Francis Dupont [Tue, 23 Jul 2024 12:55:20 +0000 (14:55 +0200)]
[#3477] Updated logs (Razvan's proposal)
Francis Dupont [Tue, 23 Jul 2024 12:45:15 +0000 (14:45 +0200)]
[#3477] Addressed comments
Francis Dupont [Tue, 23 Jul 2024 08:33:18 +0000 (10:33 +0200)]
[#3477] Fixed Botan build
Francis Dupont [Tue, 23 Jul 2024 08:06:34 +0000 (10:06 +0200)]
[#3477] Fixed checkConfigFiles
Francis Dupont [Mon, 22 Jul 2024 21:32:22 +0000 (23:32 +0200)]
[#3477] Addressed auth parsing issue