Page MenuHomeSoftware Heritage
Feed Advanced Search

Mar 22 2021

vsellier requested review of D5296: Add swh-counters deployment configuration.
Mar 22 2021, 8:32 AM
vsellier added a revision to T3159: Deploy swh-counters:v0.1.0 in staging: D5296: Add swh-counters deployment configuration.
Mar 22 2021, 8:32 AM · Staging environment, System administration, Monitoring
vsellier committed rSPPRIVC4b18183f034c: Add sentry token for swh-counters (authored by vsellier).
Add sentry token for swh-counters
Mar 22 2021, 8:16 AM

Mar 21 2021

vsellier committed rSENV70552433dbea: vagrant: add staging-counters0 (authored by vsellier).
vagrant: add staging-counters0
Mar 21 2021, 5:26 PM

Mar 19 2021

vsellier committed rDCNT8cc6b94ba70a: Remove the swh/__init__.py file from the package (authored by vsellier).
Remove the swh/__init__.py file from the package
Mar 19 2021, 5:38 PM
vsellier committed rDCNTf72c2b2ad3d3: Remove the swh/__init__.py file from the package (authored by vsellier).
Remove the swh/__init__.py file from the package
Mar 19 2021, 5:35 PM
vsellier committed rDENV18290e1da1ef: docker: Install swh-counters in the docker image (authored by vsellier).
docker: Install swh-counters in the docker image
Mar 19 2021, 2:17 PM
vsellier moved T3043: journalbeat:/filebeat Add an environment field on the logs from in-progress to Weekly backlog on the System administration board.
Mar 19 2021, 12:40 PM · System administration
vsellier moved T3159: Deploy swh-counters:v0.1.0 in staging from Backlog to in-progress on the System administration board.
Mar 19 2021, 12:39 PM · Staging environment, System administration, Monitoring
vsellier changed the status of T3159: Deploy swh-counters:v0.1.0 in staging from Open to Work in Progress.
Mar 19 2021, 12:39 PM · Staging environment, System administration, Monitoring
vsellier added a comment to T3086: Prepare disk replacement on granet.

To identify the disks to replace, the front led can be activated via the idrac interface.
The disks are :
scsi-35000c500ae759873 | /dev/sdd: Serial ZA1G3R1S -> Physical Disk 0:1:3
scsi-35000c500ae750b2f | /dev/sdf : Serial ZA1G3H81 -> Physical Disk 0:1:5

Mar 19 2021, 12:28 PM · System administration
vsellier added a comment to T3086: Prepare disk replacement on granet.

Removing the mirror mirror-2 with the disks scsi-35000c500ae750b2f and scsi-35000c500ae759873

root@granet:~# zpool remove hdd mirror-2
root@granet:~# zpool status hdd
  pool: hdd
 state: ONLINE
  scan: scrub repaired 0B in 0 days 17:39:22 with 0 errors on Sun Mar 14 18:03:23 2021
remove: Evacuation of mirror in progress since Fri Mar 19 10:45:22 2021
    1.03G copied out of 6.19T at 118M/s, 0.02% done, 15h18m to go
config:
Mar 19 2021, 11:46 AM · System administration
vsellier added a comment to T3086: Prepare disk replacement on granet.

And added to the hdd zfs pool:

  • before
root@granet:~# zpool list
NAME   SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
hdd   29.1T  22.8T  6.29T        -         -    20%    78%  1.00x    ONLINE  -
ssd   10.3T  7.91T  2.44T        -         -    24%    76%  1.00x    ONLINE  -
  • configuration
root@granet:~# ls -l /dev/disk/by-id | grep -e "wwn.*sdk" -e "wwn.*sdl"
lrwxrwxrwx 1 root root  9 Mar 19 10:10 wwn-0x5000c500cb46da4b -> ../../sdl
lrwxrwxrwx 1 root root  9 Mar 19 10:09 wwn-0x5000c500cb46e41b -> ../../sdk
root@granet:~# zpool add hdd mirror wwn-0x5000c500cb46da4b wwn-0x5000c500cb46e41b
root@granet:~# zpool status hdd
  pool: hdd
 state: ONLINE
  scan: scrub repaired 0B in 0 days 17:39:22 with 0 errors on Sun Mar 14 18:03:23 2021
config:
Mar 19 2021, 11:32 AM · System administration
vsellier added a comment to T3086: Prepare disk replacement on granet.

Disks configured in JBOD mode:

