Page MenuHomeSoftware Heritage
Feed Advanced Search

Nov 30 2020

vsellier closed T2790: [staging] deploy the journal infrastructure as Resolved.
Nov 30 2020, 10:47 AM · System administration, Staging environment
vsellier closed T2790: [staging] deploy the journal infrastructure, a subtask of T2682: Deploy a small publicly available kafka server (with some content) on a staging (+ the related objstorage), as Resolved.
Nov 30 2020, 10:47 AM · Staging environment, System administration

Nov 27 2020

vsellier closed T2816: Enable the journal-writer for the swh-idx-storage in staging as Resolved.

The swh-indexer stack is deployed on staging and the initial loading is done.
The volumes are quite low :

Nov 27 2020, 6:20 PM · System administrators, Staging environment, Journal, Archive search
vsellier added a revision to T2816: Enable the journal-writer for the swh-idx-storage in staging: D4625: staging: Fix object storage configuration for indexers.
Nov 27 2020, 3:20 PM · System administrators, Staging environment, Journal, Archive search
vsellier added a revision to T2816: Enable the journal-writer for the swh-idx-storage in staging: D4620: staging: configure idx-storage to write to kafka.
Nov 27 2020, 10:43 AM · System administrators, Staging environment, Journal, Archive search

Nov 26 2020

vsellier renamed T2817: Enable the swh-search environment in staging from Enable the swh-search in staging to Enable the swh-search environment in staging.
Nov 26 2020, 5:59 PM · System administrators, Staging environment, Journal, Archive search
vsellier triaged T2817: Enable the swh-search environment in staging as Normal priority.
Nov 26 2020, 5:58 PM · System administrators, Staging environment, Journal, Archive search
vsellier added a comment to T2816: Enable the journal-writer for the swh-idx-storage in staging.

T2814 needs to be released before

Nov 26 2020, 5:46 PM · System administrators, Staging environment, Journal, Archive search
vsellier triaged T2816: Enable the journal-writer for the swh-idx-storage in staging as Normal priority.
Nov 26 2020, 5:40 PM · System administrators, Staging environment, Journal, Archive search
vsellier added a revision to T2790: [staging] deploy the journal infrastructure: D4613: Reflect manual changes applied on journal0.
Nov 26 2020, 5:13 PM · System administration, Staging environment
vsellier added a comment to T2790: [staging] deploy the journal infrastructure.

the backfilling is complete (except for the metadatas). We will focus now on some clients to ensure all the local configuration is correct (T2814 for example), and then we will focus on exposing kafka to the outside.

Nov 26 2020, 12:49 PM · System administration, Staging environment

Nov 24 2020

vsellier added a comment to T2790: [staging] deploy the journal infrastructure.

The backfillng is done for several objects type and still in progress for revision, content, directory :

root@journal0:/opt/kafka/bin# for topic in $(./kafka-topics.sh --bootstrap-server $SERVER --list); do   echo -n "$topic : ";   ./kafka-run-class.sh kafka.tools.GetOffsetShell  --broker-list $SERVER --topic $topic | awk -F: '{s+=$3}END{print s}'; done
__consumer_offsets : 0
swh.journal.objects.content : 927440
swh.journal.objects.directory : 213279
swh.journal.objects.metadata_authority : 0
swh.journal.objects.metadata_fetcher : 0
swh.journal.objects.origin : 62892
swh.journal.objects.origin_visit : 68368
swh.journal.objects.origin_visit_status : 136721
swh.journal.objects.raw_extrinsic_metadata : 0
swh.journal.objects.release : 3101
swh.journal.objects.revision : 155746
swh.journal.objects.skipped_content : 189
swh.journal.objects.snapshot : 36046
swh.journal.objects_privileged.release : 0
swh.journal.objects_privileged.revision : 0

I have some doubts on how to import the following object types and if they need to :

  • swh.journal.objects.metadata_authority
  • swh.journal.objects.metadata_fetcher
  • swh.journal.objects.raw_extrinsic_metadata
  • swh.journal.objects_privileged.release
  • swh.journal.objects_privileged.revision
Nov 24 2020, 7:17 PM · System administration, Staging environment
vsellier added a comment to T2790: [staging] deploy the journal infrastructure.

The topics were created with 64 partitions and a replication factor of 1 :

