support disabling keepalived healthcheck
Bug #1890900 reported by
Edward Hope-Morley
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Neutron Gateway Charm |
Fix Released
|
High
|
Edward Hope-Morley | ||
OpenStack Neutron Open vSwitch Charm |
Fix Released
|
High
|
Edward Hope-Morley |
Bug Description
We have observed that neutron l3ha can get into a situation where continuously failing healthchecks can themselves cause other nodes to fail their heathchecks of the keepalived doesnt perform IP address cleanup and arp refresh fast enough. As a result we need to be able to temporarily disable healthchecks.
Changed in charm-neutron-gateway: | |
assignee: | nobody → Edward Hope-Morley (hopem) |
Changed in charm-neutron-openvswitch: | |
assignee: | nobody → Edward Hope-Morley (hopem) |
tags: | added: sts |
Changed in charm-neutron-gateway: | |
status: | Fix Committed → Fix Released |
Changed in charm-neutron-openvswitch: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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