Skip to content

production: Migrate clients to use banco's pathslicing objstorage

Antoine R. Dumont requested to merge migrate-multiplexer-to-use-banco into production
helm diff
[swh] Comparing changes between branches production and migrate-multiplexer-to-use-banco (per environment)...
Your branch is up to date with 'origin/production'.
[swh] Generate config in production branch for environment staging, namespace swh...
[swh] Generate config in production branch for environment staging, namespace swh-cassandra...
[swh] Generate config in production branch for environment staging, namespace swh-cassandra-next-version...
[swh] Generate config in migrate-multiplexer-to-use-banco branch for environment staging...
[swh] Generate config in migrate-multiplexer-to-use-banco branch for environment staging...
[swh] Generate config in migrate-multiplexer-to-use-banco branch for environment staging...
Your branch is up to date with 'origin/production'.
[swh] Generate config in production branch for environment production, namespace swh...
[swh] Generate config in production branch for environment production, namespace swh-cassandra...
[swh] Generate config in production branch for environment production, namespace swh-cassandra-next-version...
[swh] Generate config in migrate-multiplexer-to-use-banco branch for environment production...
[swh] Generate config in migrate-multiplexer-to-use-banco branch for environment production...
[swh] Generate config in migrate-multiplexer-to-use-banco branch for environment production...


------------- diff for environment staging namespace swh -------------

No differences


------------- diff for environment staging namespace swh-cassandra -------------

No differences


------------- diff for environment staging namespace swh-cassandra-next-version -------------

No differences


------------- diff for environment production namespace swh -------------

--- /tmp/swh-chart.swh.hq5fFDaO/production-swh.before   2024-01-30 10:20:34.694632036 +0100
+++ /tmp/swh-chart.swh.hq5fFDaO/production-swh.after    2024-01-30 10:20:35.266631201 +0100
@@ -6122,21 +6122,21 @@
 data:
   config.yml.template: |
     objstorage:
       cls: multiplexer
       objstorages:
       - cls: filtered
         filters_conf:
         - type: readonly
         storage_conf:
           cls: remote
-          url: http://banco.internal.softwareheritage.org:5003/
+          url: http://objstorage-ro-banco-xfs-rpc-ingress
       - cls: filtered
         filters_conf:
         - type: readonly
         storage_conf:
           cls: remote
           url: http://objstorage-ro-saam-zfs-rpc-ingress
 ---
 # Source: swh/templates/objstorage/configmap.yaml
 apiVersion: v1
 kind: ConfigMap
@@ -6609,21 +6609,21 @@
             compression: gzip
             timeout: 120
             url: https://softwareheritage.s3.amazonaws.com/content/
           - cls: remote
             url: http://objstorage-ro-saam-zfs-rpc-ingress
           - cls: filtered
             filters_conf:
             - type: readonly
             storage_conf:
               cls: remote
-              url: http://banco.internal.softwareheritage.org:5003/
+              url: http://objstorage-ro-banco-xfs-rpc-ingress
           - cls: filtered
             filters_conf:
             - type: readonly
             storage_conf:
               accounts:
                 "0":
                   account_name: ${ACCOUNT_NAME_0}
                   api_secret_key: ${API_SECRET_KEY_0}
                   container_name: contents
                 "1":
@@ -7273,21 +7273,21 @@
         compression: gzip
         timeout: 120
         url: https://softwareheritage.s3.amazonaws.com/content/
       - cls: remote
         url: http://objstorage-ro-saam-zfs-rpc-ingress
       - cls: filtered
         filters_conf:
         - type: readonly
         storage_conf:
           cls: remote
-          url: http://banco.internal.softwareheritage.org:5003/
+          url: http://objstorage-ro-banco-xfs-rpc-ingress
       - cls: filtered
         filters_conf:
         - type: readonly
         storage_conf:
           accounts:
             "0":
               account_name: ${ACCOUNT_NAME_0}
               api_secret_key: ${API_SECRET_KEY_0}
               container_name: contents
             "1":
@@ -28523,21 +28523,21 @@
       app: objstorage-read-only
   strategy:
     type: RollingUpdate
     rollingUpdate:
       maxSurge: 1
   template:
     metadata:
       labels:
         app: objstorage-read-only
       annotations:
