2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00
Commit Graph

21638 Commits

Author SHA1 Message Date
Francis Dupont
a07e3014c3 [4031] Cleaned up asiolink (tentative) trac4009_base 2015-09-02 17:09:06 +02:00
Francis Dupont
6c1ef544fd [4029] Removed obsolete testutils/testdata directory 2015-09-01 23:46:24 +02:00
Francis Dupont
bb6c7f41e5 [4029] Removed obsolete references to testutils/testdata 2015-09-01 23:30:14 +02:00
Francis Dupont
0364bba351 [4029] Cleaned up cfgrpt/tests/Makefile.am 2015-09-01 18:12:53 +02:00
Francis Dupont
bee3f1c2a0 [4029] Cleanup testutils code too 2015-09-01 17:55:51 +02:00
Francis Dupont
3cb881a156 [4029] Applied #4028 removals 2015-09-01 17:20:40 +02:00
Francis Dupont
d45798e087 [4029] Removed unused files (tentative) 2015-09-01 17:19:55 +02:00
Francis Dupont
9b344caa78 [master] Merged trac4003 (messing <iterator> include) trac4028_base trac4029_base trac4026_base 2015-09-01 16:14:52 +02:00
Tomek Mrugalski
43d2f496e2 [master] Merge branch 'trac4025' ExceptionTest.verbose fail fix 2015-09-01 13:28:20 +02:00
Tomek Mrugalski
f3f4b5a886 [4025] Incorrect use of temporary object fixed in Exception::what() 2015-08-27 19:13:33 +02:00
Francis Dupont
4a9cb30e69 [master] Updated git hash trac3911a_base trac4018_base trac4016_base trac4024_base trac4015_base trac4024_try_base 2015-08-27 13:48:55 +02:00
Francis Dupont
16c4c2b6d9 [master] Finished merge of trac3752 (logger immediate flush) 2015-08-27 13:48:13 +02:00
Francis Dupont
f9291dde58 [master] Merged trac3752 (logger immediate flush) 2015-08-27 13:46:08 +02:00
Francis Dupont
663562c779 [3752] Moved copyrights to Tomek's style 2015-08-27 13:45:08 +02:00
Francis Dupont
0dabdeba6a [master] Updated git hash 2015-08-27 12:54:07 +02:00
Francis Dupont
e06934f211 [master] Finished merge of trac4006 (Fixes for Boost 1.59) 2015-08-27 12:53:11 +02:00
Francis Dupont
7074f96800 [master] Merged trac4006 (Fixes for Boost 1.59) 2015-08-27 12:49:29 +02:00
Francis Dupont
e53d52470c [4003] Added iterator missing include 2015-08-27 12:07:48 +02:00
Tomek Mrugalski
729f1387a3 [master] ChangeLog updated after trac4000 merge. trac4010_base trac4003_base 2015-08-26 16:05:02 +02:00
Tomek Mrugalski
bf5e48f2cf [master] Merge branch 'trac4000' (signal handler should not modify errno) 2015-08-26 16:02:57 +02:00
Tomek Mrugalski
a50d64cc41 [master] Merge branch 'trac3902' (extended unit-tests for command channel) 2015-08-25 17:02:41 +02:00
Tomek Mrugalski
692f3dd0ac [4000] Changes after review:
- distinction between ISC and std exceptions removed.
 - reference to support ticket removed.
2015-08-25 16:12:40 +02:00
Tomek Mrugalski
ba36626dbd [3902] Workaround for file descriptor 0 implemented. 2015-08-21 13:12:24 +02:00
Tomek Mrugalski
be4c905d3d [trac4000] Exception handling in DHCPv6 improved
- std::exception is now caught
 - try/catch clause added around handleSignal
