]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Aleš Mrázek [Wed, 4 May 2022 09:36:49 +0000 (11:36 +0200)]
manager: datamodel: server section removed
- management and webmgmt config moved to top-level node
Oto Šťáva [Wed, 4 May 2022 09:00:46 +0000 (11:00 +0200)]
lib/dnssec/ta: use trie_t instead of map_t
Aleš Mrázek [Wed, 4 May 2022 08:52:16 +0000 (10:52 +0200)]
manager: datamodel: workers moved to top-level node
Aleš Mrázek [Tue, 3 May 2022 14:42:37 +0000 (16:42 +0200)]
manager: datamodel: section for supervisor config
Aleš Mrázek [Mon, 2 May 2022 15:27:50 +0000 (17:27 +0200)]
manager: datamodel: id, hostname, rundir moved to top level node
Aleš Mrázek [Mon, 2 May 2022 13:28:10 +0000 (15:28 +0200)]
manager: datamodel: nsid moved to options section
Vladimír Čunát [Mon, 2 May 2022 10:42:47 +0000 (12:42 +0200)]
Merge !1288: daemon/worker: Use trie_t instead of map_t for TCP connections
Oto Šťáva [Wed, 27 Apr 2022 07:02:41 +0000 (09:02 +0200)]
daemon/worker: Use trie_t instead of map_t for TCP connections
Oto Šťáva [Fri, 29 Apr 2022 06:50:35 +0000 (08:50 +0200)]
lib/utils: sockaddr key generation
Aleš Mrázek [Fri, 29 Apr 2022 14:35:25 +0000 (16:35 +0200)]
manager: datamodel: cache GC config moved to cache section
Aleš Mrázek [Wed, 27 Apr 2022 11:34:31 +0000 (13:34 +0200)]
Merge branch 'manager-datamodel-newconfig' into 'manager'
manager: datamodel: missing configuration
See merge request knot/knot-resolver!1289
Aleš Mrázek [Wed, 27 Apr 2022 10:30:48 +0000 (12:30 +0200)]
manager: datamodel: PROXYv2 option renamed
Aleš Mrázek [Fri, 22 Apr 2022 08:29:47 +0000 (10:29 +0200)]
manager: datamodel: PROXYv2 schema created
Aleš Mrázek [Wed, 20 Apr 2022 11:28:29 +0000 (13:28 +0200)]
Merge branch 'manager-test-improvements' into 'manager'
manager: test improvements
See merge request knot/knot-resolver!1277
Aleš Mrázek [Wed, 13 Apr 2022 15:02:47 +0000 (17:02 +0200)]
manager: datamodel: templates: render punycode for domains
Aleš Mrázek [Wed, 13 Apr 2022 14:57:36 +0000 (16:57 +0200)]
manager: datamodel: types: allow root-zone in DomainName
Vladimír Čunát [Wed, 13 Apr 2022 08:44:48 +0000 (10:44 +0200)]
Merge branch !1285: daemon/zimport: close transaction after importing batch
Aleš Mrázek [Tue, 12 Apr 2022 12:37:02 +0000 (14:37 +0200)]
manager: datamodel: types: improved DomainName regex
- tests: testing domain for length
Aleš Mrázek [Mon, 11 Apr 2022 20:52:01 +0000 (22:52 +0200)]
manager: datamodel: types: punycode for DomainName
Aleš Mrázek [Mon, 11 Apr 2022 10:55:16 +0000 (12:55 +0200)]
ci: do pkgtests for manager* branches
Vladimír Čunát [Mon, 11 Apr 2022 10:14:50 +0000 (12:14 +0200)]
daemon/zimport: close transaction after importing batch
I'm really sorry about this. It's my regression in 5.5.0 (!1225)
Practical consequence was that the RW transaction was held open
until that instance did something with cache (and thus closed),
so any other instance would be frozen in the meantime if doing
anything non-read-only with cache (e.g. startup).
https://lists.nic.cz/hyperkitty/list/knot-resolver-users@lists.nic.cz/thread/6DOXXOA6ACEUBVYPUY3T2MLGIHWOMV6M/
Aleš Mrázek [Tue, 22 Mar 2022 14:59:13 +0000 (15:59 +0100)]
manager: ci: except branches with 'manager' prefix
Aleš Mrázek [Tue, 22 Mar 2022 14:48:53 +0000 (15:48 +0100)]
manager: tests: utils: types tests parametrization
Aleš Mrázek [Fri, 18 Mar 2022 12:50:58 +0000 (13:50 +0100)]
manager: tests: modelling: tests parametrization
- utils/modelling: strip() lines in schema class docstring
- general json_schema tests moved to test_modelling.py
Aleš Mrázek [Fri, 18 Mar 2022 12:07:13 +0000 (13:07 +0100)]
manager: datamodel: types: improved DomainName regex
Aleš [Thu, 17 Feb 2022 22:40:50 +0000 (23:40 +0100)]
manager: tests: parameterization using pytest
Vaclav Sraier [Thu, 31 Mar 2022 13:22:26 +0000 (15:22 +0200)]
Merge branch 'manager-systemd-slices' into 'manager'
manager: systemd backend using slices
See merge request knot/knot-resolver!1278
Vaclav Sraier [Tue, 15 Mar 2022 10:40:44 +0000 (11:40 +0100)]
Merge branch 'manager-small-improvements' into 'manager'
small improvements of manager
See merge request knot/knot-resolver!1274
Vasek Sraier [Thu, 31 Mar 2022 12:42:51 +0000 (14:42 +0200)]
unit tests: made them recognizable as python package and moved test config creation method there
Aleš Mrázek [Mon, 14 Mar 2022 17:02:34 +0000 (18:02 +0100)]
Merge branch 'manager-error-messages' into 'manager'
improve manager's error handling
See merge request knot/knot-resolver!1263
Vasek Sraier [Mon, 14 Mar 2022 20:14:02 +0000 (21:14 +0100)]
manager: systemd: lower unit start timeout to 10 seconds from 30
This is done after a short discussion on Slack where we've learnt that kresd should be up and running
within fraction of a second.
Vasek Sraier [Thu, 31 Mar 2022 12:31:46 +0000 (14:31 +0200)]
subprocess manament: remove configuration files of kresd's even when not stopped directly
Aleš Mrázek [Mon, 28 Feb 2022 10:30:13 +0000 (11:30 +0100)]
Merge branch 'manager-watchdog-fix' into 'manager'
manager: backend bug fixes
See merge request knot/knot-resolver!1262
Vasek Sraier [Sun, 13 Mar 2022 14:04:25 +0000 (15:04 +0100)]
manager: working directory locking and improved shutdown triggering
Vasek Sraier [Mon, 14 Mar 2022 20:07:51 +0000 (21:07 +0100)]
manager: handle Unix signals during shutdown
closes #725
Vasek Sraier [Sun, 27 Mar 2022 17:14:24 +0000 (19:14 +0200)]
moved `id` in config to the server section, additional refactoring
Aleš Mrázek [Mon, 21 Feb 2022 10:06:41 +0000 (11:06 +0100)]
Merge branch 'manager-datamodel-types' into 'manager'
manager: datamodel: type annotations changes and new custom types
See merge request knot/knot-resolver!1260
Vasek Sraier [Sun, 27 Feb 2022 12:23:08 +0000 (13:23 +0100)]
manager: id allocation system: rewritten once more with id subclassing
Vasek Sraier [Fri, 11 Mar 2022 15:28:21 +0000 (16:28 +0100)]
manager: error handling retry logic based on ERROR_HANDLING.md
Vasek Sraier [Thu, 24 Mar 2022 16:50:15 +0000 (17:50 +0100)]
manager: fix integration tests config file
Aleš Mrázek [Tue, 15 Feb 2022 17:07:27 +0000 (18:07 +0100)]
Merge branch 'manager-monitoring' into 'manager'
Unified monitoring though manager
See merge request knot/knot-resolver!1255
Aleš [Tue, 15 Feb 2022 23:29:39 +0000 (00:29 +0100)]
datamodel: monitoring: types specification
Aleš [Thu, 24 Feb 2022 14:48:16 +0000 (15:48 +0100)]
manager: server: deny server.groupid runtime changes
- conf files names based on groupid
Vasek Sraier [Fri, 11 Mar 2022 11:49:14 +0000 (12:49 +0100)]
manager: limit number of allowed workers
Vasek Sraier [Wed, 23 Mar 2022 22:47:19 +0000 (23:47 +0100)]
bug fixes within manager's slice usage (in systemd)
The previous implementation was actually flawed, because:
- we were not detecting failed units on startup
- we were using same service names and counting on different slices being different namespaces. This is NOT valid assumption.
Aleš Mrázek [Tue, 15 Feb 2022 14:10:56 +0000 (15:10 +0100)]
Merge branch 'manager-datamodel-docstrings' into 'manager'
manager: datamodel annotated with docstrings
See merge request knot/knot-resolver!1258
Vasek Sraier [Wed, 9 Feb 2022 14:37:55 +0000 (15:37 +0100)]
manager: verified and fix bug with graphite metrics exporter
Aleš [Mon, 14 Feb 2022 15:06:37 +0000 (16:06 +0100)]
datamodel: integer type annotations replaced with custom types
Aleš [Wed, 23 Feb 2022 13:24:23 +0000 (14:24 +0100)]
manager: systemd backend: 'server.groupid' config is used as prefix for services names
Vasek Sraier [Fri, 11 Mar 2022 11:28:24 +0000 (12:28 +0100)]
manager: improved formatting of errors
Vasek Sraier [Tue, 22 Mar 2022 11:51:24 +0000 (12:51 +0100)]
manager systemd backend now uses slices
- added id field to config, which determines the slice name (must be unique across the whole system)
- we no longer stop all processes individually, instead we leave it up to the subprocess controller to stop all (and it just stops the slice)
Vladimír Čunát [Tue, 15 Feb 2022 09:01:38 +0000 (10:01 +0100)]
Merge !1250: manager: datamodel: lower verbosity for network/listen config
Aleš [Tue, 8 Feb 2022 15:38:34 +0000 (16:38 +0100)]
datamodel: docstrings annotatinons dnssec
- related to #706
Vasek Sraier [Wed, 9 Feb 2022 10:28:23 +0000 (11:28 +0100)]
manager: monitoring: made sure data are collected at the time of the /metrics request
Aleš [Mon, 14 Feb 2022 13:16:40 +0000 (14:16 +0100)]
datamodel: types: several integer custom types
Aleš [Tue, 22 Feb 2022 16:04:51 +0000 (17:04 +0100)]
manager: systemd backend: watchdog for cache gc
- KresIDs are also equal when custom str representations are equal
- systemd services naming
Vasek Sraier [Fri, 11 Mar 2022 10:32:35 +0000 (11:32 +0100)]
manager: documentation of error handling design
Aleš [Wed, 2 Feb 2022 17:45:46 +0000 (18:45 +0100)]
datamodel: templates: render http configuration for doh_legacy only once
Aleš [Mon, 7 Feb 2022 15:52:42 +0000 (16:52 +0100)]
manager/utils/modelling: multiline strings in docstring for attributes description in yaml format
Vasek Sraier [Tue, 8 Feb 2022 14:10:31 +0000 (15:10 +0100)]
manager: monitoring: graphite bridge
Aleš [Thu, 10 Feb 2022 14:01:06 +0000 (15:01 +0100)]
datamodel: types: improved IntRangeBase
- the value can also be limited from one side (_min or _max)
Vasek Sraier [Sun, 20 Feb 2022 21:17:00 +0000 (22:17 +0100)]
manager: supervisord backend: fixed failures to start and stop properly, now working
Vasek Sraier [Fri, 4 Mar 2022 15:25:07 +0000 (16:25 +0100)]
manager: systemd: added timeout for systemd jobs
Aleš [Mon, 31 Jan 2022 19:48:39 +0000 (20:48 +0100)]
datamodel: network: added 'doh-legacy' to listen kinds
Aleš [Mon, 7 Feb 2022 15:34:07 +0000 (16:34 +0100)]
datamodel: docstrings annotatinons (dns64, logging, lua)
- related to #706
Vasek Sraier [Tue, 8 Feb 2022 10:58:14 +0000 (11:58 +0100)]
manager: monitoring: remove usage of protected library methods, finished proper latency metric support
Vasek Sraier [Sat, 19 Feb 2022 12:26:53 +0000 (13:26 +0100)]
manager: fixed watchdog cancellation, reworked id system to remove unreasonable complexity
Vasek Sraier [Sun, 20 Feb 2022 23:24:56 +0000 (00:24 +0100)]
WIP multiple error messages at once
Aleš [Mon, 31 Jan 2022 16:24:45 +0000 (17:24 +0100)]
datamodel: ip-address option merged to interface option
- types: IP addres can be used in InterfacePort and InterfaceOptionalPort
- ip-address options removed
Aleš [Fri, 4 Feb 2022 12:47:41 +0000 (13:47 +0100)]
datamodel: docstrings annotatinons (stub-zone, forward-zone, rpz, cache)
- related to #706
Vladimír Čunát [Mon, 7 Feb 2022 12:21:48 +0000 (13:21 +0100)]
modules/stats: add answer.sum_ms metric
FIXME: add a NEWS entry for this
Vasek Sraier [Sun, 20 Feb 2022 22:34:56 +0000 (23:34 +0100)]
manager: improved configuration error reporting
Aleš [Thu, 3 Feb 2022 14:48:26 +0000 (15:48 +0100)]
datamodel: docstrings annotatinons (network, static-hint, view, policy)
- changed name of some schema fields
- related to #706
Vasek Sraier [Mon, 7 Feb 2022 11:41:31 +0000 (12:41 +0100)]
manager: monitoring: implementation cleanup
Aleš [Wed, 2 Feb 2022 23:08:47 +0000 (00:08 +0100)]
utils: modelling: json_schema: replace underscore with dash in field name
Vasek Sraier [Mon, 7 Feb 2022 10:11:45 +0000 (11:11 +0100)]
manager: remove unnecessary sleep
Aleš [Wed, 2 Feb 2022 22:57:08 +0000 (23:57 +0100)]
datamodel: docstrings annotatinons for server and options schemas
- related to #706
Vasek Sraier [Mon, 7 Feb 2022 10:11:24 +0000 (11:11 +0100)]
manager: measuring reconfiguration request latency
Vasek Sraier [Sun, 6 Feb 2022 18:10:17 +0000 (19:10 +0100)]
manager: exportings prometheus metrics FIXME
Vasek Sraier [Sat, 5 Feb 2022 22:31:33 +0000 (23:31 +0100)]
manager: generated config: opening control socket at correct path with stable id
Vaclav Sraier [Thu, 27 Jan 2022 16:08:10 +0000 (17:08 +0100)]
Merge branch 'manager-systemd-improvements' into 'manager'
manager: systemd: improved handling of subprocess crashes
See merge request knot/knot-resolver!1252
Aleš [Fri, 28 Jan 2022 15:05:06 +0000 (16:05 +0100)]
datamodel: types: separate directory for types
- separate modules for base types and enumerations
- some types/enums renamed
Vaclav Sraier [Wed, 26 Jan 2022 12:24:25 +0000 (13:24 +0100)]
Merge branch 'manager-tooling-fixes' into 'manager'
manager: tooling fixes & ci integration
See merge request knot/knot-resolver!1249
Vasek Sraier [Fri, 21 Jan 2022 20:35:03 +0000 (21:35 +0100)]
manager: systemd: better error messages and restart subprocesses always
+ codecheck script now checks whether you have all dependencies properly installed
Aleš [Thu, 27 Jan 2022 14:47:10 +0000 (15:47 +0100)]
datamodel: validation function for listening configuration
Tomas Krizek [Sun, 16 Jan 2022 16:36:06 +0000 (17:36 +0100)]
ci: execute manager tests in correct dir
Tomas Krizek [Fri, 21 Jan 2022 18:08:29 +0000 (19:08 +0100)]
ci/manager: use junit test report
Aleš [Thu, 27 Jan 2022 14:43:01 +0000 (15:43 +0100)]
utils: modelling: serialization fix that broke json schema generation
Tomas Krizek [Sun, 16 Jan 2022 16:32:04 +0000 (17:32 +0100)]
ci: run manager-only tests in manager branch
Tomas Krizek [Wed, 19 Jan 2022 16:12:45 +0000 (17:12 +0100)]
ci: make pytests behavior consistent with remaining jobs
Aleš [Thu, 27 Jan 2022 11:04:15 +0000 (12:04 +0100)]
manager: codecheck fixes
Vasek Sraier [Fri, 14 Jan 2022 10:01:34 +0000 (11:01 +0100)]
typing: introduction of mypy
Tomas Krizek [Wed, 19 Jan 2022 16:04:09 +0000 (17:04 +0100)]
manager: remove ununsed containers
Aleš [Tue, 25 Jan 2022 15:13:51 +0000 (16:13 +0100)]
datamodel: types: formatting exceptions
Vasek Sraier [Wed, 12 Jan 2022 12:47:02 +0000 (13:47 +0100)]
client: fix configuration of static hints, schema changed
Tomas Krizek [Wed, 19 Jan 2022 16:08:42 +0000 (17:08 +0100)]
manager: remove pyright in favor of mypy
Aleš [Mon, 24 Jan 2022 16:09:20 +0000 (17:09 +0100)]
datamodel: types: types based on @port refactored
- added type for interface name
Vasek Sraier [Tue, 11 Jan 2022 13:02:40 +0000 (14:02 +0100)]
process management: GC was not stopped during graceful shutdown
fixes #45
Tomas Krizek [Wed, 19 Jan 2022 16:06:46 +0000 (17:06 +0100)]
ci: execute manager unit tests
Aleš [Fri, 21 Jan 2022 16:48:40 +0000 (17:48 +0100)]
datamodel: schema modifications to match new network/listen model
- datamodel: server: management and webmgmt schema changed
- datamodel: types: base custom types
- datamodel: types: mandatory port number in IPAddressPort and InterfacePort