Page MenuHomeSoftware Heritage
Feed Advanced Search

Apr 15 2021

vsellier committed rSPSITE73f28d682007: Outboarding of tg1999 (authored by vsellier).
Outboarding of tg1999
Apr 15 2021, 5:57 PM
vsellier added a comment to T3242: Decommission ClearlyDefined resources.

The compression and the transfer of the dump from clearly-defined server to saam is in progress.

ssh clearly-defined.internal.staging.swh.network "pbzip2 -c -9 /srv/softwareheritage/clearlydefined/clearcode-dump-2021-01-05/clearcode_backup-20210105-2111.dump" | pv | cat > clearcode_backup-20210105-2111.dump.bz2

When it will be done, and if the compression ratio is good, the compressed archive will be added to the public annex in a dataset/clearly-defined directory

Apr 15 2021, 5:49 PM · System administration
vsellier updated the task description for T3242: Decommission ClearlyDefined resources.
Apr 15 2021, 5:43 PM · System administration
vsellier added a comment to T3242: Decommission ClearlyDefined resources.

According to https://intranet.softwareheritage.org/wiki/Outboarding:

  • tg19999 unix account disabled

*TG1999 removed from interns members in the forge, no tasks were assigned to the user

  • He was not on the #swh-team channel
  • He was not a member of the swh-team ml
  • VPN certificated revoked
root@louvre:/etc/openvpn/keys# ./easyrsa revoke tg1999
Apr 15 2021, 5:42 PM · System administration
vsellier removed a member for Interns: TG1999.
Apr 15 2021, 5:32 PM
vsellier added a revision to T3242: Decommission ClearlyDefined resources: D5539: Outboarding of tg1999.
Apr 15 2021, 5:26 PM · System administration
vsellier requested review of D5539: Outboarding of tg1999.
Apr 15 2021, 5:26 PM
vsellier changed the status of T3242: Decommission ClearlyDefined resources from Open to Work in Progress.

thanks, I will move the dump in a secure place where it will be backuped.

Apr 15 2021, 3:05 PM · System administration
vsellier added a comment to T3243: Replace /dev/sdb and /dev/sdc on storage1.staging.

Email sent to the dsi to launch the replacement.

Apr 15 2021, 3:03 PM · System administration, Staging environment
vsellier added a comment to T3243: Replace /dev/sdb and /dev/sdc on storage1.staging.

In preparation of the disk replacement, their leds must be activated to make the emplacement identifiable:

  • Ensure all the led are off
root@storage1:~# ls /dev/sd* | grep -e "[a-z]$" | xargs -n1 -t -i{} ledctl normal={} 
ledctl normal=/dev/sda 
ledctl normal=/dev/sdb 
ledctl normal=/dev/sdc 
ledctl normal=/dev/sdd 
ledctl normal=/dev/sde 
ledctl normal=/dev/sdf 
ledctl normal=/dev/sdg 
ledctl normal=/dev/sdh 
ledctl normal=/dev/sdi 
ledctl normal=/dev/sdj 
ledctl normal=/dev/sdk 
ledctl normal=/dev/sdl 
ledctl normal=/dev/sdm 
ledctl normal=/dev/sdn
  • light on
root@storage1:~# ledctl locate=/dev/sdb
root@storage1:~# ledctl locate=/dev/sdc
Apr 15 2021, 2:31 PM · System administration, Staging environment
vsellier triaged T3251: Count authors from revisions and releases as Normal priority.
Apr 15 2021, 1:13 PM · Monitoring, Web app
vsellier added a comment to T2912: Next generation archive counters.

I would really like to keep the author counter: how complex is it to add it?

Apr 15 2021, 1:03 PM · Roadmap 2021, System administration, Monitoring, Web app
vsellier added a comment to T2912: Next generation archive counters.

Staging webapp[1] and webapp1 on production [2] are now configured to use swh-counters to display the historical values and the live object counts.

Apr 15 2021, 11:40 AM · Roadmap 2021, System administration, Monitoring, Web app
vsellier closed T3250: Deploy the counters in production (step1 webapp1 only), a subtask of T2912: Next generation archive counters, as Resolved.
Apr 15 2021, 11:32 AM · Roadmap 2021, System administration, Monitoring, Web app
vsellier closed T3250: Deploy the counters in production (step1 webapp1 only) as Resolved.

Deployment done on staging and production. The new counters are currently only activated on webapp1