2015-08-20 16:36:24 +02:00
Tomek Mrugalski
f71885fb8a [trac4000] Unit-tests for process spawn + errno, verbose exceptions added. 2015-08-20 16:31:03 +02:00
Tomek Mrugalski
680b404237 [trac4000] Unnecessary messages removed. 2015-08-20 15:37:50 +02:00
Tomek Mrugalski
861397d1c7 [support8785] Likely fix for the issues with "no child processes" exception
This fix makes the signal handler no longer modify errno value.
  That was causing "no child processes" exceptions in places that
  had nothing to do with signals or processes.
2015-08-20 14:58:54 +02:00
Tomek Mrugalski
2954301e6d [support8785] Verbose Exception::what() has been implemented.
This change by itself does nothing, but it allows changing
  e.what() to e.what(true) to get more details about an exception.
  This can be useful for exception debugging.
2015-08-20 14:57:05 +02:00
Tomek Mrugalski
f1982bb487 [support8785] std::exception, not just isc::Exception is caught
If std::exception would be thrown anywhere in message processing
  in Dhcp4Srv::run(), we would not catch it. In principle, that
  should never happen, as the Kea code only throws isc::Exception
  derivatives, but maybe some of the system or boost calls could
  throw std::exception.
2015-08-20 14:57:05 +02:00
Tomek Mrugalski
8b42a07752 [support8785] ISC and std exceptions in handleSignal() are now caught
The calls to handleSignal() are now wrapped with catch clauses
  for both ISC and standard exceptions. This would not solve the
  underlying issue, but at least would cause the server to continue
  after the issue occurs.
2015-08-20 14:57:05 +02:00
Tomek Mrugalski
7384d94e93 [support8785] Select interruption by signal is now logged.
One of the hypotheses for the #8785 issue is mis-handling of
  the SingalInterruptOnSelect exception. This message will
  be printed every time a signal is received during select().

Conflicts:
	src/bin/dhcp4/dhcp4_messages.mes
	src/bin/dhcp4/dhcp4_srv.cc
2015-08-20 14:56:26 +02:00
Francis Dupont
47f2e13646 [4006] removed pfto macros and some compiler junk conditionals 2015-08-18 12:25:31 +02:00
Thomas Markwalder
e9c58e3dc3 [master] Added ChangeLog entry 989 for #3997. trac4006_base 2015-08-13 11:04:50 -04:00
Thomas Markwalder
ce91bdd78f Merge branch 'trac3997' 2015-08-13 10:39:27 -04:00
Thomas Markwalder
6e249400a1 [3997] Address review comments
Minor comment cleanup.
2015-08-13 10:34:37 -04:00
Thomas Markwalder
ef1033c4c4 [3997] Corrected DHCP6 server crash on exit when DDNS is enabled
Rather that stopping it explicitly, the server was relying D2ClientMgr
to stop itself during its own destruction.  This was falling over during
process wind-down because the IfaceMgr singletone was being destroyed before
the D2ClientMgr instance.  The server destructor now explicitly stops the
D2ClientMgr.

src/bin/dhcp6/dhcp6_messages.mes
    added DHCP6_SRV_D2STOP_ERROR log message

src/bin/dhcp6/dhcp6_srv.cc
    Dhcpv6Srv::stopD2() - new method stops the NCR sender, causing it to
    unregister its WathSocket from IfaceMgr

    Dhcpv6Srv::~Dhcpv6Srv() - added call to Dhcpv6Srv::stopD2()

src/bin/dhcp6/tests/dhcp6_process_tests.sh.in
    Enabled DNS updates in the CONFIG string.  This ensures the D2
    client will be started during system tests
2015-08-12 16:28:55 -04:00
Thomas Markwalder
5e855328c8 [3997] Corrected DHCP4 server crash on exit when DDNS is enabled
Rather that stopping it explicitly, the server was relying D2ClientMgr
to stop itself during its own destruction.  This was falling over during
process wind-down because the IfaceMgr singletone was being destroyed before
the D2ClientMgr instance.
The server destructor now explicitly stops the D2ClientMgr.

src/bin/dhcp4/dhcp4_messages.mes
    added DHCP4_SRV_D2STOP_ERROR log message

