From 6938bf12715ab8282f9143a8d8216f1a4c0d7c9d Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Tue, 5 Nov 2024 16:45:09 +0100 Subject: [PATCH] Add retries for UC fetching over HTTP In CI we've spotted multiple occurances of connection timeouts towards Gitea resulting in intermittent failures. A retry is being added here to reduce risk of intermittent failures. Change-Id: Ic13fc1d62fae1125661b5ca193f25e2fadd6fdb9 --- tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index ebaab2f..42562fb 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -55,6 +55,9 @@ url: "{{ rally_upper_constraints_url }}" return_content: yes register: _u_c_contents_uri + until: _u_c_contents_uri is success + retries: 5 + delay: 5 check_mode: false when: rally_openstack_git_repo is search('http')