[acassen/keepalived] 63ab63: Stop logging that preferred_lft has been set to 0

pqarmitage <[email protected]> Tue, 28 Mar 2017 06:48:44 -0700
Newsgroups gmane.linux.keepalived.devel
Message-ID <58da69bc88d6d_4d353fa7fe9bdc24101416@hookshot-fe6-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: 63ab63a58e015798c0b302c8c869ac70972d295d
      https://github.com/acassen/keepalived/commit/63ab63a58e015798c0b302c8c869ac70972d295d
  Author: Quentin Armitage <[email protected]>
  Date:   2017-03-25 (Sat, 25 Mar 2017)

  Changed paths:
    M keepalived/vrrp/vrrp_ipaddress.c

  Log Message:
  -----------
  Stop logging that preferred_lft has been set to 0

Some users are interpreting the message as a warning, and hence are
unnecessarily avoiding using a /128 netmask for IPv6 addresses. The
message doesn't really tell us anything useful, so remove it.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: f7cd991c6d7198fc111861b4da2fc38342d0fa04
      https://github.com/acassen/keepalived/commit/f7cd991c6d7198fc111861b4da2fc38342d0fa04
  Author: Quentin Armitage <[email protected]>
  Date:   2017-03-27 (Mon, 27 Mar 2017)

  Changed paths:
    M keepalived/core/global_data.c
    M keepalived/include/global_data.h
    M keepalived/include/vrrp.h
    M keepalived/include/vrrp_ipset.h
    M keepalived/include/vrrp_iptables.h
    M keepalived/include/vrrp_iptables_calls.h
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_daemon.c
    M keepalived/vrrp/vrrp_ipaddress.c
    M keepalived/vrrp/vrrp_ipset.c
    M keepalived/vrrp/vrrp_iptables.c
    M keepalived/vrrp/vrrp_iptables_calls.c

  Log Message:
  -----------
  Handle not being able to load ip_tables or ip6_tables modules

When running in a docker container it isn't possible to load kernel
modules, so we need to cleanly handle a failure to load the modules.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: dac727e1a7b676b38795d29909fb0658ed13fe17
      https://github.com/acassen/keepalived/commit/dac727e1a7b676b38795d29909fb0658ed13fe17
  Author: Quentin Armitage <[email protected]>
  Date:   2017-03-27 (Mon, 27 Mar 2017)

  Changed paths:
    M keepalived/check/check_api.c
    M keepalived/check/check_daemon.c
    M keepalived/check/check_data.c
    M keepalived/check/ipvswrapper.c
    M keepalived/check/ipwrapper.c
    M keepalived/check/libipvs.c
    M keepalived/core/keepalived_netlink.c

  Log Message:
  -----------
  Don't segfault if unable to load ip_vs module

In a docker container it isn't possible to load a kernel module. The
check code was detecting that it couldn't load the module, but the
checker process, when cleaning up prior to exiting, was assuming that
certain pointers had been initialised which hadn't been when an error
was detected so early in the initialisation.

This commit adds testing for uninitialised pointers during the exit
sequence.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 8cedfdb52913f05cc20fc441aea59f18672eca40
      https://github.com/acassen/keepalived/commit/8cedfdb52913f05cc20fc441aea59f18672eca40
  Author: Quentin Armitage <[email protected]>
  Date:   2017-03-27 (Mon, 27 Mar 2017)

  Changed paths:
    M keepalived/core/main.c

  Log Message:
  -----------
  Fix releasing malloc'd memory for saved core pattern

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 3316f2a4daf6f444737abe5663bbf3f62b11550a
      https://github.com/acassen/keepalived/commit/3316f2a4daf6f444737abe5663bbf3f62b11550a
  Author: Quentin Armitage <[email protected]>
  Date:   2017-03-27 (Mon, 27 Mar 2017)

  Changed paths:
    M keepalived/vrrp/vrrp_iptables_calls.c

  Log Message:
  -----------
  Fix memory leak when adding iptables entries

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: e90c7d6b9c1e60a4796bec1ec1b7643d9d539844
      https://github.com/acassen/keepalived/commit/e90c7d6b9c1e60a4796bec1ec1b7643d9d539844
  Author: Quentin Armitage <[email protected]>
  Date:   2017-03-27 (Mon, 27 Mar 2017)

  Changed paths:
    M keepalived/check/check_api.c
    M keepalived/check/check_data.c
    M keepalived/check/ipwrapper.c
    M keepalived/include/check_api.h

  Log Message:
  -----------
  Handle missing virtual server configuration