Apr 15 2021, 11:32 AM · System administration, Monitoring, Web app
vsellier closed D5531: counters: Configure staging and webapp1 to use swh-counters.
Apr 15 2021, 11:11 AM
vsellier committed rSPSITE6fbdb75919c1: counters: Configure staging and webapp1 to use swh-counters (authored by vsellier).
counters: Configure staging and webapp1 to use swh-counters
Apr 15 2021, 11:11 AM
vsellier added inline comments to D5531: counters: Configure staging and webapp1 to use swh-counters.
Apr 15 2021, 11:06 AM
vsellier updated the test plan for D5531: counters: Configure staging and webapp1 to use swh-counters.
Apr 15 2021, 10:33 AM
vsellier updated the summary of D5531: counters: Configure staging and webapp1 to use swh-counters.
Apr 15 2021, 10:30 AM
vsellier updated the diff for D5531: counters: Configure staging and webapp1 to use swh-counters.

fix a typo on the commit description

Apr 15 2021, 10:29 AM
vsellier requested review of D5531: counters: Configure staging and webapp1 to use swh-counters.
Apr 15 2021, 10:23 AM
vsellier added a revision to T3250: Deploy the counters in production (step1 webapp1 only): D5531: counters: Configure staging and webapp1 to use swh-counters.
Apr 15 2021, 10:23 AM · System administration, Monitoring, Web app

Apr 14 2021

vsellier changed the status of T3250: Deploy the counters in production (step1 webapp1 only) from Open to Work in Progress.
Apr 14 2021, 7:12 PM · System administration, Monitoring, Web app
vsellier closed T3231: Make the source of the object counts configurable, a subtask of T2912: Next generation archive counters, as Resolved.
Apr 14 2021, 6:40 PM · Roadmap 2021, System administration, Monitoring, Web app
vsellier closed T3231: Make the source of the object counts configurable as Resolved.
  • version 0.1.296(swh2) released and deployed on all the webapp
Apr 14 2021, 6:40 PM · System administration, Monitoring, Web app
vsellier accepted D5526: conf/loader: Declare save code now queues to consume from.
Apr 14 2021, 5:38 PM
vsellier accepted D5486: Declare new service worker to consume save code now queues.

lgtm

Apr 14 2021, 5:36 PM
vsellier closed D5524: Add the configuration for the source of object counters.
Apr 14 2021, 4:23 PM
vsellier committed rDWAPPS05d55040f31c: Add the configuration for the source of object counters (authored by vsellier).
Add the configuration for the source of object counters
Apr 14 2021, 4:23 PM
vsellier updated the diff for D5524: Add the configuration for the source of object counters.

rename the object variable

Apr 14 2021, 4:13 PM
vsellier requested review of D5524: Add the configuration for the source of object counters.
Apr 14 2021, 3:12 PM
vsellier updated the task description for T3231: Make the source of the object counts configurable.
Apr 14 2021, 3:11 PM · System administration, Monitoring, Web app
vsellier added a revision to T3231: Make the source of the object counts configurable: D5524: Add the configuration for the source of object counters.
Apr 14 2021, 3:05 PM · System administration, Monitoring, Web app
vsellier closed D5518: Make the project usable in the webapp tests.
Apr 14 2021, 11:18 AM
vsellier committed rDCNT0e5d551ff59b: Make the project usable in the webapp tests (authored by vsellier).
Make the project usable in the webapp tests
Apr 14 2021, 11:18 AM
vsellier updated the diff for D5518: Make the project usable in the webapp tests.

rebase

Apr 14 2021, 11:17 AM
vsellier updated the diff for D5518: Make the project usable in the webapp tests.

take review's feedbacks in consideration

Apr 14 2021, 11:16 AM
vsellier requested review of D5518: Make the project usable in the webapp tests.
Apr 14 2021, 10:19 AM
vsellier added a revision to T3231: Make the source of the object counts configurable: D5518: Make the project usable in the webapp tests.
Apr 14 2021, 10:18 AM · System administration, Monitoring, Web app

Apr 13 2021

vsellier closed D5502: Add a method get several counter values at once.
Apr 13 2021, 7:09 PM
vsellier committed rDCNT38eab384f275: Add a method get several counter values at once (authored by vsellier).
Add a method get several counter values at once
Apr 13 2021, 7:09 PM
vsellier closed T3232: remove hardcoded historical values from the webapp, a subtask of T2912: Next generation archive counters, as Resolved.
Apr 13 2021, 6:59 PM · Roadmap 2021, System administration, Monitoring, Web app
vsellier closed T3232: remove hardcoded historical values from the webapp as Resolved.