src/bin/dhcp4/dhcp4_srv.cc
    Dhcpv4Srv::stopD2() - new method stops the NCR sender, causing it to
    unregister its WathSocket from IfaceMgr

    Dhcpv4Srv::~Dhcpv4Srv() - added call to Dhcpv4Srv::stopD2()

src/bin/dhcp4/tests/dhcp4_process_tests.sh.in
    Enabled DNS updates in the CONFIG string.  This ensures the D2
    client will be started during system tests
2015-08-12 15:50:47 -04:00
Wlodek Wencel
ba81e891e7 [master] ChangeLog and dhcp6_messages reordered 2015-07-23 19:20:12 +02:00
Thomas Markwalder
223626338a [master] Corrected distcheck failure in cfgrpt
Merges branch 'trac3929'
2015-07-23 11:24:09 -04:00
Marcin Siodelski
380d6511af [master] Added ChangeLog entry for #3785. 2015-07-22 23:39:01 +02:00
Marcin Siodelski
a27d72ef3c [master] Merge branch 'trac3785' 2015-07-22 22:53:26 +02:00
Marcin Siodelski
e5701db4c9 [3785] Minor update to the gitignore for keactrl tests. 2015-07-22 22:49:38 +02:00
Marcin Siodelski
e97919a292 [3785] Simplified the unit test for keactrl status command. 2015-07-22 22:47:46 +02:00
Thomas Markwalder
c2c8a9087c [3929] pass input file path into mk_cfgrpt.sh
Added required input config report file parameter to
mk_cfgrpt.sh rather than having hard-coded by configure.

This allows cfgrpt/Makefile to pass in the pathname of
the report file it used in its "config_report.cc", as
the input report file.  In other words, we garuantee that
the file we used for change is the same file we generate
the source from.
2015-07-22 15:23:38 -04:00
Thomas Markwalder
37a9566461 [3929] Added basic unittests to src/lib/cfgrpt 2015-07-22 12:56:45 -04:00
Thomas Markwalder
7eaa1ec09c [3929] config_report.cc is now generated during src/lib/cfgrpt/Makefile
By generating config_report.cc in the cfgrpt directory Makefile
rather than configure, it can be treated as any other generated
source file, rather than a one-off special case.

Moved cfgrpt directory from bin to lib since it creates a library
rather than an executable.

mk_cfgrpt.sh is now generated by configure from a .in file and

Details:

configure.ac
   removed call to mk_cfgrpts.sh
   added mk_cfgprt.sh to list of files generated by configure

src/bin/Makefile.am
   removed cfgrpt dir

changed cfgrpt directory to lib
    src/bin/d2/Makefile.am
    src/bin/d2/tests/Makefile.am
    src/bin/dhcp4/Makefile.am
    src/bin/dhcp4/tests/Makefile.am
    src/bin/dhcp6/Makefile.am
    src/bin/dhcp6/tests/Makefile.am
    src/bin/lfc/Makefile.am
    src/bin/lfc/tests/Makefile.am
    src/bin/perfdhcp/Makefile.am
    src/bin/perfdhcp/tests/Makefile.am

src/lib/Makefile.am
    added cfgrpt dir

src/lib/cfgrpt/Makefile.am
    changed include dir to be in lib not dir
    added config_report.cc to CLEANFILES
    added config_report.cc to BUILD_SOURCES
    removed config_report.cc from libcfgrpt_la_SOURCES
    added rule for config_report.cc to call mk_cfgrpt.sh
2015-07-22 11:53:35 -04:00
Francis Dupont
576b7c95c7 [3785] Unembedded status_no_config_test 2015-07-22 16:45:29 +02:00
Francis Dupont
5c9becd5c7 [3785] Added missing files in .gitignore 2015-07-22 16:32:02 +02:00
Francis Dupont
f9e3fa0ea4 [3785] Terminated correctly .gitignore (i.e, added missing end of line) 2015-07-22 16:17:56 +02:00
Francis Dupont
a1e61f9165 [3785] Added *.saved to CLEANFILES 2015-07-22 16:14:55 +02:00