Skip to content

Commit fa813b9

Browse files
committed
Increase default delay between download retries
From my experience on our testing environments, e.g. when there is problem accessing REPOMD.xml file, the current default default of 5 seconds is not realistic. If repo is temporarily unavailable, it usually takes a few minutes before it is back online. Hence, let's use at least a minute between retries.
1 parent bcc2c75 commit fa813b9

File tree

22 files changed

+22
-22
lines changed

22 files changed

+22
-22
lines changed

roles/edpm_bootstrap/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020

2121
# seconds between retries for download tasks
22-
edpm_bootstrap_download_delay: "{{ edpm_download_delay | default(5) }}"
22+
edpm_bootstrap_download_delay: "{{ edpm_download_delay | default(60) }}"
2323

2424
# number of retries for download tasks
2525
edpm_bootstrap_download_retries: "{{ edpm_download_retries | default(5) }}"

roles/edpm_frr/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ edpm_frr_volumes:
8686
- /run/frr:/run/frr:shared,z
8787

8888
# seconds between retries for download tasks
89-
edpm_frr_images_download_delay: "{{ edpm_download_delay | default(5) }}"
89+
edpm_frr_images_download_delay: "{{ edpm_download_delay | default(60) }}"
9090

9191
# number of retries for download tasks
9292
edpm_frr_images_download_retries: "{{ edpm_download_retries | default(5) }}"

roles/edpm_iscsid/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# All variables within this role should have a prefix of "edpm_iscsid"
2121

2222
# seconds between retries for download tasks
23-
edpm_iscsid_image_download_delay: "{{ edpm_download_delay | default(5) }}"
23+
edpm_iscsid_image_download_delay: "{{ edpm_download_delay | default(60) }}"
2424

2525
# number of retries for download tasks
2626
edpm_iscsid_image_download_retries: "{{ edpm_download_retries | default(5) }}"

roles/edpm_kernel/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# All variables intended for modification should be placed in this file.
1919

2020
# seconds between retries for download tasks
21-
edpm_kernel_download_delay: "{{ edpm_download_delay | default(5) }}"
21+
edpm_kernel_download_delay: "{{ edpm_download_delay | default(60) }}"
2222

2323
# number of retries for download tasks
2424
edpm_kernel_download_retries: "{{ edpm_download_retries | default(5) }}"

roles/edpm_libvirt/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# service name this role manages
2323
edpm_libvirt_service_name: libvirt
2424
# seconds between retries for download tasks
25-
edpm_libvirt_download_delay: "{{ edpm_download_delay | default(5) }}"
25+
edpm_libvirt_download_delay: "{{ edpm_download_delay | default(60) }}"
2626
# number of retries for download tasks
2727
edpm_libvirt_download_retries: "{{ edpm_download_retries | default(5) }}"
2828
# this sould map to the libvirt

roles/edpm_logrotate_crond/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# All variables within this role should have a prefix of "edpm_logrotate_crond"
2121

2222
# seconds between retries for download tasks
23-
edpm_logrotate_crond_download_delay: "{{ edpm_download_delay | default(5) }}"
23+
edpm_logrotate_crond_download_delay: "{{ edpm_download_delay | default(60) }}"
2424

2525
# number of retries for download tasks
2626
edpm_logrotate_crond_download_retries: "{{ edpm_download_retries | default(5) }}"

roles/edpm_multipathd/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ edpm_container_cli: "{{ container_cli | default('podman') }}"
1919
# All variables intended for modification should be placed in this file.
2020

2121
edpm_multipathd_image: "quay.io/podified-antelope-centos9/openstack-multipathd:current-podified"
22-
edpm_multipathd_image_download_delay: "{{ edpm_download_delay | default(5) }}"
22+
edpm_multipathd_image_download_delay: "{{ edpm_download_delay | default(60) }}"
2323
edpm_multipathd_image_download_retries: "{{ edpm_download_retries | default(5) }}"
2424

2525
edpm_multipathd_command: "/usr/sbin/multipathd -d"

roles/edpm_network_config/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ edpm_network_config_systemrole_nmstate_dependencies:
3535
- NetworkManager-ovs
3636

3737
# seconds between retries for download tasks
38-
edpm_network_config_download_delay: "{{ edpm_download_delay | default(5) }}"
38+
edpm_network_config_download_delay: "{{ edpm_download_delay | default(60) }}"
3939

4040
# number of retries for download tasks
4141
edpm_network_config_download_retries: "{{ edpm_download_retries | default(5) }}"

roles/edpm_neutron_dhcp/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
edpm_neutron_dhcp_service_name: neutron-dhcp
2323

2424
# seconds between retries for download tasks
25-
edpm_neutron_dhcp_images_download_delay: "{{ edpm_download_delay | default(5) }}"
25+
edpm_neutron_dhcp_images_download_delay: "{{ edpm_download_delay | default(60) }}"
2626

2727
# number of retries for download tasks
2828
edpm_neutron_dhcp_images_download_retries: "{{ edpm_download_retries | default(5) }}"

roles/edpm_neutron_metadata/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
edpm_neutron_metadata_service_name: neutron-metadata
66

77
# seconds between retries for download tasks
8-
edpm_neutron_metadata_images_download_delay: "{{ edpm_download_delay | default(5) }}"
8+
edpm_neutron_metadata_images_download_delay: "{{ edpm_download_delay | default(60) }}"
99

1010
# number of retries for download tasks
1111
edpm_neutron_metadata_images_download_retries: "{{ edpm_download_retries | default(5) }}"

0 commit comments

Comments
 (0)