summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc/upgrades
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2015-11-06 14:20:52 -0500
committerAndrew Butcher <abutcher@redhat.com>2015-11-06 14:20:52 -0500
commite1aa8fb073349f44cc9b3f2b6133969b01f63c5b (patch)
tree231ce7a734da11e1759874833d653d97e6992796 /playbooks/adhoc/upgrades
parente250f4712eecace09ee37bcfa116206e765d0076 (diff)
downloadopenshift-e1aa8fb073349f44cc9b3f2b6133969b01f63c5b.tar.gz
openshift-e1aa8fb073349f44cc9b3f2b6133969b01f63c5b.tar.bz2
openshift-e1aa8fb073349f44cc9b3f2b6133969b01f63c5b.tar.xz
openshift-e1aa8fb073349f44cc9b3f2b6133969b01f63c5b.zip
Wait for cluster to recover after pcs resource restart.
Diffstat (limited to 'playbooks/adhoc/upgrades')
-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]