swh-web v0.0.295 is released and deployed on staging and production.

Apr 13 2021, 6:59 PM · Monitoring, Web app
vsellier added a comment to T3232: remove hardcoded historical values from the webapp.

The puppet script generating the aggragated data is updated and was run to refresh the data.
The webapp can be released with this diff now

Apr 13 2021, 6:02 PM · Monitoring, Web app
vsellier removed a task from D5502: Add a method get several counter values at once: T3232: remove hardcoded historical values from the webapp.
Apr 13 2021, 6:01 PM
vsellier removed a revision from T3232: remove hardcoded historical values from the webapp: D5502: Add a method get several counter values at once.
Apr 13 2021, 6:01 PM · Monitoring, Web app
vsellier updated the summary of D5502: Add a method get several counter values at once.
Apr 13 2021, 6:01 PM
vsellier added a revision to T3231: Make the source of the object counts configurable: D5502: Add a method get several counter values at once.
Apr 13 2021, 6:01 PM · System administration, Monitoring, Web app
vsellier updated the diff for D5502: Add a method get several counter values at once.

Reference the right task

Apr 13 2021, 6:01 PM
vsellier closed D5494: counters: Aggregate values for origin and revision graphs.
Apr 13 2021, 5:44 PM
vsellier committed rSPSITE7ec10abc3cb9: counters: Aggregate values for origin and revision graphs (authored by vsellier).
counters: Aggregate values for origin and revision graphs
Apr 13 2021, 5:44 PM
vsellier requested review of D5502: Add a method get several counter values at once.
Apr 13 2021, 5:44 PM
vsellier added a revision to T3232: remove hardcoded historical values from the webapp: D5502: Add a method get several counter values at once.
Apr 13 2021, 5:43 PM · Monitoring, Web app
vsellier added inline comments to D5494: counters: Aggregate values for origin and revision graphs.
Apr 13 2021, 3:24 PM
vsellier triaged T3242: Decommission ClearlyDefined resources as Normal priority.
Apr 13 2021, 3:13 PM · System administration
vsellier closed D5490: counters: Move the hardcoded points to the static historical file.
Apr 13 2021, 3:12 PM
vsellier committed rDWAPPS78a038b13927: counters: Move the hardcoded points to the static historical file (authored by vsellier).
counters: Move the hardcoded points to the static historical file
Apr 13 2021, 3:12 PM
vsellier added a revision to T3232: remove hardcoded historical values from the webapp: D5494: counters: Aggregate values for origin and revision graphs.
Apr 13 2021, 3:10 PM · Monitoring, Web app
vsellier requested review of D5494: counters: Aggregate values for origin and revision graphs.
Apr 13 2021, 3:10 PM
vsellier added a comment to T3232: remove hardcoded historical values from the webapp.

one additional point before releasing this, the puppet script making the aggregation need to be improved as it only merge the data for the content graph :
https://forge.softwareheritage.org/source/puppet-swh-site/browse/production/site-modules/profile/files/stats_exporter/export_archive_counters.py$109

Apr 13 2021, 12:50 PM · Monitoring, Web app
vsellier changed the status of T3231: Make the source of the object counts configurable, a subtask of T2912: Next generation archive counters, from Open to Work in Progress.
Apr 13 2021, 12:14 PM · Roadmap 2021, System administration, Monitoring, Web app
vsellier changed the status of T3231: Make the source of the object counts configurable from Open to Work in Progress.
Apr 13 2021, 12:14 PM · System administration, Monitoring, Web app
vsellier requested review of D5490: counters: Move the hardcoded points to the static historical file.
Apr 13 2021, 12:14 PM
vsellier added a revision to T3232: remove hardcoded historical values from the webapp: D5490: counters: Move the hardcoded points to the static historical file.
Apr 13 2021, 12:07 PM · Monitoring, Web app
vsellier added a comment to T3232: remove hardcoded historical values from the webapp.

The P1005 convert the data added by the webapp to json data that can be added to the /usr/local/share/swh-data/history-counters.munin.json file.
This content can be added on the file before the change on the webapp is released. it will just add few duplicate points to render, but with no effect on the final rendering

Apr 13 2021, 11:21 AM · Monitoring, Web app
vsellier added a comment to P1005 Convert webapp historical data to historical json.