Nov 24 2020, 4:51 PM · System administration, Staging environment
vsellier added a comment to T2790: [staging] deploy the journal infrastructure.
  • the vm memory was increased from 12G to 20G (completely "pifometrique" approximated value)
  • a new data disk of 500Go is attached to the VM (there are currently 300G of objects on storage1.staging)
  • the kafka's logdir was configured to be stored on a zfs volume composed of only the new data disk :
root@journal0:~# apt install zfs-dkms
## reboot
Nov 24 2020, 4:32 PM · System administration, Staging environment
vsellier added a revision to T2790: [staging] deploy the journal infrastructure: D4580: Configure backports to be able to install zfs packages.
Nov 24 2020, 4:27 PM · System administration, Staging environment
vsellier added a comment to T2790: [staging] deploy the journal infrastructure.

Kafka is up and running on journal0.
The next steps are:

  • tune the server as there is not a lot of disk space (and memory but only if needed) :
root@journal0:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            5.9G     0  5.9G   0% /dev
tmpfs           1.2G  560K  1.2G   1% /run
/dev/vda1        32G  7.2G   24G  24% /
tmpfs           5.9G  8.0K  5.9G   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           4.0M     0  4.0M   0% /sys/fs/cgroup
tmpfs           244M     0  244M   0% /run/user/1025
root@journal0:~# free -h
              total        used        free      shared  buff/cache   available
Mem:           11Gi       6.5Gi       354Mi        11Mi       4.8Gi       4.9Gi
Swap:            0B          0B          0B
  • Create the topics as explained in T2520#48682 (with a smaller number of partition and a replication factor to 1 as we only have one staging server)
  • Launch the backfill to populate kafka with the current content of the staging archive
Nov 24 2020, 12:36 PM · System administration, Staging environment
vsellier added a revision to T2790: [staging] deploy the journal infrastructure: D4571: Declare the certificate for the journal0.staging's kafka.
Nov 24 2020, 12:23 PM · System administration, Staging environment

Nov 23 2020

vsellier added a revision to T2790: [staging] deploy the journal infrastructure: D4560: Configure the kafka server for staging.
Nov 23 2020, 4:07 PM · System administration, Staging environment

Nov 19 2020

vsellier added a revision to T2790: [staging] deploy the journal infrastructure: D4534: Kafka needs a jre to run.
Nov 19 2020, 3:27 PM · System administration, Staging environment

Nov 17 2020

vsellier added a revision to T2790: [staging] deploy the journal infrastructure: D4497: Manage the parent directories of the kafka logdirs.
Nov 17 2020, 6:20 PM · System administration, Staging environment
vsellier added a revision to T2790: [staging] deploy the journal infrastructure: D4496: vagrant: Add staging-journal0 host.
Nov 17 2020, 5:36 PM · System administration, Staging environment
vsellier added a comment to T2790: [staging] deploy the journal infrastructure.

Rectification : kafka is installed on the node but it seems the configuration is not complete

Nov 17 2020, 5:30 PM · System administration, Staging environment
vsellier changed the status of T2790: [staging] deploy the journal infrastructure, a subtask of T2682: Deploy a small publicly available kafka server (with some content) on a staging (+ the related objstorage), from Open to Work in Progress.
Nov 17 2020, 3:09 PM · Staging environment, System administration
vsellier changed the status of T2790: [staging] deploy the journal infrastructure from Open to Work in Progress.
Nov 17 2020, 3:09 PM · System administration, Staging environment
vsellier added a project to T2790: [staging] deploy the journal infrastructure: System administration.
Nov 17 2020, 2:53 PM · System administration, Staging environment
vsellier added a project to T2682: Deploy a small publicly available kafka server (with some content) on a staging (+ the related objstorage): Staging environment.
Nov 17 2020, 2:53 PM · Staging environment, System administration
vsellier added a project to T2790: [staging] deploy the journal infrastructure: Staging environment.
Nov 17 2020, 2:53 PM · System administration, Staging environment

Nov 16 2020

olasd closed T2628: Recycle ceph-osd2 as objstorage/storage backend for staging as Resolved.
Nov 16 2020, 6:18 PM · Staging environment, System administration
olasd closed T2627: Recycle ceph-osd1 as staging database host as Resolved.
Nov 16 2020, 6:17 PM · Staging environment, System administration
ardumont updated the title for P866 staging: from hal staging to our staging deposit: deposits ok! from staging: hal deposits to staging: from hal staging to our staging deposit: deposits ok!.
Nov 16 2020, 3:47 PM · SWORD deposit, Staging environment
ardumont updated the task description for T2761: Install webapp counters in the staging webapp/storage.
Nov 16 2020, 10:46 AM · Storage manager, Web app, Staging environment

