summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_upgrade
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-07-14 12:13:25 -0400
committerScott Dodson <sdodson@redhat.com>2017-07-18 12:03:17 -0400
commit5a94fe5b074d01a3b16db8a05c47c31e484e5ebe (patch)
treede1449bb64012c39228a156007f49aabfd4601ba /roles/openshift_node_upgrade
parent44fb8d5d9825bd5a708062dfe371763566d014e7 (diff)
downloadopenshift-5a94fe5b074d01a3b16db8a05c47c31e484e5ebe.tar.gz
openshift-5a94fe5b074d01a3b16db8a05c47c31e484e5ebe.tar.bz2
openshift-5a94fe5b074d01a3b16db8a05c47c31e484e5ebe.tar.xz
openshift-5a94fe5b074d01a3b16db8a05c47c31e484e5ebe.zip
Add drain retries after 60 second delay
Diffstat (limited to 'roles/openshift_node_upgrade')
-rw-r--r--roles/openshift_node_upgrade/README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/openshift_node_upgrade/README.md b/roles/openshift_node_upgrade/README.md
index 8b388cc6a..4e6229bfb 100644
--- a/roles/openshift_node_upgrade/README.md
+++ b/roles/openshift_node_upgrade/README.md
@@ -84,6 +84,11 @@ Including an example of how to use your role (for instance, with variables passe
command: >
{{ hostvars[groups.oo_first_master.0].openshift.common.admin_binary }} drain {{ openshift.node.nodename | lower }} --force --delete-local-data --ignore-daemonsets
delegate_to: "{{ groups.oo_first_master.0 }}"
+ register: l_docker_upgrade_drain_result
+ until: not l_docker_upgrade_drain_result | failed
+ retries: 60
+ delay: 60
+
roles:
- openshift_facts