Comment 1 for bug 1890900

Revision history for this message
Edward Hope-Morley (hopem) wrote :

Another thing that would be good to adjust is the number of pings that are tried before a failure is declared. Currently the healthcheck looks like:

#!/bin/bash -eu
ip a | grep 192.168.100.22 || exit 0
ping -c 1 -w 1 10.5.150.1 1>/dev/null || exit 1

But the number of pings is not configurable:

https://github.com/openstack/neutron/blob/master/neutron/agent/linux/keepalived.py#L558