Description of problem: When deploying an OSP15 undercloud, I can see errors logged by keepalived when it monitors the VIPs configured on the host: 2019-04-16T11:55:57.368030988+00:00 stderr F Tue Apr 16 11:55:57 2019: ------< VRRP Scripts >------ 2019-04-16T11:55:57.368030988+00:00 stderr F Tue Apr 16 11:55:57 2019: VRRP Script = haproxy 2019-04-16T11:55:57.368030988+00:00 stderr F Tue Apr 16 11:55:57 2019: Command = '/usr/bin/test' '-S' '/var/lib/haproxy/stats' '&&' 'echo' 'show' [...] 2019-04-16T11:55:57.371142270+00:00 stderr F Tue Apr 16 11:55:57 2019: Script `haproxy` now returning 2 2019-04-16T11:55:57.371142270+00:00 stderr F Tue Apr 16 11:55:57 2019: VRRP_Script(haproxy) failed (exited with status 2) This is because the keepalived config uses the a script that has quoting issues and lacks call to /bin/sh: vrrp_script haproxy { script "test -S /var/lib/haproxy/stats && echo "show info" | socat /var/lib/haproxy/stats stdio" interval 2 weight 2 } Note: Even if keepalived is still running, I don't think the VIP monitoring is still effective at this point. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Deploy an undercloud Actual results: keepalived logs errors Expected results: VIP probe should succeed Additional info:
Fix merged in Master (Train) Review backported to Stein upstream [1] [1] https://review.opendev.org/#/c/655421/
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:2811