-        checksum/config: fb0c8f4257f3ed65cc0038d66fcd895a210e8651bf9ef1bd4c7b3b79072995ba
+        checksum/config: 4a8f809f6ab622fee5f212844cad7ae3c92d16df8fc1a5d44ace5f37c6fb108d
         checksum/config-utils: d75ca13b805bce6a8ab59c8e24c938f2283108f6a79134f6e71db86308651dc6
     spec:
       affinity:
         nodeAffinity:
           requiredDuringSchedulingIgnoredDuringExecution:
             nodeSelectorTerms:
             - matchExpressions:
               - key: swh/objstorage
                 operator: In
                 values:
@@ -31521,21 +31521,21 @@
       app: storage-postgresql-azure-readonly
   strategy:
     type: RollingUpdate
     rollingUpdate:
       maxSurge: 1
   template:
     metadata:
       labels:
         app: storage-postgresql-azure-readonly
       annotations:
-        checksum/config: ffb50a230a560c35a01ecf8877bca2d7959425d9ab8062d08bc22418657d4e94
+        checksum/config: 0df08fe07b48ebfcfd5668efeb13e0dc3c7abb0805f26e9a539a5b881829ea55
         checksum/database-utils: 931b7f92b50eae0ecb6203c3e0e48f7c363a99ac0064451187dc12c6eaf0a793
         checksum/config-utils: d75ca13b805bce6a8ab59c8e24c938f2283108f6a79134f6e71db86308651dc6
     spec:
       affinity:
         nodeAffinity:
           requiredDuringSchedulingIgnoredDuringExecution:
             nodeSelectorTerms:
             - matchExpressions:
               - key: swh/storage
                 operator: In
@@ -32606,21 +32606,21 @@
       app: vault-rpc
   strategy:
     type: RollingUpdate
     rollingUpdate:
       maxSurge: 1
   template:
     metadata:
       labels:
         app: vault-rpc
       annotations:
-        checksum/config: d098d1914675d83390a4810f3cbb99ed15e02eadebc316f64ef184a0d0620db3
+        checksum/config: 4355e97009d3821c8fb0718f8a6c7f602a14c7a1f9f280960d2c563e65fcecf5
     spec:
       affinity:
         nodeAffinity:
           requiredDuringSchedulingIgnoredDuringExecution:
             nodeSelectorTerms:
             - matchExpressions:
               - key: swh/rpc
                 operator: In
                 values:
                 - "true"


------------- diff for environment production namespace swh-cassandra -------------

--- /tmp/swh-chart.swh.hq5fFDaO/production-swh-cassandra.before 2024-01-30 10:20:34.866631784 +0100
+++ /tmp/swh-chart.swh.hq5fFDaO/production-swh-cassandra.after  2024-01-30 10:20:35.454630927 +0100
@@ -1127,21 +1127,21 @@
             compression: gzip
             timeout: 120
             url: https://softwareheritage.s3.amazonaws.com/content/
           - cls: remote
             url: http://objstorage-ro-saam-zfs-rpc-ingress
           - cls: filtered
             filters_conf:
             - type: readonly
             storage_conf:
               cls: remote
-              url: http://banco.internal.softwareheritage.org:5003/
+              url: http://objstorage-ro-banco-xfs-rpc-ingress
           - cls: filtered
             filters_conf:
             - type: readonly
             storage_conf:
               accounts:
                 "0":
                   account_name: ${ACCOUNT_NAME_0}
                   api_secret_key: ${API_SECRET_KEY_0}
                   container_name: contents
                 "1":
@@ -14153,21 +14153,21 @@
       app: storage-cassandra-readonly
   strategy:
     type: RollingUpdate
     rollingUpdate:
       maxSurge: 1
   template:
     metadata:
       labels:
         app: storage-cassandra-readonly
       annotations:
-        checksum/config: 90e169b24b1f8947024341fa6019b641cd5343ad074d2447f25f95c24b561c4d
+        checksum/config: a462042990677f75734be67b3ae604b38c439ce883d4c0afc394417a4aa2da59
         checksum/database-utils: 367f28d8854b3b188d7a45015752b10be8e691f0c3b2a21db02501e655b932f0
         checksum/config-utils: 13a26f6add17e96ce01550153c77dcd48de60241a3f4db3c93d5467234be2a7f
     spec:
       affinity:
         nodeAffinity:
           requiredDuringSchedulingIgnoredDuringExecution:
             nodeSelectorTerms:
             - matchExpressions:
               - key: swh/storage
                 operator: In

Refs. swh/infra/sysadm-environment#5226 (closed)

Edited by Antoine R. Dumont

Merge request reports