Skip to content

Releases: unixsurfer/anycast_healthchecker

Release 0.8.0 version

29 Nov 15:23
0.8.0
cdf7c18
Compare
Choose a tag to compare

This release introduces two major changes that are incompatible with older releases.

The first is about the making anycast-healthchecker a simple program that runs in the foreground rather being a daemon. We offload the demonization property to systemd.

The second change is about logging. In previous releases, we could send JSON logging to a remote HTTP entry point. That part of the code wasn't that configurable and in some cases, it was slowing down our work as HTTP requests were done in blocking mode. We refactored the logging property of anycast-healthchecker in such way that by default sends logging messages to STDOUT and errors for unhandled exceptions to STDERR, but it can be configured to write to a log file, as with the older releases, and at the same time send log messages to UDP syslog server. JSON formatted logs can be enabled as well for sending logs to STDOUT, log file and log server.

Changelog:

  • Fix a typo in README
  • Remove trailing whitespace character
  • Add Carlo Rengo in the contributers list
  • Grammar fixes to improve readability
  • Remove unnecessary sub-classing
  • Remove unnecessary pylint config
  • Dynamically set width in log formatter
  • Fix typo in comment
  • Print a more meaningful message
  • Catch the case where pid is higher than allowed
  • Rephrase some docstrings
  • Remove from local_run.sh redundant settings
  • Refuse to start if one IP address is used by multiple service checks
  • MAJOR: Drop support for daemonization
  • Make docstrings compatible with EP257

Release 0.7.4 version

03 May 11:08
0.7.4
4fb99e2
Compare
Choose a tag to compare

This release fixes various small issues and comes with better code for the sanity check on bird settings.

The setting on_disabled for service check was incorrectly written in the readme and also in the default values. This typo hasn't caused any troubles as users always set this setting and therefore we never had to fail back to the default. We even managed to have a typo in the commit message for that fix!.

We also fixed another corner case where if a user sets ip_prefix without the prefix length ( 1.1.1.1 rather 1.1.1.1/32) then we remove that IP prefix from the bird configuration.

Last but not least, we re-factored the code for various sanity check and @shaneramey fixed yet another typo in the setup.cfg, which caused installations troubles for request module.

I believe this will be the last release for 0.7.x version and I would like to focus on 0.8.0 development, where we are going to drop daemon mode (offload this to systemd) and simplify the code around logging.

Changelog:

  • Update copyright
  • Make sure we return the prefix length
  • Add a 2nd IPv6 service check
  • Reorder functions in utils module
  • Refactor the way we check our bird settings
  • Move the check for a directory to sanity check function
  • Fail sanity check when config file and dir don't exist
  • Fix incorrect format for enumerated list in README
  • fix typo reqeusts->requests (issue #9)
  • Mention that IPv6 or v4 is disabled for our software
  • Fix type in on_disabled setting
  • Add puppet module
  • Mention that parent directories for log and pifile files must be present

Release 0.7.1 version

07 Jan 16:58
0.7.1
0aa4278
Compare
Choose a tag to compare

This release fixes an issue with the keep_changes parameter, which results in enabling the functionality of keeping a history of changes in bird_conf even when it is set to false. This bug affects also the bird configuration for IPv6. We also fix a typo in the sanity check, which prevents the sanity check to catch missing Bird configuration for IPv6.

We now support floating numbers for check_timeout and check_interval parameters of service check. We also instruct systemd to restart the daemon upon failure. Last but not least, we clean up local_run.sh script.

Changelog:

  • Update local_run.sh with latest config
  • Don't handle bird configuration in local_run.sh
  • Allow floating numbers for check_[timeout,interval]
  • Instruct Systemd to restart daemon upon failure
  • Use standard path rather our custom one
  • Mention that prefix length is optional
  • Fetch the correct parameter name
  • Return boolean value instead of a string
  • Update example anycast-healthchecker.conf