summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-03-24 18:00:09 +0000
committerGerrit Code Review <review@openstack.org>2016-03-24 18:00:09 +0000
commit0e6071d3958140f6e4deb52bf4cecb7e2b21e82b (patch)
tree37ec165b0e93f03d6ffd18b8fd5780de9b6d8651
parent19e44d2a61d31982b76e3ac9d0e8bb90f9ca57e1 (diff)
parent843d25af04f58d033e12c2c3d619303d7fd8bb02 (diff)
Merge "Add systemctl reload haproxy to the pacemaker_resource_restart.sh"
-rwxr-xr-xextraconfig/tasks/pacemaker_resource_restart.sh6
1 files changed, 6 insertions, 0 deletions
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