Nov 13 2020

ardumont added a project to T2770: Fix all icinga checks on staging webapp: Monitoring.
Nov 13 2020, 1:20 PM · Monitoring, System administration, Staging environment
ardumont added a comment to T2770: Fix all icinga checks on staging webapp.

for the last check, here is its origin:

Nov 13 2020, 12:07 PM · Monitoring, System administration, Staging environment
ardumont added a revision to T2770: Fix all icinga checks on staging webapp: D4470: loader.git.from_disk: Register loader in `swh loader run` cli.
Nov 13 2020, 10:04 AM · Monitoring, System administration, Staging environment

Nov 12 2020

ardumont updated the task description for T2770: Fix all icinga checks on staging webapp.
Nov 12 2020, 5:49 PM · Monitoring, System administration, Staging environment
ardumont added a comment to T2770: Fix all icinga checks on staging webapp.

One more check done.
One last check to go.

Nov 12 2020, 5:43 PM · Monitoring, System administration, Staging environment
ardumont added a revision to T2770: Fix all icinga checks on staging webapp: D4467: loader.git.from_disk: Fix cli.
Nov 12 2020, 5:33 PM · Monitoring, System administration, Staging environment
ardumont added a comment to T2770: Fix all icinga checks on staging webapp.
$ ipython3
In [1]: from swh.loader.git.from_disk import GitLoaderFromDisk
Nov 12 2020, 5:27 PM · Monitoring, System administration, Staging environment
ardumont added a comment to T2770: Fix all icinga checks on staging webapp.

i recall (now) one of those repositories is the parmap one, we got it on uffizi:

Nov 12 2020, 4:59 PM · Monitoring, System administration, Staging environment

Nov 10 2020

ardumont triaged T2770: Fix all icinga checks on staging webapp as Normal priority.
Nov 10 2020, 4:40 PM · Monitoring, System administration, Staging environment

Nov 9 2020

ardumont renamed T2761: Install webapp counters in the staging webapp/storage from Install webapp counter in the staging webapp/storage to Install webapp counters in the staging webapp/storage.
Nov 9 2020, 10:32 AM · Storage manager, Web app, Staging environment

Nov 6 2020

ardumont triaged T2761: Install webapp counters in the staging webapp/storage as Low priority.
Nov 6 2020, 3:40 PM · Storage manager, Web app, Staging environment

Oct 14 2020

ardumont added a revision to T2628: Recycle ceph-osd2 as objstorage/storage backend for staging: D4257: deposit-update-chart: Clarify sequence diagram.
Oct 14 2020, 3:26 PM · Staging environment, System administration

Oct 9 2020

olasd closed T1711: Create a testing environment, a subtask of T1785: Setup staging infrastructure, as Resolved.
Oct 9 2020, 3:32 PM · Staging environment, System administration

Sep 28 2020

olasd closed T1872: staging infra: New vlan, a subtask of T1785: Setup staging infrastructure, as Resolved.
Sep 28 2020, 6:57 PM · Staging environment, System administration
olasd closed T1872: staging infra: New vlan, a subtask of T2628: Recycle ceph-osd2 as objstorage/storage backend for staging, as Resolved.
Sep 28 2020, 6:57 PM · Staging environment, System administration
olasd closed T1872: staging infra: New vlan, a subtask of T2627: Recycle ceph-osd1 as staging database host, as Resolved.
Sep 28 2020, 6:57 PM · Staging environment, System administration
olasd closed T1872: staging infra: New vlan as Resolved.

This was now just a matter of doing the clickity click on all hosts. They're now using the dedicated vlan.

Sep 28 2020, 6:57 PM · Staging environment, Staff, System administration
olasd added a comment to T1872: staging infra: New vlan.

I've added a bridge vmbr443 to all hypervisors.

Sep 28 2020, 6:11 PM · Staging environment, Staff, System administration
olasd added a comment to T1872: staging infra: New vlan.

I wanted to rename the bridges on the proxmox hosts to something clearer (like vmbr-staging) but it turns out that proxmox only supports bridges named /vmbr\d+/. Ugh.

Sep 28 2020, 5:42 PM · Staging environment, Staff, System administration
olasd added a project to T2628: Recycle ceph-osd2 as objstorage/storage backend for staging: Staging environment.
Sep 28 2020, 3:12 PM · Staging environment, System administration
olasd added a project to T2627: Recycle ceph-osd1 as staging database host: Staging environment.
Sep 28 2020, 3:12 PM · Staging environment, System administration