this is the result to add to the current historical data:

{"revision": [[1441065600000, 0], [1467331200000, 594305600], [1473811200000, 644628800], [1479945600000, 704845952], [1494374400000, 780882048], [1506384000000, 853277241], [1516752000000, 943061517], [1518480000000, 946216028], [1521936000000, 980390191], [1538611200000, 1126348335], [1548547200000, 1248389319], [1554681600000, 1293870115], [1561593600000, 1326776432], [1563926400000, 1358421267], [1569110400000, 1379380527], [1569715200000, 1385477933], [1577836800000, 1414420369], [1580947200000, 1428955761], [1586217600000, 1590436149], [1589673600000, 1717420203], [1590537600000, 1744034936]], "origin": [[1441065600000, 0], [1467331200000, 22777052], [1473811200000, 25258776], [1479945600000, 53488904], [1494374400000, 58257484], [1506384000000, 65546644], [1516752000000, 71814787], [1518480000000, 81655813], [1521936000000, 83797945], [1538611200000, 85202432], [1548547200000, 88288721], [1554681600000, 88297714], [1561593600000, 89301694], [1563926400000, 89601149], [1569110400000, 90231104], [1569715200000, 90487661], [1577836800000, 91400586], [1580947200000, 91512130], [1586217600000, 107875943], [1589673600000, 121172621], [1590537600000, 123781438]], "content": [[1441065600000, 0]]}
Apr 13 2021, 11:17 AM
vsellier created P1005 Convert webapp historical data to historical json.
Apr 13 2021, 11:17 AM
vsellier changed the status of T3232: remove hardcoded historical values from the webapp, a subtask of T2912: Next generation archive counters, from Open to Work in Progress.
Apr 13 2021, 9:49 AM · Roadmap 2021, System administration, Monitoring, Web app
vsellier changed the status of T3232: remove hardcoded historical values from the webapp from Open to Work in Progress.
Apr 13 2021, 9:49 AM · Monitoring, Web app

Apr 12 2021

vsellier changed the status of T3243: Replace /dev/sdb and /dev/sdc on storage1.staging, a subtask of T3236: staging: Disk error on storage1, from Open to Work in Progress.
Apr 12 2021, 7:31 PM · System administration, Staging environment
vsellier changed the status of T3243: Replace /dev/sdb and /dev/sdc on storage1.staging from Open to Work in Progress.

The disks are removed from the zfs pool. The replacement be done

Apr 12 2021, 7:31 PM · System administration, Staging environment
vsellier closed T3236: staging: Disk error on storage1 as Resolved.
Apr 12 2021, 7:30 PM · System administration, Staging environment
vsellier added a comment to T3236: staging: Disk error on storage1.

The mirror is removed fro the pool:

root@storage1:~# zpool list
NAME   SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
data  21.8T  2.50T  19.3T        -         -    20%    11%  1.00x    ONLINE  -
Apr 12 2021, 7:30 PM · System administration, Staging environment
vsellier closed T3228: Free 4 of 5 remaining ips still used on vlan210 as Resolved.

All the 3 vms are reconfigured. the ips are released.

Apr 12 2021, 6:11 PM · System administration
vsellier added a comment to T3228: Free 4 of 5 remaining ips still used on vlan210.
  • puppet disabled on all the 3 nodes (pergamon, moma, tate)
  • old /etc/network/interface file backuped
cp /etc/network/interfaces T3228-interfaces
  • configuration changed on promox to swtich eth0 from vlan210 to vlan1300
  • applying puppet configuration
  • restart
  • Former vlan1300 interface removed on proxmox
Apr 12 2021, 5:55 PM · System administration
vsellier updated the task description for T3228: Free 4 of 5 remaining ips still used on vlan210.
Apr 12 2021, 5:28 PM · System administration
vsellier updated the task description for T3228: Free 4 of 5 remaining ips still used on vlan210.
Apr 12 2021, 5:28 PM · System administration
vsellier closed D5479: network: Remove network interface on deprecated VLAN210 network.
Apr 12 2021, 5:18 PM
vsellier committed rSPSITE657bfb390b33: network: Remove network interface on deprecated VLAN210 network (authored by vsellier).
network: Remove network interface on deprecated VLAN210 network
Apr 12 2021, 5:18 PM
vsellier updated the diff for D5479: network: Remove network interface on deprecated VLAN210 network.

rebase

