From e75624285463cfae83a3a73c256fdefc36fc4637 Mon Sep 17 00:00:00 2001 From: Vadim Rutkovsky Date: Mon, 8 Oct 2018 17:14:25 +0200 Subject: [PATCH] Increase number of retries in sync DS This would ensure sync DS annotation check passes on installs with slow nodes (or a large number of nodes) --- roles/openshift_manage_node/tasks/config.yml | 2 +- roles/openshift_node_group/tasks/sync.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/openshift_manage_node/tasks/config.yml b/roles/openshift_manage_node/tasks/config.yml index 83a397fd505..62f9e4cbe30 100644 --- a/roles/openshift_manage_node/tasks/config.yml +++ b/roles/openshift_manage_node/tasks/config.yml @@ -24,6 +24,6 @@ | map(attribute='metadata.annotations') | map('list') | flatten | select('match', 'node.openshift.io/md5sum') | list | length == node_status.results.results[0]['items'] | length - retries: 60 + retries: 180 delay: 10 delegate_to: "{{ openshift_master_host }}" diff --git a/roles/openshift_node_group/tasks/sync.yml b/roles/openshift_node_group/tasks/sync.yml index 7c3ac00761c..52a588363ab 100644 --- a/roles/openshift_node_group/tasks/sync.yml +++ b/roles/openshift_node_group/tasks/sync.yml @@ -94,7 +94,7 @@ | map(attribute='metadata.annotations') | map('list') | flatten | select('match', 'node.openshift.io/md5sum') | list | length == node_status.results.results[0]['items'] | length - retries: 60 + retries: 180 delay: 10 # Sync DS may have restarted masters