Sep 23 2020

olasd added a parent task for T1872: staging infra: New vlan: T2628: Recycle ceph-osd2 as objstorage/storage backend for staging.
Sep 23 2020, 11:52 AM · Staging environment, Staff, System administration
olasd added a parent task for T1872: staging infra: New vlan: T2627: Recycle ceph-osd1 as staging database host.
Sep 23 2020, 11:50 AM · Staging environment, Staff, System administration

Jul 21 2020

olasd added a parent task for T1872: staging infra: New vlan: T2501: Proxmox reliability improvements (Summer 2020).
Jul 21 2020, 2:53 PM · Staging environment, Staff, System administration

Jun 9 2020

olasd added a comment to T1872: staging infra: New vlan.

(the VLAN id for the staging vlan is 443).

Jun 9 2020, 12:07 PM · Staging environment, Staff, System administration
olasd added a comment to T1872: staging infra: New vlan.

Is this now done? If that's the case this ticked should be closed.

Jun 9 2020, 12:07 PM · Staging environment, Staff, System administration

May 29 2020

ardumont closed T2428: Unstuck failing loaders in staging as Resolved.
May 29 2020, 5:38 PM · Staging environment, Core Loader
ardumont added a comment to T2428: Unstuck failing loaders in staging.

Deployed.

May 29 2020, 5:38 PM · Staging environment, Core Loader
ardumont changed the status of T2428: Unstuck failing loaders in staging from Open to Work in Progress.
May 29 2020, 12:40 PM · Staging environment, Core Loader
ardumont added projects to T2428: Unstuck failing loaders in staging: Core Loader, Staging environment.
May 29 2020, 12:28 PM · Staging environment, Core Loader
ardumont added projects to D3196: package.loader: Check for snapshot id prior to reifying model object: Core Loader, Staging environment.
May 29 2020, 12:28 PM · Core Loader

May 11 2020

ardumont closed T1785: Setup staging infrastructure as Resolved.

This one we can close, not all of them though.

May 11 2020, 6:40 PM · Staging environment, System administration

May 9 2020

rdicosmo added a comment to T1785: Setup staging infrastructure.

Is this task still open? Likewise for T1711 T1712 and T1872

May 9 2020, 12:11 PM · Staging environment, System administration
rdicosmo added a comment to T1872: staging infra: New vlan.

Is this now done? If that's the case this ticked should be closed.

May 9 2020, 12:09 PM · Staging environment, Staff, System administration

Apr 24 2020

ardumont closed T1875: staging infra: Reproduce existing production setup in a compact way as Resolved.

It's fairly complete already.

Apr 24 2020, 3:39 PM · Staging environment, System administration
ardumont closed T1875: staging infra: Reproduce existing production setup in a compact way, a subtask of T1785: Setup staging infrastructure, as Resolved.
Apr 24 2020, 3:39 PM · Staging environment, System administration
ardumont updated the task description for T1875: staging infra: Reproduce existing production setup in a compact way.
Apr 24 2020, 3:39 PM · Staging environment, System administration
ardumont updated the task description for T1875: staging infra: Reproduce existing production setup in a compact way.
Apr 24 2020, 3:38 PM · Staging environment, System administration
ardumont closed T1874: staging infra: Setup gateway vm as Resolved.
Apr 24 2020, 3:29 PM · Staging environment, System administration
ardumont closed T1874: staging infra: Setup gateway vm, a subtask of T1872: staging infra: New vlan, as Resolved.
Apr 24 2020, 3:29 PM · Staging environment, Staff, System administration

Jan 22 2020

vlorentz added a project to T2231: Continuous deployment: Staging environment.
Jan 22 2020, 4:29 PM · meta-task, Roadmap 2022, Staging environment, Roadmap 2020
vlorentz added a project to T1874: staging infra: Setup gateway vm: Staging environment.
Jan 22 2020, 4:29 PM · Staging environment, System administration
vlorentz added a project to T1785: Setup staging infrastructure: Staging environment.
Jan 22 2020, 4:29 PM · Staging environment, System administration
vlorentz added a project to T1872: staging infra: New vlan: Staging environment.
Jan 22 2020, 4:29 PM · Staging environment, Staff, System administration
vlorentz added a project to T1875: staging infra: Reproduce existing production setup in a compact way: Staging environment.
Jan 22 2020, 4:28 PM · Staging environment, System administration
vlorentz created Staging environment.
Jan 22 2020, 4:28 PM