From 28f9e1f93df11c8d7354a630614cec040dd51e13 Mon Sep 17 00:00:00 2001 From: Vadim Rutkovsky Date: Fri, 12 Oct 2018 13:54:23 +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 e5e5b3df901..b3de5d154fb 100644 --- a/roles/openshift_manage_node/tasks/config.yml +++ b/roles/openshift_manage_node/tasks/config.yml @@ -24,7 +24,7 @@ | map(attribute='metadata.annotations') | list | oo_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 }}" when: not skip_sync_annotations_check diff --git a/roles/openshift_node_group/tasks/sync.yml b/roles/openshift_node_group/tasks/sync.yml index 3353dc82c9b..a191a15f853 100644 --- a/roles/openshift_node_group/tasks/sync.yml +++ b/roles/openshift_node_group/tasks/sync.yml @@ -89,7 +89,7 @@ | map(attribute='metadata.annotations') | list | oo_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