Page MenuHomeSoftware Heritage

cooker: Add retry behavior on storage instance
ClosedPublic

Authored by ardumont on Jan 25 2021, 3:40 PM.

Details

Summary

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

Diff Detail

Repository
rSPSITE puppet-swh-site
Branch
staging
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 18719
Build 28974: arc lint + arc unit