Apr 12 2021, 5:14 PM
vsellier added a comment to T3087: Implement support for takedown notices (infra, admin tools, workflow).

Are we planning to add a way to notify the mirrors of the takedown notices ?
I'm just thinking if it could be interesting to subscribe the staging environment to it to ensure the content is also removed from it (and also flagged to avoid any further ingestion).

Apr 12 2021, 4:31 PM · Roadmap 2022, meta-task, Roadmap 2021, Web app
vsellier added a comment to T3221: elk: automatically limit log retention.

👍 thanks

Apr 12 2021, 4:19 PM · System administration
vsellier added a comment to T3243: Replace /dev/sdb and /dev/sdc on storage1.staging.

Ticket opened on the seagate site for the replacement of these 2 disks, the information will be transferred to the DSI for the packaging (as soon the disk will be removed from the pool)

Apr 12 2021, 4:14 PM · System administration, Staging environment
vsellier added a comment to T2939: Replace out of order disks on db1.staging and storage1.staging.

storage disks will be replaced in T3243

Apr 12 2021, 2:33 PM · System administration
vsellier triaged T3243: Replace /dev/sdb and /dev/sdc on storage1.staging as High priority.
Apr 12 2021, 2:26 PM · System administration, Staging environment
vsellier added a comment to T3236: staging: Disk error on storage1.

The mirror-1 removal is in progress:

root@storage1:~# zpool remove data mirror-1
Apr 12 2021, 2:19 PM · System administration, Staging environment
vsellier added a comment to T3236: staging: Disk error on storage1.

There are 2 disks with errors that should now be replaced:

  • /dev/sdb/wwn-0x5000c500a23e3868 An old one
  • /dev/sdc/wwn-0x5000c500a22f48c9 the disk just removed from the pool
Apr 12 2021, 12:56 PM · System administration, Staging environment
vsellier added a comment to T3236: staging: Disk error on storage1.

The failing disk was removed from the pool:

root@storage1:~# zpool detach data wwn-0x5000c500a22f48c9
Apr 12 2021, 12:49 PM · System administration, Staging environment
vsellier added a comment to T3236: staging: Disk error on storage1.

The new failing drive is /dev/sdc

root@storage1:~# ls -al /dev/disk/by-id/ | grep wwn-0x5000c500a22f48c9
lrwxrwxrwx 1 root root    9 Apr 11 03:42 wwn-0x5000c500a22f48c9 -> ../../sdc
lrwxrwxrwx 1 root root   10 Mar 11 17:08 wwn-0x5000c500a22f48c9-part1 -> ../../sdc1
lrwxrwxrwx 1 root root   10 Mar 11 17:08 wwn-0x5000c500a22f48c9-part9 -> ../../sdc9
Apr 12 2021, 12:46 PM · System administration, Staging environment
vsellier changed the status of T3236: staging: Disk error on storage1 from Open to Work in Progress.
Apr 12 2021, 12:09 PM · System administration, Staging environment
vsellier created T3242: Decommission ClearlyDefined resources.
Apr 12 2021, 11:55 AM · System administration
vsellier added a comment to T3221: elk: automatically limit log retention.

A script is regurarly executed to close the oldest indexes (30days) : P1004
It should be added on puppet and scheduled in a cron

Apr 12 2021, 10:37 AM · System administration
vsellier triaged T3236: staging: Disk error on storage1 as High priority.
Apr 12 2021, 9:36 AM · System administration, Staging environment

Apr 11 2021

vsellier committed rDENV771f979f057f: Parallelize builds (authored by vsellier).
Parallelize builds
Apr 11 2021, 11:04 PM
vsellier committed rDENV02cf8839533c: kubernetes/Readme: Simplify readme instructions (authored by ardumont).
kubernetes/Readme: Simplify readme instructions
Apr 11 2021, 11:04 PM
vsellier committed rDENVffd820384372: reduce kafka startup time (authored by vsellier).
reduce kafka startup time
Apr 11 2021, 11:04 PM
vsellier committed rDENVf4436b121daf: speedup rebuild (authored by vsellier).
speedup rebuild
Apr 11 2021, 11:04 PM
vsellier committed rDENV08d51153ad04: counters: use labels in prometheus queries (authored by vsellier).
counters: use labels in prometheus queries
Apr 11 2021, 11:04 PM
vsellier committed rDENVec0bf540f11d: Add a UI on top of the registry (authored by vsellier).
Add a UI on top of the registry
Apr 11 2021, 11:04 PM