root@granet:~# megacli -PDMakeJBOD  -physdrv[32:10] -a0
Mar 19 2021, 11:15 AM · System administration
vsellier closed T3081: ZFS failures detected on belvedere as Resolved.

ZFS status was reset and a scrub restart after the upgrade of the zfs packages.
No more errors are detected.

Mar 19 2021, 11:13 AM · System administration
vsellier closed T3115: Upgrade zfs on all servers as Resolved.

All the servers were updated. We took the opportunity to upgrade and restart them to apply the last updates.

Mar 19 2021, 9:40 AM · System administration
vsellier closed T3115: Upgrade zfs on all servers, a subtask of T3081: ZFS failures detected on belvedere, as Resolved.
Mar 19 2021, 9:40 AM · System administration
vsellier updated the task description for T3115: Upgrade zfs on all servers.
Mar 19 2021, 9:28 AM · System administration

Mar 18 2021

vsellier claimed T3086: Prepare disk replacement on granet.
Mar 18 2021, 6:43 PM · System administration
vsellier updated the task description for T3115: Upgrade zfs on all servers.
Mar 18 2021, 3:50 PM · System administration
vsellier changed the status of T3086: Prepare disk replacement on granet from Open to Work in Progress.
Mar 18 2021, 3:19 PM · System administration
vsellier updated the task description for T3115: Upgrade zfs on all servers.
Mar 18 2021, 3:12 PM · System administration
vsellier committed rSPSITE37f6fd13bfd8: webapp: use replica as main database on production (authored by vsellier).
webapp: use replica as main database on production
Mar 18 2021, 3:06 PM
vsellier closed D5278: webapp: use replica as main database on production.
Mar 18 2021, 3:06 PM
vsellier requested review of D5278: webapp: use replica as main database on production.
Mar 18 2021, 3:05 PM
vsellier added a revision to T3115: Upgrade zfs on all servers: D5278: webapp: use replica as main database on production.
Mar 18 2021, 3:05 PM · System administration
vsellier updated the task description for T3115: Upgrade zfs on all servers.
Mar 18 2021, 1:18 PM · System administration
vsellier added a comment to T3115: Upgrade zfs on all servers.

plan for hypervisors / nodes upgrades:

  • beaubourg relative
  • workers[13..16]: stop services, upgrade package, shutdown, no needs to move them
  • stop azure workers
  • moma: upgrade packages, stop and restart on pompidou
  • tate: upgrade packages, stop and restart on pompidou
  • upgrade and stop somerset
  • upgrade beaubourg and restart beaubourg
  • restart somerset
  • upgrade moma configuration to use somerset as database
  • move back tate to beaubourg
  • move back moma to beaubourg
Mar 18 2021, 1:11 PM · System administration
vsellier updated the task description for T3115: Upgrade zfs on all servers.
Mar 18 2021, 12:20 PM · System administration
vsellier updated the task description for T3115: Upgrade zfs on all servers.
Mar 18 2021, 12:17 PM · System administration
vsellier updated the task description for T3115: Upgrade zfs on all servers.
Mar 18 2021, 11:39 AM · System administration
vsellier updated the task description for T3115: Upgrade zfs on all servers.
Mar 18 2021, 10:57 AM · System administration
vsellier added a comment to T3115: Upgrade zfs on all servers.
  • *esnode*
    • delaying node down detection and limit shard allocation to primaries
esnode2 ~ % export ES_NODE=192.168.100.62:9200                                              
esnode2 ~ % curl -XPUT -H "Content-Type: application/json" http://$ES_NODE/_cluster/settings -d '{
  "persistent": {
    "cluster.routing.allocation.enable": "primaries"
  }
}'
Mar 18 2021, 10:21 AM · System administration
vsellier updated subscribers of T3115: Upgrade zfs on all servers.

Plan:

  • first the upgrade will be done on the elasticsearch server
  • in parallel somerset can be updated
  • after the webapp can be configured to use somerset as the principal database
  • Upgrade of belveder
  • upgrade of saam (with the help of @olasd)
  • upgrade of belvedere
  • and finally the kafka servers
Mar 18 2021, 9:45 AM · System administration
vsellier updated the task description for T3115: Upgrade zfs on all servers.
Mar 18 2021, 9:41 AM · System administration

Mar 17 2021

vsellier closed T3147: Package swh-counters module as a debian package as Resolved.

branches unstable and buster configured
The builds passed and the package is available :

