The current configuration of keepalived makes it do
a curl on localhost:9999 in order to check the endpoint is alive.
Given the endpoint only binds on the vip addr, that doesn't work.
Fixes: https://tracker.ceph.com/issues/53807
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
frontend stats
mode http
bind {{ ip }}:{{ monitor_port }}
+ bind localhost:{{ monitor_port }}
stats enable
stats uri /stats
stats refresh 10s
'\nfrontend stats\n '
'mode http\n '
'bind 1.2.3.4:8999\n '
+ 'bind localhost:8999\n '
'stats enable\n '
'stats uri /stats\n '
'stats refresh 10s\n '