diff --git a/docker/services/keepalived.yaml b/docker/services/keepalived.yaml index d48e8f4b33..9ba404db15 100644 --- a/docker/services/keepalived.yaml +++ b/docker/services/keepalived.yaml @@ -60,7 +60,7 @@ outputs: config_settings: map_merge: - get_attr: [KeepalivedBase, role_data, config_settings] - - tripleo::keepalived:custom_vrrp_script: 'echo "show info" | socat unix-connect:/var/lib/haproxy/haproxy.sock stdio > /dev/null' + - tripleo::keepalived:custom_vrrp_script: 'test -S /var/lib/haproxy/stats && echo "show info" | socat /var/lib/haproxy/stats stdio' logging_source: {get_attr: [KeepalivedBase, role_data, logging_source]} logging_groups: {get_attr: [KeepalivedBase, role_data, logging_groups]} service_config_settings: {get_attr: [KeepalivedBase, role_data, service_config_settings]}