summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2015-11-06 15:58:56 -0500
committerJason DeTiberus <detiber@gmail.com>2015-11-06 15:58:56 -0500
commiteec5e61daf1bd0ef773c21180ae642fafe23e3df (patch)
treea24e8fcc383735ceb801e0ac7369a7b2a61d72f3 /playbooks/adhoc
parente250f4712eecace09ee37bcfa116206e765d0076 (diff)
parentaa0746600ed64b2b2f61eb83f634bccdfa4c5be2 (diff)
downloadopenshift-eec5e61daf1bd0ef773c21180ae642fafe23e3df.tar.gz
openshift-eec5e61daf1bd0ef773c21180ae642fafe23e3df.tar.bz2
openshift-eec5e61daf1bd0ef773c21180ae642fafe23e3df.tar.xz
openshift-eec5e61daf1bd0ef773c21180ae642fafe23e3df.zip
Merge pull request #52 from abutcher/pcs-restart-master3
Wait for cluster to recover after pcs resource restart.
Diffstat (limited to 'playbooks/adhoc')
-rw-r--r--playbooks/adhoc/upgrades/upgrade.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/playbooks/adhoc/upgrades/upgrade.yml b/playbooks/adhoc/upgrades/upgrade.yml
index 003e8f397..02847eab3 100644
--- a/playbooks/adhoc/upgrades/upgrade.yml
+++ b/playbooks/adhoc/upgrades/upgrade.yml
@@ -323,6 +323,14 @@
- name: Restart master cluster
command: pcs resource restart master
when: openshift_master_ha | bool
+ - name: Wait for the clustered master service to be available
+ wait_for:
+ host: "{{ openshift_master_cluster_vip }}"
+ port: 8443
+ state: started
+ timeout: 180
+ delay: 90
+ when: openshift_master_ha | bool
- name: Upgrade default router and registry
hosts: masters[0]