From 1926e6e11e02faee7aba2e29d3d7e131425c5e25 Mon Sep 17 00:00:00 2001 From: Jimmy McCrory Date: Sun, 18 Sep 2016 20:56:14 -0700 Subject: [PATCH] Run haproxy playbook earlier within upgrade script Changes and new services, in particular apt-cacher-ng, have been made and added to haproxy_default_services between Mitaka and Newton that require haproxy be reconfigured prior to running the playbook of any other infrastructure service. Change-Id: Idd4180f7af78b23b6f241a861b66187f2b05f658 --- scripts/run-upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-upgrade.sh b/scripts/run-upgrade.sh index 09f94d1984..ef89611923 100755 --- a/scripts/run-upgrade.sh +++ b/scripts/run-upgrade.sh @@ -157,6 +157,7 @@ function main { RUN_TASKS+=("setup-hosts.yml --limit '!galera_all'") # add new container config to galera containers but don't restart RUN_TASKS+=("lxc-containers-create.yml -e 'lxc_container_allow_restarts=false' --limit galera_all") + RUN_TASKS+=("haproxy-install.yml") # rebuild the repo servers RUN_TASKS+=("repo-install.yml") RUN_TASKS+=("${UPGRADE_PLAYBOOKS}/repo-server-pip-conf-removal.yml") @@ -166,7 +167,6 @@ function main { # explicitly perform controlled galera cluster restart RUN_TASKS+=("${UPGRADE_PLAYBOOKS}/galera-cluster-rolling-restart.yml") # individually run each of the remaining plays from setup-infrastructure - RUN_TASKS+=("haproxy-install.yml") RUN_TASKS+=("memcached-install.yml") RUN_TASKS+=("rabbitmq-install.yml -e 'rabbitmq_upgrade=true'") RUN_TASKS+=("utility-install.yml")