root@search0:~# apt search python3-swh.counters
Sorting... Done
Full Text Search... Done
python3-swh.counters/unknown 0.1.0-1+swh2~bpo10+1 all
  Software Heritage counters utilities
Mar 17 2021, 6:18 PM · System administration
vsellier closed T3147: Package swh-counters module as a debian package, a subtask of T2912: Next generation archive counters, as Resolved.
Mar 17 2021, 6:18 PM · Roadmap 2021, System administration, Monitoring, Web app
vsellier committed rDCNT01a38f0f57b5: Rebuild to unstuck the debian packaging. (authored by vsellier).
Rebuild to unstuck the debian packaging.
Mar 17 2021, 6:11 PM
vsellier committed rDCNTd99c18878822: Rebuild for buster-swh (authored by vsellier).
Rebuild for buster-swh
Mar 17 2021, 6:01 PM
vsellier committed rDCNTec090999bdbd: pristine-tar data for swh.counters_0.1.0.orig.tar.gz (authored by vsellier).
pristine-tar data for swh.counters_0.1.0.orig.tar.gz
Mar 17 2021, 5:51 PM
vsellier committed rDCNTf6f981721927: Initial packaging for swh.counters (authored by vsellier).
Initial packaging for swh.counters
Mar 17 2021, 5:50 PM
vsellier committed rDCNT5fbd90f1a4f7: New upstream version 0.1.0 (authored by vsellier).
New upstream version 0.1.0
Mar 17 2021, 5:50 PM
vsellier changed the status of T3147: Package swh-counters module as a debian package, a subtask of T2912: Next generation archive counters, from Open to Work in Progress.
Mar 17 2021, 4:24 PM · Roadmap 2021, System administration, Monitoring, Web app
vsellier changed the status of T3147: Package swh-counters module as a debian package from Open to Work in Progress.
Mar 17 2021, 4:24 PM · System administration
vsellier closed T3146: Add pytest-redis package on the swh repository, a subtask of T2912: Next generation archive counters, as Resolved.
Mar 17 2021, 4:24 PM · Roadmap 2021, System administration, Monitoring, Web app
vsellier closed T3146: Add pytest-redis package on the swh repository as Resolved.

Build is working for unstable and buster.

Mar 17 2021, 4:24 PM · System administration
vsellier committed rPPTREe54e46210740: Complete rebuild from unstable (authored by vsellier).
Complete rebuild from unstable
Mar 17 2021, 4:17 PM
vsellier committed rPPTRE188916bab9c7: Rebuild for buster-swh (authored by vsellier).
Rebuild for buster-swh
Mar 17 2021, 4:09 PM
vsellier committed rPPTRE2bb9e3996ab9: Rebuild for buster-swh (authored by vsellier).
Rebuild for buster-swh
Mar 17 2021, 3:59 PM
vsellier committed rPPTREb10c6d123840: Update changelog (authored by vsellier).
Update changelog
Mar 17 2021, 3:36 PM
vsellier committed rPPTRE071ca3fef7e6: Initial packaging for pytest-redis (authored by vsellier).
Initial packaging for pytest-redis
Mar 17 2021, 3:36 PM
vsellier closed D5263: jobs/dependency-packages: Add pytest-redis deps packages.
Mar 17 2021, 2:31 PM
vsellier committed rCJSWH6a4178b73e6b: jobs/dependency-packages: Add pytest-redis deps packages (authored by vsellier).
jobs/dependency-packages: Add pytest-redis deps packages
Mar 17 2021, 2:31 PM
vsellier updated the diff for D5263: jobs/dependency-packages: Add pytest-redis deps packages.

fix pkg name

Mar 17 2021, 2:26 PM
vsellier added a revision to T3146: Add pytest-redis package on the swh repository: D5263: jobs/dependency-packages: Add pytest-redis deps packages.
Mar 17 2021, 12:51 PM · System administration
vsellier requested review of D5263: jobs/dependency-packages: Add pytest-redis deps packages.
Mar 17 2021, 12:51 PM
vsellier committed rPPTREd0acf1a2f0b6: Initial packaging for pytest-redis (authored by vsellier).
Initial packaging for pytest-redis
Mar 17 2021, 12:36 PM
vsellier committed rPPTRE94dc9f68e8a4: New upstream version 2.0.0 (authored by vsellier).
New upstream version 2.0.0
Mar 17 2021, 12:36 PM
vsellier committed rPPTREf4ac919b5d29: pristine-tar data for pytest-redis_2.0.0.orig.tar.gz (authored by vsellier).
pristine-tar data for pytest-redis_2.0.0.orig.tar.gz
Mar 17 2021, 12:36 PM
vsellier committed rPPTREf173dd946edb: New upstream version 2.0.0 (authored by vsellier).
New upstream version 2.0.0
Mar 17 2021, 12:36 PM
vsellier added a comment to T3146: Add pytest-redis package on the swh repository.

