From 843d25af04f58d033e12c2c3d619303d7fd8bb02 Mon Sep 17 00:00:00 2001 From: marios Date: Wed, 23 Mar 2016 16:17:13 +0200 Subject: 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 --- extraconfig/tasks/pacemaker_resource_restart.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/extraconfig/tasks/pacemaker_resource_restart.sh b/extraconfig/tasks/pacemaker_resource_restart.sh index b2bdc55a..09a452e6 100755 --- a/extraconfig/tasks/pacemaker_resource_restart.sh +++ b/extraconfig/tasks/pacemaker_resource_restart.sh @@ -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 -- cgit 1.2.3-korg