Kea merge requestshttps://gitlab.isc.org/isc-projects/kea/-/merge_requests2022-05-17T09:09:16Zhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1646Resolve "Bump version in configure.ac after 2.1.5 release"2022-05-17T09:09:16ZMarcin GodzinaResolve "Bump version in configure.ac after 2.1.5 release"Bump up Kea version in `configure.ac` to next development version
Closes #2394Bump up Kea version in `configure.ac` to next development version
Closes #2394kea2.1.5Marcin GodzinaMarcin Godzinahttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1642[ #2386] Add hooks-ddns-tuning to exclude duplicate in conf.rst2022-04-25T12:56:29ZMarcin Godzina[ #2386] Add hooks-ddns-tuning to exclude duplicate in conf.rstQuick fix to repair duplicate warning in documentation building
`/home/docs/checkouts/readthedocs.org/user_builds/kea/checkouts/latest/doc/sphinx/arm/hooks-ddns-tuning.rst:4: WARNING: duplicate label hooks-ddns-tuning, other instance in ...Quick fix to repair duplicate warning in documentation building
`/home/docs/checkouts/readthedocs.org/user_builds/kea/checkouts/latest/doc/sphinx/arm/hooks-ddns-tuning.rst:4: WARNING: duplicate label hooks-ddns-tuning, other instance in /home/docs/checkouts/readthedocs.org/user_builds/kea/checkouts/latest/doc/sphinx/arm/hooks.rst`kea2.1.5Marcin GodzinaMarcin Godzinahttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1641Resolve "bump up lib versions for 2.1.5"2022-04-25T13:18:59ZRazvan BecheriuResolve "bump up lib versions for 2.1.5"Closes #2385Closes #2385kea2.1.5Thomas MarkwalderThomas Markwalderhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1640Resolve "Add the sender's address to kea-ctrl-agent log messages [ISC-support...2022-04-22T19:38:58ZRazvan BecheriuResolve "Add the sender's address to kea-ctrl-agent log messages [ISC-support #14906]"Closes #687Closes #687kea2.1.5Razvan BecheriuRazvan Becheriuhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1639Resolve "installation premium hook instruction in ARM refer to subscription h...2022-04-22T19:19:18ZWlodzimierz WencelResolve "installation premium hook instruction in ARM refer to subscription hook list"Closes #2382Closes #2382kea2.1.5Wlodzimierz WencelWlodzimierz Wencelhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1638Obsolete: core code that helps with rate limiting2022-05-06T06:13:45ZAndrei Pavelandrei@isc.orgObsolete: core code that helps with rate limitingPart of #237.
* [x] ~~b2a960b4e0 add scoped_lock. Needed to lock multiple mutexes at once.~~
* [x] fec9d8c7b9 use SubnetID from subnet_id.h in Lease. Extraneous, but can we keep it?
* [x] 0133d5f03b enable range-based for loops on Clien...Part of #237.
* [x] ~~b2a960b4e0 add scoped_lock. Needed to lock multiple mutexes at once.~~
* [x] fec9d8c7b9 use SubnetID from subnet_id.h in Lease. Extraneous, but can we keep it?
* [x] 0133d5f03b enable range-based for loops on ClientClasses. Ranged-based for loops always look for `begin()` functions. The for loop decides if the const or non-const version is called based on the constness of the object that is being iterated.
* [x] 6bf9416bfd template adapters to existing qualified names. Hoping to kickstart the further use of templates for common code between v4 and v6 functionality.
* [x] dba2f38c0e mention mark and argument in logger error
* [x] 9c8fdd5988 document rate limiting
* [x] 1261e86965 add ChangeLog entrykea2.1.5Andrei Pavelandrei@isc.orgAndrei Pavelandrei@isc.orghttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1637Resolve "RFC3396 Encoding Long Options"2022-05-19T17:33:41ZRazvan BecheriuResolve "RFC3396 Encoding Long Options"Closes #2227Closes #2227kea2.1.5Razvan BecheriuRazvan Becheriuhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1636Resolve "ddns-override-domain-name"2022-04-18T14:24:17ZThomas MarkwalderResolve "ddns-override-domain-name"Closes #2272Closes #2272kea2.1.5Thomas MarkwalderThomas Markwalderhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1633Resolve "Expose listening socket status in status-get command or maybe add op...2022-04-09T13:24:35ZRazvan BecheriuResolve "Expose listening socket status in status-get command or maybe add option to make bind-fails fatal"Closes #1716Closes #1716kea2.1.5Slawek FigielSlawek Figielhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1632Resolve "Unit tests fail when build/test box has an eth1 interface"2022-04-19T19:37:58ZRazvan BecheriuResolve "Unit tests fail when build/test box has an eth1 interface"Closes #2377Closes #2377kea2.1.5Razvan BecheriuRazvan Becheriuhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1631Resolve "Expose listening socket status in status-get command or maybe add op...2022-04-06T21:46:50ZRazvan BecheriuResolve "Expose listening socket status in status-get command or maybe add option to make bind-fails fatal"Closes #1716Closes #1716kea2.1.5Slawek FigielSlawek Figielhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1630Resolve "gss-tsig-rekey and gss-tsig-rekey-all are missing from the ARM"2022-04-07T20:12:36ZRazvan BecheriuResolve "gss-tsig-rekey and gss-tsig-rekey-all are missing from the ARM"Closes #2259Closes #2259kea2.1.5Razvan BecheriuRazvan Becheriuhttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1629try both ALTER and GRANT for REQUIRE X5092022-04-07T08:18:50ZAndrei Pavelandrei@isc.orgtry both ALTER and GRANT for REQUIRE X509Closes #2353.
Ubuntu complains with `ERROR 1064 (42000) at line 7: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'REQUIRE X509' at line 1`. https://...Closes #2353.
Ubuntu complains with `ERROR 1064 (42000) at line 7: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'REQUIRE X509' at line 1`. https://jenkins.aws.isc.org/view/Kea-manual/job/kea-manual/job/ut-extended/103/
The solution in this MR is to fallback to another command. At @fdupont's recommendation, let's try ALTER first, because it affects all tables.
Test job: https://jenkins.aws.isc.org/view/Kea-manual/job/kea-manual/job/ut-extended/106/kea2.1.5Andrei Pavelandrei@isc.orgAndrei Pavelandrei@isc.orghttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1628Resolve "Determine what to do with benchmarks"2022-04-20T19:38:05ZTomek MrugalskiResolve "Determine what to do with benchmarks"Closes #2372Closes #2372kea2.1.5Tomek MrugalskiTomek Mrugalskihttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1627document that Framed-Pool is used in kea-dhcp62022-04-07T15:30:17ZAndrei Pavelandrei@isc.orgdocument that Framed-Pool is used in kea-dhcp6Closes #2337.Closes #2337.kea2.1.5Andrei Pavelandrei@isc.orgAndrei Pavelandrei@isc.orghttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1626Resolve "kea-admin lease-upload fails if CSV file contains duplicate leases"2022-05-23T14:27:09ZAndrei Pavelandrei@isc.orgResolve "kea-admin lease-upload fails if CSV file contains duplicate leases"Closes #2293.
* [x] c52f590bfc call kea-lfc in kea-admin lease-upload
* One thing here is the placement of temporary files in `/tmp` rather than in the same directory. I've done this in `lease-upload` and also changed it in `lease-dum...Closes #2293.
* [x] c52f590bfc call kea-lfc in kea-admin lease-upload
* One thing here is the placement of temporary files in `/tmp` rather than in the same directory. I've done this in `lease-upload` and also changed it in `lease-dump` for consistency. This tries to address various permission problems that were mentioned in another issue. On one hand, the user might not have permission to write to the same directory as was done before in lease-dump. On the other, it just delays the write to the actual file further, so not much progress is actually done. However, lease-upload does succeed this way if the user does not have write permissions to the directory.
* [x] 3116ab4ec9 adjust tests for kea-lfc called in kea-admin lease-upload
* LFC formats the user context, probably through `.toElement()->str()` which spaces it out more, so I had to adjust CSV reference files and some inserts in tests. You can remove these spacings to see the failure.
* LFC did not load the second row in `lease6_dump_test.reference.csv`. It complains with `Empty DUIDs not allowed`. So I added a DUID.
* [x] 3036850112 assume a default for kea-admin on non-interactive shells
* This commit is extraneous to the issue, but please read the story first. While developing I had unit tests block in the `Do you want to continue?` question because a file would be left from a previous test failure. The question did not even appear probably due to flushing problems that I don't know how to fix off the top of my head. What I thought happened was that the tests ran in a non-interactive shell and I thought I would fix that. It turned out not to be a problem and the proper fix was the `rm -f "${output_file}"` at the beginning of the text, see the associated comment. But I thought I would keep the non-interactive fix too.kea2.1.5Andrei Pavelandrei@isc.orgAndrei Pavelandrei@isc.orghttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1625document overlapping pools and subnets2022-04-25T13:04:54ZAndrei Pavelandrei@isc.orgdocument overlapping pools and subnetsCloses #1842.
Could not find a good comment to put on the entry for PD pools out of subnets, to elegantly explain why they are allowed. Barbarically put, the clients benefitting from the delegated prefixes don't need to be in the same s...Closes #1842.
Could not find a good comment to put on the entry for PD pools out of subnets, to elegantly explain why they are allowed. Barbarically put, the clients benefitting from the delegated prefixes don't need to be in the same subnet, right?
Additional actions which have a chance of being affected, that I haven't tested, but that I hope we can exclude theoretically:
* HA lease syncing
* leasing, releasing, reclaiming, and leasing again
* maybe also any problems that arise from changing the subnet ID of a subnet?kea2.1.5Marcin SiodelskiMarcin Siodelskihttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1624Draft: Resolve "Role based access controls to CA"2022-05-13T21:41:25ZFrancis DupontDraft: Resolve "Role based access controls to CA"Core version pf #1263Core version pf #1263kea2.1.5Francis DupontFrancis Duponthttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1623Resolve "RBAC instrument HTTP request"2022-04-17T17:22:10ZFrancis DupontResolve "RBAC instrument HTTP request"Part of #1263 and shared with #687Part of #1263 and shared with #687kea2.1.5Francis DupontFrancis Duponthttps://gitlab.isc.org/isc-projects/kea/-/merge_requests/1622Resolve "Add the sender's address to kea-ctrl-agent log messages [ISC-support...2022-04-22T12:22:31ZFrancis DupontResolve "Add the sender's address to kea-ctrl-agent log messages [ISC-support #14906]"POC for #687POC for #687kea2.1.5Tomek MrugalskiTomek Mrugalski