keepalived was segfaulting if a virtual server had no real servers
configured. There were also issues of checkers running even if there
was missing essential configuration from a virtual server which meant
it could be set up. The problems were a virtual server group specified
but it didn't exist, a virtual server group with no configuration, and
a virtual server address family not match the address family of a virtual
server group.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 47b5e44a45a7e8e921a0ceed9c07050acf8e6c8c
      https://github.com/acassen/keepalived/commit/47b5e44a45a7e8e921a0ceed9c07050acf8e6c8c
  Author: Quentin Armitage <[email protected]>
  Date:   2017-03-27 (Mon, 27 Mar 2017)

  Changed paths:
    M keepalived/vrrp/vrrp_ipset.c

  Log Message:
  -----------
  Don't attempt to remove ipsets if ipset handling not initialised

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 74a6c71f1b837015cd385f3e95ada124c62d79e5
      https://github.com/acassen/keepalived/commit/74a6c71f1b837015cd385f3e95ada124c62d79e5
  Author: Quentin Armitage <[email protected]>
  Date:   2017-03-27 (Mon, 27 Mar 2017)

  Changed paths:
    M keepalived/check/check_daemon.c

  Log Message:
  -----------
  Delay initialising IPVS until affter processing configuration

If IPVS isn't configured, there is not point in loading the ip_vs
module.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: f1bdc020541e27a088975de7523fcf2516a5856f
      https://github.com/acassen/keepalived/commit/f1bdc020541e27a088975de7523fcf2516a5856f
  Author: Quentin Armitage <[email protected]>
  Date:   2017-03-28 (Tue, 28 Mar 2017)

  Changed paths:
    M keepalived/core/keepalived_netlink.c

  Log Message:
  -----------
  Fix conditional compilation tests for _HAVE_LIBNL3_

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: d071efca7b4382f9e7a39c5bd24903db292ea085
      https://github.com/acassen/keepalived/commit/d071efca7b4382f9e7a39c5bd24903db292ea085
  Author: Quentin Armitage <[email protected]>
  Date:   2017-03-28 (Tue, 28 Mar 2017)

  Changed paths:
    M keepalived/check/check_misc.c
    M keepalived/include/check_misc.h

  Log Message:
  -----------
  Make dynamic flag bool

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: c736fa03f717a9c133f929ad6018b821c17fb83e
      https://github.com/acassen/keepalived/commit/c736fa03f717a9c133f929ad6018b821c17fb83e
  Author: Quentin Armitage <[email protected]>
  Date:   2017-03-28 (Tue, 28 Mar 2017)

  Changed paths:
    M lib/scheduler.c

  Log Message:
  -----------
  Don't report exit status of misc_check scripts

The result of a change in status from a misc_check script is reported
by the code anyway, so to log any non-zero exit code is superfluous and
annoying.

Signed-off-by: Quentin Armitage <[email protected]>


  Commit: 9a956740884dbcff0eb9d514579757895fdb7336
      https://github.com/acassen/keepalived/commit/9a956740884dbcff0eb9d514579757895fdb7336
  Author: Quentin Armitage <[email protected]>
  Date:   2017-03-28 (Tue, 28 Mar 2017)

  Changed paths:
    M doc/samples/keepalived.conf.IPv6
    M doc/samples/keepalived.conf.track_interface

  Log Message:
  -----------
  Merge branch 'master' into fixes


  Commit: 2a5e7f27264d564340d3331b35e8164b562931fe
      https://github.com/acassen/keepalived/commit/2a5e7f27264d564340d3331b35e8164b562931fe
  Author: pqarmitage <[email protected]>
  Date:   2017-03-28 (Tue, 28 Mar 2017)

  Changed paths:
    M keepalived/check/check_api.c
    M keepalived/check/check_daemon.c
    M keepalived/check/check_data.c
    M keepalived/check/check_misc.c
    M keepalived/check/ipvswrapper.c
    M keepalived/check/ipwrapper.c
    M keepalived/check/libipvs.c
    M keepalived/core/global_data.c
    M keepalived/core/keepalived_netlink.c
    M keepalived/core/main.c
    M keepalived/include/check_api.h
    M keepalived/include/check_misc.h
    M keepalived/include/global_data.h
    M keepalived/include/vrrp.h
    M keepalived/include/vrrp_ipset.h
    M keepalived/include/vrrp_iptables.h
    M keepalived/include/vrrp_iptables_calls.h
    M keepalived/vrrp/vrrp.c
    M keepalived/vrrp/vrrp_daemon.c
    M keepalived/vrrp/vrrp_ipaddress.c
    M keepalived/vrrp/vrrp_ipset.c
    M keepalived/vrrp/vrrp_iptables.c
    M keepalived/vrrp/vrrp_iptables_calls.c
    M lib/scheduler.c

  Log Message:
  -----------
  Merge pull request #566 from pqarmitage/fixes

Improve loading kernel modules, loading libraries and sundry fixes


Compare: https://github.com/acassen/keepalived/compare/67abdbe42ede...2a5e7f27264d

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel