Page MenuHomeSoftware Heritage
Feed Advanced Search

Apr 23 2021

vsellier committed rDWAPPSb9ff5a073f9f: Activate the person's counter on the home page with swh-counters (authored by vsellier).
Activate the person's counter on the home page with swh-counters
Apr 23 2021, 12:30 PM
vsellier closed D5573: Update the counters' journal clients configuration to count the persons.
Apr 23 2021, 12:29 PM
vsellier committed rDENVd2dac157b76b: Update the counters' journal clients configuration to count the persons (authored by vsellier).
Update the counters' journal clients configuration to count the persons
Apr 23 2021, 12:29 PM
vsellier retitled D5573: Update the counters' journal clients configuration to count the persons from Update th counters' journal clients configuration to count the persons to Update the counters' journal clients configuration to count the persons.
Apr 23 2021, 12:26 PM
vsellier updated the diff for D5573: Update the counters' journal clients configuration to count the persons.
  • just keep the topic configuration as the journal split is not needed anymore
  • fix the type in the commit message
Apr 23 2021, 12:25 PM
vsellier added a comment to D5586: Activate the person's counter on the home page with swh-counters.

I hesitated to do it, but as it should not move anymore now everything is reactivated, I choose to keep it as it.
We'll see if there are mouvements on this list in the near future

Apr 23 2021, 12:23 PM
vsellier requested review of D5586: Activate the person's counter on the home page with swh-counters.
Apr 23 2021, 12:10 PM
vsellier added a revision to T3251: Count authors from revisions and releases: D5586: Activate the person's counter on the home page with swh-counters.
Apr 23 2021, 12:03 PM · Monitoring, Web app
vsellier committed rDENVab8702258dac: Revert "Add the counters-journal-client-messages deployment" (authored by vsellier).
Revert "Add the counters-journal-client-messages deployment"
Apr 23 2021, 11:46 AM
vsellier added a comment to T3251: Count authors from revisions and releases.
  • version 0.7.0 release with the last improvement (D5576) of vlorentz (thanks)
  • deployment done in staging
  • the person counting has started on the live messages:
root@counters0:~# redis-cli
127.0.0.1:6379> pfcount person
(integer) 7
  • now let reset the consumer offsets for the release and revision topics to backfill the person counter:
# offsets backup
/opt/kafka/bin/kafka-consumer-groups.sh --bootstrap-server $SERVER --reset-offsets --all-topics --to-current --dry-run  --export --group swh.counters.journal_client 2>&1 > ~/counters_journal_client_offsets.csv
# revision reset
 /opt/kafka/bin/kafka-consumer-groups.sh --bootstrap-server $SERVER --reset-offsets  --group swh.counters.journal_client --to-earliest --execute --topic swh.journal.objects.revision
# release reset
 /opt/kafka/bin/kafka-consumer-groups.sh --bootstrap-server $SERVER --reset-offsets  --group swh.counters.journal_client --to-earliest --execute --topic swh.journal.objects.release
Apr 23 2021, 11:16 AM · Monitoring, Web app
vsellier closed T3283: Create a vm to test the mirror environment as Resolved.

the vm is configured and the new database schema on the staging database created.
psql is also configured with several services:

  • swh-mirror : read-only connection on the swh-mirror schema
  • admin-swh-mirror: r/w connection
  • swh: read-only connection on the archive database (staging)
Apr 23 2021, 10:00 AM · System administration
vsellier added a comment to D5576: Remove 'journal_type' argument from the CLI.

I suppose the message.value() is returning a copy of the content

It does not: https://github.com/confluentinc/confluent-kafka-python/blob/b7f8dce998ec254f54c15e514850d7404c6a71a3/src/confluent_kafka/src/confluent_kafka.c#L439-L445

(Py_INCREF only increments the reference counter)

Apr 23 2021, 9:55 AM
vsellier committed rSPSITEe48733a0acc9: Add mirror-test vm and a dedicated schema on the staging database (authored by vsellier).
Add mirror-test vm and a dedicated schema on the staging database
Apr 23 2021, 9:27 AM
vsellier closed D5581: Add mirror-test vm and a dedicated schema on the staging database.
Apr 23 2021, 9:27 AM
vsellier updated the diff for D5581: Add mirror-test vm and a dedicated schema on the staging database.

limit the pre-configured databases to the main database + swh-mirror

Apr 23 2021, 9:26 AM
vsellier added inline comments to D5581: Add mirror-test vm and a dedicated schema on the staging database.
Apr 23 2021, 9:21 AM

Apr 22 2021

vsellier added a revision to T3283: Create a vm to test the mirror environment: D5581: Add mirror-test vm and a dedicated schema on the staging database.
Apr 22 2021, 8:24 PM · System administration
vsellier requested review of D5581: Add mirror-test vm and a dedicated schema on the staging database.
Apr 22 2021, 8:24 PM
vsellier committed rSPPRIVCbb5dcc9df026: Add password of swh-mirror database (authored by vsellier).
Add password of swh-mirror database
Apr 22 2021, 8:16 PM
vsellier accepted D5576: Remove 'journal_type' argument from the CLI.

I suppose this implementation will be less effective in term of memory consumption as we will keep a copy of the message contents on the dict (I suppose the message.value() is returning a copy of the content)
It also makes the module aware of how the objects are serialized on kafka, which looks quite low level.

Apr 22 2021, 6:46 PM
vsellier committed rSPRE7831daff5cbc: Create the mirror-test vm (authored by vsellier).
Create the mirror-test vm
Apr 22 2021, 5:57 PM
vsellier committed rSPRE5fa5a7f6106d: open the cicustom options (authored by vsellier).
open the cicustom options
Apr 22 2021, 5:57 PM
vsellier added a comment to T3283: Create a vm to test the mirror environment.

VM created by terraform :

mirror-tests_summary = 
hostname: mirror-test
fqdn: mirror-test.internal.staging.swh.network
network: ip=192.168.130.160/24,gw=192.168.130.1 macaddrs=E6:3C:8A:B7:26:5D
Apr 22 2021, 5:42 PM · System administration
vsellier added a comment to T3283: Create a vm to test the mirror environment.

VM declared on the inventory : https://inventory.internal.softwareheritage.org/virtualization/virtual-machines/103/
Future ip will be 192.168.130.160

Apr 22 2021, 5:31 PM · System administration
vsellier changed the status of T3283: Create a vm to test the mirror environment from Open to Work in Progress.
Apr 22 2021, 5:12 PM · System administration
vsellier triaged T3283: Create a vm to test the mirror environment as Normal priority.
Apr 22 2021, 4:49 PM · System administration
vsellier removed a project from T3165: Generate historical data from the new counters series: Roadmap 2021.
Apr 22 2021, 4:25 PM · System administration, Monitoring
vsellier closed D5572: Implement the jounal client counting an internal property of an object.
Apr 22 2021, 4:14 PM
vsellier committed rDCNT5cae9b7cfe30: Implement the jounal client counting an internal property of an object (authored by vsellier).
Implement the jounal client counting an internal property of an object
Apr 22 2021, 4:14 PM
vsellier added a comment to D5572: Implement the jounal client counting an internal property of an object.

thanks for the diff you will propose. I will land this one in the interval.

Apr 22 2021, 4:13 PM
vsellier added a comment to D5572: Implement the jounal client counting an internal property of an object.

It's for performance considerations only, for most of the counters, counting the keys is enough as it's the unique identifier in kafka.
The KeyOrientedJournalClient[1] is bypassing the object deserialization when a message is received, so a more classical client is needed for this specific Person case.

Apr 22 2021, 2:59 PM
vsellier updated the diff for D5572: Implement the jounal client counting an internal property of an object.

add missing doc strings

Apr 22 2021, 2:39 PM
vsellier updated the diff for D5572: Implement the jounal client counting an internal property of an object.

Update according the reviews' feedbacks

Apr 22 2021, 1:19 PM
vsellier added inline comments to D5572: Implement the jounal client counting an internal property of an object.
Apr 22 2021, 12:45 PM
vsellier added inline comments to D5572: Implement the jounal client counting an internal property of an object.
Apr 22 2021, 12:26 PM
vsellier requested review of D5573: Update the counters' journal clients configuration to count the persons.
Apr 22 2021, 12:08 PM
vsellier added a revision to T3251: Count authors from revisions and releases: D5573: Update the counters' journal clients configuration to count the persons.
Apr 22 2021, 12:08 PM · Monitoring, Web app
vsellier committed rDENV76232fa40ada: Add the counters-journal-client-messages deployment (authored by vsellier).
Add the counters-journal-client-messages deployment
Apr 22 2021, 11:06 AM
vsellier requested review of D5572: Implement the jounal client counting an internal property of an object.
Apr 22 2021, 10:37 AM
vsellier added a revision to T3251: Count authors from revisions and releases: D5572: Implement the jounal client counting an internal property of an object.
Apr 22 2021, 10:36 AM · Monitoring, Web app

Apr 21 2021

vsellier added a comment to T3242: Decommission ClearlyDefined resources.

puppet ressources cleaned:

root@pergamon:~# /usr/local/sbin/swh-puppet-master-decomission clearly-defined.internal.staging.swh.network
+ puppet node deactivate clearly-defined.internal.staging.swh.network
Submitted 'deactivate node' for clearly-defined.internal.staging.swh.network with UUID 26eb9a73-add9-4745-b068-6106ab2b20b4
+ puppet node clean clearly-defined.internal.staging.swh.network
Notice: Revoked certificate with serial 256
Notice: Removing file Puppet::SSL::Certificate clearly-defined.internal.staging.swh.network at '/var/lib/puppet/ssl/ca/signed/clearly-defined.internal.staging.swh.network.pem'
clearly-defined.internal.staging.swh.network
+ puppet cert clean clearly-defined.internal.staging.swh.network
Warning: `puppet cert` is deprecated and will be removed in a future release.
   (location: /usr/lib/ruby/vendor_ruby/puppet/application.rb:370:in `run')
Notice: Revoked certificate with serial 256
+ systemctl restart apache2
Apr 21 2021, 5:17 PM · System administration
vsellier closed D5557: Remove clearly-defined resources.
Apr 21 2021, 4:40 PM
vsellier committed rSPSITE239a1337af3d: Remove clearly-defined resources (authored by vsellier).
Remove clearly-defined resources
Apr 21 2021, 4:40 PM
vsellier updated the diff for D5557: Remove clearly-defined resources.

rebase

Apr 21 2021, 4:40 PM
vsellier closed T3242: Decommission ClearlyDefined resources as Resolved.
  • vm destroyed
  • configuration removed for terraform
  • database schemas cleared:
    • before:
root@db1:~# zpool list
NAME   SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
data  27.3T   623G  26.7T        -         -    16%     2%  1.00x    ONLINE  -
Apr 21 2021, 4:25 PM · System administration
vsellier committed rSPRE4ee025890a6a: Remove clearly-defined resources (authored by vsellier).
Remove clearly-defined resources
Apr 21 2021, 4:19 PM
vsellier accepted D5568: Update save code now monitoring checks.

lgtm

Apr 21 2021, 9:34 AM · Save Code Now

Apr 20 2021

vsellier added a comment to T3243: Replace /dev/sdb and /dev/sdc on storage1.staging.

The 2 disks were removed from the server and packaged to be sent to seagate.

Apr 20 2021, 5:32 PM · System administration, Staging environment
vsellier added a comment to T3041: [production] Provision enough space for the search ES cluster to ingest all intrinsic metadata.

The order was received and confirmed by dell ETA: 28th may
The detail was sent on the sysadm mailing list

Apr 20 2021, 5:21 PM · System administration, Archive search
vsellier committed rDSNIP5f6a258f80f5: Add the demo content of the kubernetes 101's 5mn talk (authored by vsellier).
Add the demo content of the kubernetes 101's 5mn talk
Apr 20 2021, 4:49 PM
vsellier committed rDENV27704a539d9e: improve documentation (authored by vsellier).
improve documentation
Apr 20 2021, 4:20 PM
vsellier committed rDENVdc71eed6c7da: Add dedicated deposit workers (checker and loader) (authored by ardumont).
Add dedicated deposit workers (checker and loader)
Apr 20 2021, 4:20 PM
vsellier committed rDENV30134c180d73: Remove unused dockerfile (authored by vsellier).
Remove unused dockerfile
Apr 20 2021, 4:20 PM
vsellier committed rDENVf9dad6d11992: use swh-counters in the webapp (authored by vsellier).
use swh-counters in the webapp
Apr 20 2021, 4:20 PM
vsellier committed rDENV4fbdd63d5764: Increase directory slicing level (authored by vsellier).
Increase directory slicing level
Apr 20 2021, 4:20 PM
vsellier committed rDENV5542bf610f31: increase loader limits (authored by vsellier).
increase loader limits
Apr 20 2021, 4:20 PM
vsellier committed rDENV77a880ae9cfe: Activate metadata search via swh-search (authored by vsellier).
Activate metadata search via swh-search
Apr 20 2021, 4:20 PM
vsellier committed rDENVb8ed26f590b2: fix elasticsearch mount point (authored by vsellier).
fix elasticsearch mount point
Apr 20 2021, 4:20 PM
vsellier committed rDENVdb83366c3bd9: kafka: avoid oom on startup when data is growing (authored by vsellier).
kafka: avoid oom on startup when data is growing
Apr 20 2021, 4:20 PM
vsellier committed rDENV0870b274c6d0: webapp: Activate vault interaction (authored by ardumont).
webapp: Activate vault interaction
Apr 20 2021, 4:20 PM
vsellier committed rDENV6a4ce883c115: Add vault db service (authored by ardumont).
Add vault db service
Apr 20 2021, 4:20 PM
vsellier committed rDENVb239c1b8be4c: Add vault service (authored by ardumont).
Add vault service
Apr 20 2021, 4:20 PM
vsellier committed rDENV9767cf144961: Add vault cooker workers (authored by ardumont).
Add vault cooker workers
Apr 20 2021, 4:20 PM
vsellier committed rDENVf21713ee863a: Add indexer journal client (authored by ardumont).
Add indexer journal client
Apr 20 2021, 4:20 PM
vsellier committed rDENV7fef5665858a: Add indexer workers (authored by ardumont).
Add indexer workers
Apr 20 2021, 4:20 PM
vsellier committed rDENVe2a1bdb720a5: Add indexer storage rpc service (authored by ardumont).
Add indexer storage rpc service
Apr 20 2021, 4:20 PM
vsellier committed rDENV7bd763b91b61: kubernetes/Readme: Simplify readme instructions (authored by ardumont).
kubernetes/Readme: Simplify readme instructions
Apr 20 2021, 4:20 PM
vsellier committed rDENVf03bd679bf5a: Add indexer storage db service (authored by ardumont).
Add indexer storage db service
Apr 20 2021, 4:20 PM
vsellier committed rDENVf0fba4227e7d: speedup rebuild (authored by vsellier).
speedup rebuild
Apr 20 2021, 4:20 PM
vsellier committed rDENV30007adceb03: Parallelize builds (authored by vsellier).
Parallelize builds
Apr 20 2021, 4:20 PM
vsellier committed rDENVbcc93abec692: reduce kafka startup time (authored by vsellier).
reduce kafka startup time
Apr 20 2021, 4:20 PM
vsellier committed rDENVc955e3a82e56: Add a UI on top of the registry (authored by vsellier).
Add a UI on top of the registry
Apr 20 2021, 4:20 PM
vsellier committed rDENV2c3d0f8274cd: counters: use labels in prometheus queries (authored by vsellier).
counters: use labels in prometheus queries
Apr 20 2021, 4:20 PM
vsellier committed rDENV38f8aa3fadda: loaders: use a dynamic hostname (authored by vsellier).
loaders: use a dynamic hostname
Apr 20 2021, 4:20 PM
vsellier committed rDENV2e0dd8ed9990: monitoring: use consistent names for exporter job (authored by vsellier).
monitoring: use consistent names for exporter job
Apr 20 2021, 4:20 PM
vsellier committed rDENVb10d8517b7cf: webapp use counters to display the history count graph (authored by vsellier).
webapp use counters to display the history count graph
Apr 20 2021, 4:20 PM
vsellier committed rDENV78c3bf55b146: use a local storage for the registry (authored by vsellier).
use a local storage for the registry
Apr 20 2021, 4:20 PM
vsellier committed rDENVe6ebec4998ae: try to perform a warm shutdown of the lister and loaders (authored by vsellier).
try to perform a warm shutdown of the lister and loaders
Apr 20 2021, 4:20 PM
vsellier committed rDENV22cb1e91ddc6: Decrease verbosity for scheduler and counter stack (authored by ardumont).
Decrease verbosity for scheduler and counter stack
Apr 20 2021, 4:20 PM
vsellier committed rDENVf0dfeb8581be: kubernetes/02-monitoring: Add scraping webapp metrics to prometheus (authored by ardumont).
kubernetes/02-monitoring: Add scraping webapp metrics to prometheus
Apr 20 2021, 4:20 PM
vsellier committed rDENVde347db31946: declare the counters stack (authored by vsellier).
declare the counters stack
Apr 20 2021, 4:20 PM
vsellier committed rDENVefa4de1f9541: add missing parts for counters (authored by vsellier).
add missing parts for counters
Apr 20 2021, 4:20 PM
vsellier committed rDENVedf940100bae: Add missing dockerfile for the lister's image (authored by vsellier).
Add missing dockerfile for the lister's image
Apr 20 2021, 4:20 PM
vsellier committed rDENV60b672c77729: reorder skaffold configuration (authored by vsellier).
reorder skaffold configuration
Apr 20 2021, 4:20 PM
vsellier committed rDENV55b356e0cac6: adapt limits (authored by vsellier).
adapt limits
Apr 20 2021, 4:20 PM
vsellier committed rDENV70a8dd6e6185: add scheduler journal client (authored by vsellier).
add scheduler journal client
Apr 20 2021, 4:20 PM
vsellier committed rDENV7205315a7d3b: Increase storage limit to avoid OOM (authored by vsellier).
Increase storage limit to avoid OOM
Apr 20 2021, 4:20 PM
vsellier committed rDENV093900b5782e: Add search journal client (authored by vsellier).
Add search journal client
Apr 20 2021, 4:20 PM
vsellier committed rDENV6a429ff7a096: Adjust limits (authored by vsellier).
Adjust limits
Apr 20 2021, 4:20 PM
vsellier committed rDENVe94dfa3450d1: add listers (authored by vsellier).
add listers
Apr 20 2021, 4:20 PM
vsellier committed rDENV17a38b2c0ece: configure the webapp to use postgresql (authored by vsellier).
configure the webapp to use postgresql
Apr 20 2021, 4:20 PM
vsellier committed rDENVd94ef9c03041: Improve elasticsearch startup (authored by vsellier).
Improve elasticsearch startup
Apr 20 2021, 4:20 PM
vsellier committed rDENV1c63c1267f3b: add missing point on the documentation (authored by vsellier).
add missing point on the documentation
Apr 20 2021, 4:20 PM
vsellier committed rDENV68d1bfb65f9e: Add swh-scheduler-listener service (authored by ardumont).
Add swh-scheduler-listener service
Apr 20 2021, 4:20 PM
vsellier committed rDENV046c1a456053: rabbitmq: Expose the rabbitmq manager port (authored by ardumont).
rabbitmq: Expose the rabbitmq manager port
Apr 20 2021, 4:20 PM
vsellier committed rDENV79876819cbcc: Drop scheduler-runner verbosity to INFO (authored by ardumont).
Drop scheduler-runner verbosity to INFO
Apr 20 2021, 4:20 PM
vsellier committed rDENVac7974bd84ef: Add swh search service (authored by ardumont).
Add swh search service
Apr 20 2021, 4:20 PM
vsellier committed rDENVe723af31c9ed: fix postgresql persistence (authored by vsellier).
fix postgresql persistence
Apr 20 2021, 4:20 PM
vsellier committed rDENV8221060a4ca5: Add elasticsearch service (authored by ardumont).
Add elasticsearch service
Apr 20 2021, 4:20 PM
vsellier committed rDENVebe1321c8418: Add scheduler-runner service (authored by ardumont).
Add scheduler-runner service
Apr 20 2021, 4:20 PM