]>
git.ipfire.org Git - thirdparty/knot-resolver.git/log
Vasek Sraier [Fri, 20 May 2022 09:30:43 +0000 (11:30 +0200)]
manager: attempt at reimplementing custom process manager similar to systemd
most of the prototype is done, the only missing parts are communication with current Python manager
Vasek Sraier [Tue, 17 May 2022 10:30:21 +0000 (12:30 +0200)]
fixup! fixup! fixup! fixup! WIP: packaing tests using apkg's new test feature
Vasek Sraier [Tue, 17 May 2022 10:19:36 +0000 (12:19 +0200)]
fixup! fixup! fixup! WIP: packaing tests using apkg's new test feature
Vasek Sraier [Tue, 17 May 2022 09:58:40 +0000 (11:58 +0200)]
fixup! fixup! WIP: packaing tests using apkg's new test feature
Vasek Sraier [Tue, 17 May 2022 09:51:02 +0000 (11:51 +0200)]
fixup! WIP: packaing tests using apkg's new test feature
Vasek Sraier [Tue, 17 May 2022 09:34:46 +0000 (11:34 +0200)]
WIP: packaing tests using apkg's new test feature
Vasek Sraier [Thu, 21 Apr 2022 21:44:07 +0000 (23:44 +0200)]
manager's service file: prefixed all commands with /usr/bin/env to ensure absolute path
Vasek Sraier [Thu, 21 Apr 2022 21:09:05 +0000 (23:09 +0200)]
packaging: listed kresctl in rpm .spec file
Vasek Sraier [Thu, 21 Apr 2022 20:57:31 +0000 (22:57 +0200)]
Revert "WIP: ci: extra check for manager dependencies"
This reverts commit
f2ac8c5c61fe51406743054bd2a8e86bb20c5e4b .
Vasek Sraier [Thu, 21 Apr 2022 20:57:23 +0000 (22:57 +0200)]
Revert "ci/pytests: exclude selected branches"
This reverts commit
c2db2519f4ef1dac6057be0a24446402ccd173a0 .
Vasek Sraier [Thu, 21 Apr 2022 20:53:23 +0000 (22:53 +0200)]
ci: added basic manager tests to pkgtests
Vasek Sraier [Sun, 17 Apr 2022 15:11:39 +0000 (17:11 +0200)]
manager: improved logging of subprocess controller selection
Vasek Sraier [Sun, 17 Apr 2022 14:04:43 +0000 (16:04 +0200)]
manager: systemd integration: fixed race condition while waiting for systemd job results
We were starting a result monitoring thread, but we did not wait for it to properly start. Therefore,
the systemd job could finish before we actually started checking
Vasek Sraier [Sun, 17 Apr 2022 13:27:35 +0000 (15:27 +0200)]
manager: systemd integration: changing slice name depending on systemd type
Vasek Sraier [Sun, 17 Apr 2022 13:27:27 +0000 (15:27 +0200)]
fixup! manager's packaging fixes & better systemd integration
Vasek Sraier [Mon, 11 Apr 2022 18:00:39 +0000 (20:00 +0200)]
manager's packaging fixes & better systemd integration
- implemented sd_notify and changed manager service type to "notify"
- fixed release configuration
- renamed knot-resolver-manager.service to knot-resolver.service
Vasek Sraier [Sun, 10 Apr 2022 19:41:17 +0000 (21:41 +0200)]
manager: add simple packaging tests
Vasek Sraier [Sun, 10 Apr 2022 18:40:14 +0000 (20:40 +0200)]
manager: added placeholder for manager's future CLI interface
Vasek Sraier [Fri, 8 Apr 2022 13:37:36 +0000 (15:37 +0200)]
fixup! manager: fix packaging script
Vasek Sraier [Fri, 8 Apr 2022 13:11:02 +0000 (15:11 +0200)]
manager: fix packaging script
Tomas Krizek [Thu, 20 Jan 2022 15:36:43 +0000 (16:36 +0100)]
WIP: ci: extra check for manager dependencies
Tomas Krizek [Thu, 20 Jan 2022 13:46:21 +0000 (14:46 +0100)]
ci/pytests: exclude selected branches
Jakub Ružička [Wed, 10 Nov 2021 11:32:20 +0000 (12:32 +0100)]
distro: add knot-resolver-manager rpm packaging
Jakub Ružička [Mon, 25 Oct 2021 12:16:37 +0000 (14:16 +0200)]
distro: add knot-resolver-manager deb packaging
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
Aleš Mrázek [Tue, 11 Jan 2022 12:40:26 +0000 (13:40 +0100)]
Merge branch 'broken-watchdog-repair' into 'master'
watchdog: kresd systemd unit properties based on config
Closes #44
See merge request knot/knot-resolver-manager!18
Vasek Sraier [Mon, 17 Jan 2022 11:58:15 +0000 (12:58 +0100)]
manager: ci container: update URL for installing poetry due to upstream change