New repository created and configured: https://forge.softwareheritage.org/source/pytest-redis/

Mar 17 2021, 12:30 PM · System administration
vsellier triaged T3147: Package swh-counters module as a debian package as Normal priority.
Mar 17 2021, 12:25 PM · System administration
vsellier changed the status of T3146: Add pytest-redis package on the swh repository from Open to Work in Progress.
Mar 17 2021, 12:20 PM · System administration

Mar 16 2021

vsellier closed D5253: Implement remote service.
Mar 16 2021, 6:34 PM
vsellier committed rDCNTd88278619db7: Implement remote service (authored by vsellier).
Implement remote service
Mar 16 2021, 6:34 PM
vsellier updated the diff for D5253: Implement remote service.

fix tear down method

Mar 16 2021, 4:05 PM
vsellier accepted D5257: (v1) e2e-checks: Install vault/deposit checks for production and staging.

lgtm

Mar 16 2021, 4:00 PM
vsellier added a comment to T3086: Prepare disk replacement on granet.

2 disks were installed on the 2 remaining free slots.
They are detected by the raid card but need to be configured in JBOD mode.
It's postponed to Thursday morning as granet is sensible until a demonstration on wednesday afternoon.

Mar 16 2021, 3:44 PM · System administration
vsellier updated the diff for D5253: Implement remote service.

Change the flask app implementation method

Mar 16 2021, 1:02 PM
vsellier planned changes to D5253: Implement remote service.

changing status to pending changes as I will reworke the app initialization to use the same method as swh-objstorage

Mar 16 2021, 9:47 AM

Mar 15 2021

vsellier requested review of D5253: Implement remote service.
Mar 15 2021, 8:05 PM
vsellier added a revision to T2912: Next generation archive counters: D5253: Implement remote service.
Mar 15 2021, 8:04 PM · Roadmap 2021, System administration, Monitoring, Web app
vsellier closed D5232: Implement counters pipeline.
Mar 15 2021, 8:03 PM
vsellier committed rDCNTd90ee1974638: Implement counters pipeline (authored by vsellier).
Implement counters pipeline
Mar 15 2021, 8:03 PM
vsellier updated the diff for D5232: Implement counters pipeline.

review feedbacks:

  • rename the strangly named test
  • use a getter for the redis client property
  • cleanup code
Mar 15 2021, 6:51 PM
vsellier added inline comments to D5232: Implement counters pipeline.
Mar 15 2021, 5:51 PM
vsellier requested review of D5232: Implement counters pipeline.
Mar 15 2021, 4:28 PM
vsellier closed D5236: Add redis to the base build image.
Mar 15 2021, 4:09 PM
vsellier committed rCDFJadfe6452b049: Add redis to the base build image (authored by vsellier).
Add redis to the base build image
Mar 15 2021, 4:09 PM
vsellier updated the diff for D5236: Add redis to the base build image.

rebase

Mar 15 2021, 4:04 PM
vsellier closed T3120: Fix swh-jenkins/base-buster docker image build as Resolved.

The build of the jenkins images is now ok: https://jenkins.softwareheritage.org/job/jenkins-tools/job/swh-jenkins-dockerfiles/

Mar 15 2021, 3:58 PM · System administration
vsellier closed D5248: fix the download url of kafka.
Mar 15 2021, 3:44 PM
vsellier committed rCDFJb78f19d0dbd7: fix the download url of kafka (authored by vsellier).
fix the download url of kafka
Mar 15 2021, 3:44 PM
vsellier added a revision to T3120: Fix swh-jenkins/base-buster docker image build: D5248: fix the download url of kafka.
Mar 15 2021, 3:42 PM · System administration
vsellier requested review of D5248: fix the download url of kafka.
Mar 15 2021, 3:42 PM
vsellier added a comment to D5235: Use the recommanded way to declare the repository signing keys.

The build was failing with a cryptic error :

