cooker: Add retry behavior on storage instance
Related to T2862
Test Plan
octocatalog-diff worker1.internal.staging.swh.network:
*******************************************
File[/etc/softwareheritage/vault_cooker.yml] =>
parameters =>
content =>
@@ -1,7 +1,9 @@
---
storage:
- cls: remote
- args:
- url: http://storage1.internal.staging.swh.network:5002/
+ cls: retry
+ storage:
+ cls: remote
+ args:
+ url: http://storage1.internal.staging.swh.network:5002/
vault:
cls: remote
*******************************************
*** End octocatalog-diff on worker1.internal.staging.swh.network
or on azure node (prod):
*******************************************
File[/etc/softwareheritage/vault_cooker.yml] =>
parameters =>
content =>
@@ -1,7 +1,9 @@
---
storage:
- cls: remote
- args:
- url: http://storage01.euwest.azure.internal.softwareheritage.org:5002/
+ cls: retry
+ storage:
+ cls: remote
+ args:
+ url: http://storage01.euwest.azure.internal.softwareheritage.org:5002/
vault:
cls: remote
*******************************************
*** End octocatalog-diff on worker11.euwest.azure.internal.softwareheritage.org
Migrated from D4941 (view on Phabricator)