Add systemctl reload haproxy to the pacemaker_resource_restart.sh

As discussed in the related bug below, after upgrading your
environment to latest liberty the haproxy config isn't picked
up. This adds a systemctl reload haproxy in the pacemaker
resource restart we run as part of the post-puppet-pacemaker.

Related-Bug: 1561012
Change-Id: Iae3bad745ecdf952a7a0314fe1375d07eb47c454
This commit is contained in:
marios 2016-03-23 16:17:13 +02:00
parent 1dd6de571c
commit 843d25af04
1 changed files with 6 additions and 0 deletions

View File

@ -36,3 +36,9 @@ if [ "$pacemaker_status" = "active" -a \
check_resource httpd started 800
fi
if [ "$pacemaker_status" = "active" ]; then
# TODO(marios): remove this once +bug/1561012
# need this on all controllers:
systemctl reload haproxy
fi