14:20:43 error committing wijin0be0ztxj3pd6l64aeahh: invalid mutable ref 0xc001a73760: invalid: error committing 8bvh4xv6le4xw14m4fr8zvwho: invalid mutable ref 0xc001a72040: invalid: executor failed running [/bin/sh -c export DEBIAN_FRONTEND=noninteractive &&   apt-get update &&   apt-get install -y apt-transport-https curl ca-certificates gpg  &&   echo deb [signed-by=/usr/share/keyrings/postgres-archive-keyring.gpg] http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main > /etc/apt/sources.list.d/postgres.list &&   curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor > /usr/share/keyrings/postgres-archive-keyring.gpg &&   echo deb [signed-by=/usr/share/keyrings/yarnpkg-archive-keyring.gpg] https://dl.yarnpkg.com/debian/ stable main > /etc/apt/sources.list.d/yarnpkg.list &&   curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor > /usr/share/keyrings/yarnpkg-archive-keyring.gpg &&   echo deb [signed-by=/usr/share/keyrings/elasticsearch-archive-keyring.gpg] https://artifacts.elastic.co/packages/7.x/apt stable main > /etc/apt/sources.list.d/elastic-7.x.list &&   curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | gpg --dearmor > /usr/share/keyrings/elasticsearch-archive-keyring.gpg &&   echo deb [signed-by=/usr/share/keyrings/cassandra.gpg] http://www.apache.org/dist/cassandra/debian 40x main > /etc/apt/sources.list.d/cassandra.list &&   curl -fsSL https://downloads.apache.org/cassandra/KEYS | gpg --dearmor > /usr/share/keyrings/cassandra.gpg &&   apt-get update &&   apt-get upgrade -y &&   apt-get install -y   arcanist   build-essential   cassandra   elasticsearch   fuse3   git-lfs   jq   libfuse3-dev   libsvn-dev   libsystemd-dev   lzip   maven   mercurial   pkg-config   postgresql-11   postgresql-client-11   postgresql-server-dev-11   python3-dev   python3-pip   python3-venv   subversion   tini   yarn   zstd]: stat /var/lib/docker/overlay2/8bvh4xv6le4xw14m4fr8zvwho: no such file or directory
14:20:43 make: *** [Makefile:45: swh-jenkins/base-buster] Error 1
14:20:43 Build step 'Execute shell' marked build as failure
Mar 15 2021, 2:37 PM
vsellier committed rDENV4244e588043f: docker: Revert installation of swh-counters (authored by vsellier).
docker: Revert installation of swh-counters
Mar 15 2021, 2:14 PM
vsellier closed D5235: Use the recommanded way to declare the repository signing keys.
Mar 15 2021, 12:35 PM
vsellier committed rCDFJ88d3f6323a18: Use the recommanded way to declare the repository signing keys (authored by vsellier).
Use the recommanded way to declare the repository signing keys
Mar 15 2021, 12:35 PM
vsellier retitled D5235: Use the recommanded way to declare the repository signing keys from Use the recommended way to declare yarn's repository signing keys to Use the recommanded way to declare the repository signing keys.
Mar 15 2021, 12:34 PM
vsellier updated the diff for D5235: Use the recommanded way to declare the repository signing keys.

Used signed-by for all the 3d party repositories

Mar 15 2021, 12:33 PM
vsellier updated the task description for T3115: Upgrade zfs on all servers.
Mar 15 2021, 10:22 AM · System administration

Mar 12 2021

vsellier closed D5240: docker-compose: declare swh counters containers.
Mar 12 2021, 6:48 PM
vsellier committed rDENVe67eb5c56d31: docker-compose: declare swh counters containers (authored by vsellier).
docker-compose: declare swh counters containers
Mar 12 2021, 6:48 PM
vsellier updated the diff for D5240: docker-compose: declare swh counters containers.
  • adapt the kafka's healthcheck
  • remove the typo on the initial log of the swh-counters container
Mar 12 2021, 5:35 PM
vsellier added inline comments to D5240: docker-compose: declare swh counters containers.
Mar 12 2021, 5:28 PM
vsellier updated the diff for D5240: docker-compose: declare swh counters containers.

Add the swh-counters in the docker image

Mar 12 2021, 5:15 PM
vsellier planned changes to D5240: docker-compose: declare swh counters containers.

The debian package a first release is needed to be able to launch the counters without overrides

Mar 12 2021, 5:02 PM
vsellier requested review of D5240: docker-compose: declare swh counters containers.
Mar 12 2021, 5:01 PM
vsellier added a revision to T2912: Next generation archive counters: D5240: docker-compose: declare swh counters containers.
Mar 12 2021, 5:00 PM · Roadmap 2021, System administration, Monitoring, Web app