Page MenuHomeSoftware Heritage
Feed Advanced Search

Sep 28 2020

vsellier retitled D4061: Add documentation to test locally from - Add documention test locally - Declare the swh-docker-dev job to Declare the swh-docker-dev job.
Sep 28 2020, 2:02 PM
vsellier created D4061: Add documentation to test locally.
Sep 28 2020, 2:00 PM
vsellier closed T2644: swh-docker-dev CI build - broken since build #569 - 404 not found for psql apt repo as Resolved.

I have added the `--pull` option in the job configuration so the python image will always be pulled (if needed) during the build :

Sep 28 2020, 10:59 AM · Docker environment, System administration

Sep 27 2020

vsellier claimed T2644: swh-docker-dev CI build - broken since build #569 - 404 not found for psql apt repo.
Sep 27 2020, 11:36 AM · Docker environment, System administration
vsellier added a comment to T2644: swh-docker-dev CI build - broken since build #569 - 404 not found for psql apt repo.

It seems the python 3.7 images on the jenkins master is quite old :

root@thyssen:~# docker images | grep python
python                     3.7                  a4cc999cf2aa        16 months ago       929MB
Sep 27 2020, 11:36 AM · Docker environment, System administration

Sep 25 2020

vsellier committed rDSNIPf14410a67888: netbox - import interfaces and ip addresses (authored by vsellier).
netbox - import interfaces and ip addresses
Sep 25 2020, 6:09 PM
vsellier closed D4044: Upgrade to postgresql 12.
Sep 25 2020, 5:06 PM
vsellier committed rDENV4cb4a9133914: Upgrade to postgresql 12 (authored by vsellier).
Upgrade to postgresql 12
Sep 25 2020, 5:06 PM
vsellier updated subscribers of D4025: Add netbox inventory tool support.

@olasd All the points we have checked yesterday should be addressed.

Sep 25 2020, 3:31 PM
vsellier updated the diff for D4025: Add netbox inventory tool support.

isolate the reverse_proxy configuration in a dedicated profile

Sep 25 2020, 3:24 PM
vsellier updated the diff for D4025: Add netbox inventory tool support.
  • Use the archive module to install the tgz
  • Declare missing dependencies to fix the initial puppet run
  • Install dir is now read-only for the netbox user
  • Restore the whitespaces on the cassandra configuration
Sep 25 2020, 12:56 PM
vsellier updated the diff for D3967: Vagrant environment to test puppet locally.

Rebase

Sep 25 2020, 10:58 AM
vsellier created D4044: Upgrade to postgresql 12.
Sep 25 2020, 9:56 AM

Sep 24 2020

vsellier committed rDSNIP8cc97eaa5f1b: initial commit of the netbox importer (authored by vsellier).
initial commit of the netbox importer
Sep 24 2020, 7:24 PM
vsellier updated the diff for D4025: Add netbox inventory tool support.
  • add apache and redis configurations
  • Use the swh forge's redis repository
  • use role::swh_server as base roleto activate the backup
Sep 24 2020, 5:29 PM
vsellier committed rSENV5fe9303121a6: Declare puppet/redis repository on swh forge (authored by vsellier).
Declare puppet/redis repository on swh forge
Sep 24 2020, 2:54 PM
vsellier changed the visibility for D4027: Add netbox password.
Sep 24 2020, 10:06 AM
vsellier changed the visibility for D4027: Add netbox password.
Sep 24 2020, 10:04 AM
vsellier planned changes to D4027: Add netbox password.
Sep 24 2020, 10:04 AM
vsellier retitled D4027: Add netbox password from Add netbox password (the addition of my password is not related to the issue itself but it was not push before) to Add netbox password.
Sep 24 2020, 10:04 AM
vsellier added a revision to T2620: Inventory of the swh infrastructure: D4027: Add netbox password.
Sep 24 2020, 10:03 AM · System administration
vsellier created D4027: Add netbox password.
Sep 24 2020, 10:03 AM
vsellier added a revision to T2620: Inventory of the swh infrastructure: Unknown Object (Differential Revision).
Sep 24 2020, 9:59 AM · System administration
vsellier planned changes to D4025: Add netbox inventory tool support.
Sep 24 2020, 9:41 AM
vsellier created D4025: Add netbox inventory tool support.
Sep 24 2020, 9:41 AM
vsellier added a revision to T2620: Inventory of the swh infrastructure: D4025: Add netbox inventory tool support.
Sep 24 2020, 9:41 AM · System administration
vsellier updated the diff for D3989: adapt configuration for the vagrant environment.

Add the properties for netbox on vagrant

Sep 24 2020, 9:32 AM

Sep 23 2020

vsellier updated the diff for D3967: Vagrant environment to test puppet locally.
  • declare site.pp to override the default puppet entrypoint
  • add the inventory vm
Sep 23 2020, 6:33 PM

Sep 22 2020

vsellier closed T2591: Filebeat fails to start on moma as Resolved.

The configuration is now managed by puppet.

Sep 22 2020, 3:17 PM · System administration
vsellier closed D3961: Manage filebeat configuration via puppet.
Sep 22 2020, 3:11 PM
vsellier committed rSPSITEc56d9612ca75: Manage filebeat configuration via puppet (authored by vsellier).
Manage filebeat configuration via puppet
Sep 22 2020, 3:11 PM
vsellier updated the diff for D3967: Vagrant environment to test puppet locally.

Update the base image to use ethX interfaces

Sep 22 2020, 3:05 PM
vsellier updated the diff for D3989: adapt configuration for the vagrant environment.
  • fix hiera configuration in the context of vagrant
  • fix vms network configuration
Sep 22 2020, 2:38 PM

Sep 21 2020

vsellier claimed T2620: Inventory of the swh infrastructure.
Sep 21 2020, 5:54 PM · System administration
vsellier changed the status of T2620: Inventory of the swh infrastructure from Open to Work in Progress.
Sep 21 2020, 5:54 PM · System administration
vsellier updated the diff for D3967: Vagrant environment to test puppet locally.

Remove useless comment

Sep 21 2020, 4:26 PM
vsellier added inline comments to D3989: adapt configuration for the vagrant environment.
Sep 21 2020, 4:01 PM
vsellier updated the diff for D3989: adapt configuration for the vagrant environment.

remove useless properties

Sep 21 2020, 4:01 PM
vsellier planned changes to D3989: adapt configuration for the vagrant environment.
Sep 21 2020, 3:42 PM
vsellier updated the diff for D3967: Vagrant environment to test puppet locally.

Remove unecessary comments

Sep 21 2020, 2:59 PM
vsellier planned changes to D3967: Vagrant environment to test puppet locally.

I don't know what's the current state of the diff is (I see quite a lot of commented code, don't know if you want to merge it like this or not, e.g. Vagrantfile).

I just discover there is still an issue with the network interfaces not configured after a restart of a vm. IMO we can wait for this problem to be solved before landing the diff.

Sep 21 2020, 2:52 PM
vsellier updated the test plan for D3961: Manage filebeat configuration via puppet.
Sep 21 2020, 2:18 PM
vsellier updated the diff for D3967: Vagrant environment to test puppet locally.

Fix plenty of " :" ;)

Sep 21 2020, 1:44 PM
vsellier closed T2594: production: Running nixguix on guix sources, a subtask of T1352: ingest Guix (SD) packages, as Resolved.
Sep 21 2020, 12:09 PM · Archive coverage
vsellier closed T2594: production: Running nixguix on guix sources, a subtask of T2485: staging: Running nixguix on guix sources , as Resolved.
Sep 21 2020, 12:09 PM · Archive coverage
vsellier closed T2594: production: Running nixguix on guix sources as Resolved.

The recurring visits looks good.

Sep 21 2020, 12:09 PM · Archive coverage, System administration
vsellier updated the task description for T2606: Test puppet configuration in a local vagrant environment.
Sep 21 2020, 11:49 AM · System administration
vsellier updated the diff for D3961: Manage filebeat configuration via puppet.

update the diff according the previous feedbacks :

  • The logstash hosts are declared on a uniq property
  • No more yaml templates ;)
  • The profile::filbeat doesn't use parameters anymore
  • Ensure the permissions are correctly set
  • Add the purge option on the inputs.d directory
Sep 21 2020, 9:28 AM

Sep 18 2020

vsellier created D3989: adapt configuration for the vagrant environment.
Sep 18 2020, 3:09 PM
vsellier added a revision to T2606: Test puppet configuration in a local vagrant environment: D3989: adapt configuration for the vagrant environment.
Sep 18 2020, 3:09 PM · System administration
vsellier updated the diff for D3967: Vagrant environment to test puppet locally.
Add vagrant configuration and documentation
Sep 18 2020, 2:55 PM
vsellier retitled D3967: Vagrant environment to test puppet locally from Create the virtualbox image used to instantiate the vagrant environment to Vagrant environment to test puppet locally.
Sep 18 2020, 2:54 PM

Sep 17 2020

vsellier updated the diff for D3967: Vagrant environment to test puppet locally.

add vagrant usage documentation

Sep 17 2020, 7:02 PM
vsellier updated the diff for D3967: Vagrant environment to test puppet locally.

prefix the preseed file by the debian version name

Sep 17 2020, 5:47 PM
vsellier updated the diff for D3961: Manage filebeat configuration via puppet.

rebase

Sep 17 2020, 3:50 PM
vsellier added a comment to T2608: Deploy launchpad and gitea listers on production.
  • lister's cache truncated :
swh-lister=> truncate gitea_repo;
TRUNCATE TABLE
swh-lister=> truncate launchpad_repo;
TRUNCATE TABLE
  • recurring task for full listing created :
    • gitea
swhscheduler@saatchi:~$ swh  scheduler --config-file /etc/softwareheritage/scheduler.yml task add list-gitea-full url=https://codeberg.org/api/v1/ limit=100
INFO:swh.core.config:Loading config file /etc/softwareheritage/scheduler.yml
Created 1 tasks
Sep 17 2020, 2:52 PM · Archive coverage, System administration
vsellier added a comment to T2608: Deploy launchpad and gitea listers on production.
  • Task types registered on the scheduler :
swhscheduler@saatchi:~$ swh scheduler --config-file /etc/softwareheritage/scheduler.yml task-type register -p lister.launchpad
INFO:swh.core.config:Loading config file /etc/softwareheritage/scheduler.yml
INFO:swh.scheduler.cli.task_type:Loading entrypoint for plugin lister.launchpad
swhscheduler@saatchi:~$ swh scheduler --config-file /etc/softwareheritage/scheduler.yml task-type register -p lister.gitea    
INFO:swh.core.config:Loading config file /etc/softwareheritage/scheduler.yml
INFO:swh.scheduler.cli.task_type:Loading entrypoint for plugin lister.gitea
Sep 17 2020, 2:37 PM · Archive coverage, System administration
vsellier added a comment to D3967: Vagrant environment to test puppet locally.

the iso is available on the public annex at this url : https://annex.softwareheritage.org/public/isos/virtualbox/debian/

Sep 17 2020, 1:27 PM
vsellier added a comment to D3967: Vagrant environment to test puppet locally.
In D3967#98011, @olasd wrote:

I think this should be moved to the sysadm-provisioning repository [1] instead.

[1] https://forge.softwareheritage.org/source/swh-sysadmin-provisioning/

No, I think a puppet-specific thing like this should definitely be in the puppet repository.

Sep 17 2020, 1:26 PM
vsellier added a comment to T2608: Deploy launchpad and gitea listers on production.
  • initial gitea lister launched :
swhworker@worker02:~$ SWH_CONFIG_FILENAME=/etc/softwareheritage/lister.yml swh lister run --lister gitea --priority high url=https://codeberg.org/api/v1/ limit=100
...
INFO:root:listing repos starting at 1198
INFO:root:listing repos starting at 1199
INFO:root:listing repos starting at 1200
INFO:root:stopping after page 1200, no next link found
Sep 17 2020, 11:53 AM · Archive coverage, System administration
vsellier closed T2577: Test gitea lister on staging environment, a subtask of T2313: Archive git.fsfe.org (Gitea), as Resolved.
Sep 17 2020, 11:41 AM · Archive coverage, Lister
vsellier closed T2577: Test gitea lister on staging environment as Resolved.

everything seems to work well, the production deployment will be done in T2608

Sep 17 2020, 11:41 AM · Lister
vsellier added a comment to T2608: Deploy launchpad and gitea listers on production.
  • initial manual launchpad listing launched :
swhworker@worker02:~$ SWH_CONFIG_FILENAME=/etc/softwareheritage/lister.yml swh lister run --lister launchpad --priority high
INFO:swh.core.config:Loading config file /etc/softwareheritage/lister.yml
INFO:swh.core.config:Loading config file /etc/softwareheritage/global.ini
INFO:swh.core.config:Loading config file /etc/softwareheritage/lister.yml
Sep 17 2020, 11:39 AM · Archive coverage, System administration
vsellier added a comment to T2608: Deploy launchpad and gitea listers on production.
  • schedult tak-types created:
swhscheduler@saatchi:~$ swh scheduler --config-file /etc/softwareheritage/scheduler.yml task-type register -p lister.gitea
INFO:swh.core.config:Loading config file /etc/softwareheritage/scheduler.yml
INFO:swh.scheduler.cli.task_type:Loading entrypoint for plugin lister.gitea
INFO:swh.scheduler.cli.task_type:Create task type list-gitea-full in scheduler
INFO:swh.scheduler.cli.task_type:Create task type list-gitea-incremental in scheduler
swhscheduler@saatchi:~$ swh scheduler --config-file /etc/softwareheritage/scheduler.yml task-type register -p lister.launchpad
INFO:swh.core.config:Loading config file /etc/softwareheritage/scheduler.yml
INFO:swh.scheduler.cli.task_type:Loading entrypoint for plugin lister.launchpad
INFO:swh.scheduler.cli.task_type:Create task type list-launchpad-full in scheduler
INFO:swh.scheduler.cli.task_type:Create task type list-launchpad-incremental in scheduler
INFO:swh.scheduler.cli.task_type:Create task type list-launchpad-new in scheduler
Sep 17 2020, 11:34 AM · Archive coverage, System administration
vsellier added a comment to T2608: Deploy launchpad and gitea listers on production.
  • user guest granted to access the new tables :
swh-lister=>    grant select
swh-lister->    on all tables in schema public
swh-lister->    to guest;
GRANT
Sep 17 2020, 11:27 AM · Archive coverage, System administration
vsellier added a comment to T2608: Deploy launchpad and gitea listers on production.
  • lister model updated from worker01:
swhworker@worker01:/etc/softwareheritage$ swh lister --db-url postgresql://*****@db.internal.softwareheritage.org:5432/swh-lister db-init
INFO:swh.lister.cli:Loading lister bitbucket
INFO:swh.lister.cli:Loading lister cgit
INFO:swh.lister.cli:Loading lister cran
INFO:swh.lister.cli:Loading lister debian
INFO:swh.lister.cli:Loading lister gitea
INFO:swh.lister.cli:Loading lister github
INFO:swh.lister.cli:Loading lister gitlab
INFO:swh.lister.cli:Loading lister gnu
INFO:swh.lister.cli:Loading lister launchpad
INFO:swh.lister.cli:Loading lister npm
INFO:swh.lister.cli:Loading lister packagist
INFO:swh.lister.cli:Loading lister phabricator
INFO:swh.lister.cli:Loading lister pypi
INFO:swh.lister.cli:Initializing database
INFO:swh.lister.core.models:Creating tables
INFO:swh.lister.cli:Calling init hook for debian
Sep 17 2020, 11:21 AM · Archive coverage, System administration
vsellier added a comment to T2608: Deploy launchpad and gitea listers on production.

New version of the lister package deployed :

  • on workers
root@pergamon:~# clush -b -w @swh-workers 'apt-get update; apt install -y python3-swh.lister' 
...
root@pergamon:~# clush -b -w @swh-workers "dpkg -l python3-swh.lister"
---------------
worker[01-16] (16)
---------------
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name               Version              Architecture Description
+++-==================-====================-============-=================================================================
ii  python3-swh.lister 0.1.4-1~swh1~bpo10+1 all          Software Heritage Listers (bitbucket, git(lab|hub), pypi, etc...)
  • on the scheduler :
root@saatchi:~# apt update && apt install python3-swh.lister
...
Restarting services...
 systemctl restart gunicorn-swh-scheduler.service icinga2.service journalbeat.service postfix@-.service rabbitmq-server.service rpcbind.service ssh.service swh-scheduler-runner.service unbound.service
Sep 17 2020, 11:13 AM · Archive coverage, System administration
vsellier added a comment to T2608: Deploy launchpad and gitea listers on production.

Actions :

  • deploy the new version of the lister on each worker
  • update the lister data model
  • create the new task-type on the scheduler
  • manually launch a listing to create high priority loading tasks for launchpad and gitea repository to ingest soon the repositories and not at the end of the current git queue
  • truncate lister cache to allow the recurring loading tasks to be created
  • schedule the recurring listing tasks for both repositories
Sep 17 2020, 10:44 AM · Archive coverage, System administration
vsellier added a subtask for T1734: Create a Lister for launchpad.net: T2608: Deploy launchpad and gitea listers on production.
Sep 17 2020, 10:40 AM · Lister, Archive coverage
vsellier added parent tasks for T2608: Deploy launchpad and gitea listers on production: T1734: Create a Lister for launchpad.net, T2313: Archive git.fsfe.org (Gitea).
Sep 17 2020, 10:40 AM · Archive coverage, System administration
vsellier added a subtask for T2313: Archive git.fsfe.org (Gitea): T2608: Deploy launchpad and gitea listers on production.
Sep 17 2020, 10:40 AM · Archive coverage, Lister
vsellier changed the status of T2608: Deploy launchpad and gitea listers on production from Open to Work in Progress.
Sep 17 2020, 10:39 AM · Archive coverage, System administration

Sep 16 2020

vsellier created D3967: Vagrant environment to test puppet locally.
Sep 16 2020, 6:28 PM
vsellier added a revision to T2606: Test puppet configuration in a local vagrant environment: D3967: Vagrant environment to test puppet locally.
Sep 16 2020, 6:28 PM · System administration
vsellier changed the status of T2606: Test puppet configuration in a local vagrant environment from Open to Work in Progress.
Sep 16 2020, 6:16 PM · System administration
vsellier updated the test plan for D3961: Manage filebeat configuration via puppet.
Sep 16 2020, 5:14 PM
vsellier updated the diff for D3961: Manage filebeat configuration via puppet.

Use the capability of filebeat to use a file per input.

Sep 16 2020, 5:12 PM
vsellier edited reviewers for D3961: Manage filebeat configuration via puppet, added: System administrators; removed: Reviewers.
Sep 16 2020, 11:11 AM
vsellier added a revision to T2591: Filebeat fails to start on moma: D3961: Manage filebeat configuration via puppet.
Sep 16 2020, 11:11 AM · System administration
vsellier created D3961: Manage filebeat configuration via puppet.
Sep 16 2020, 11:11 AM

Sep 15 2020

vsellier added a comment to T2594: production: Running nixguix on guix sources.

The loading is in progress and seems ok

Sep 15 2020, 11:56 AM · Archive coverage, System administration
vsellier added a comment to T2594: production: Running nixguix on guix sources.

The loading task for guix is scheduled in production :

swhscheduler@saatchi:~$ swh scheduler --config-file /etc/softwareheritage/scheduler.yml task add load-nixguix url=https://guix.gnu.org/sources.json
INFO:swh.core.config:Loading config file /etc/softwareheritage/scheduler.yml
Created 1 tasks
Sep 15 2020, 11:41 AM · Archive coverage, System administration
vsellier removed a subtask for T1991: Implement a Guix/Nix loader: T2594: production: Running nixguix on guix sources.
Sep 15 2020, 11:25 AM · Package Loader
vsellier edited parent tasks for T2594: production: Running nixguix on guix sources, added: T2485: staging: Running nixguix on guix sources ; removed: T1991: Implement a Guix/Nix loader.
Sep 15 2020, 11:25 AM · Archive coverage, System administration
vsellier added a subtask for T2485: staging: Running nixguix on guix sources : T2594: production: Running nixguix on guix sources.
Sep 15 2020, 11:25 AM · Archive coverage
vsellier added a subtask for T1991: Implement a Guix/Nix loader: T2594: production: Running nixguix on guix sources.
Sep 15 2020, 11:24 AM · Package Loader
vsellier added a parent task for T2594: production: Running nixguix on guix sources: T1991: Implement a Guix/Nix loader.
Sep 15 2020, 11:24 AM · Archive coverage, System administration
vsellier added a parent task for T2594: production: Running nixguix on guix sources: T1352: ingest Guix (SD) packages.
Sep 15 2020, 11:22 AM · Archive coverage, System administration
vsellier added a subtask for T1352: ingest Guix (SD) packages: T2594: production: Running nixguix on guix sources.
Sep 15 2020, 11:22 AM · Archive coverage
vsellier changed the status of T2594: production: Running nixguix on guix sources from Open to Work in Progress.
Sep 15 2020, 11:22 AM · Archive coverage, System administration
vsellier added a comment to T2591: Filebeat fails to start on moma.

The configuration was fixed on moma :

root@moma:/etc/filebeat# diff -U3 /tmp/filebeat.yml /etc/filebeat/filebeat.yml
--- /tmp/filebeat.yml	2020-09-15 08:10:20.512838905 +0000
+++ /etc/filebeat/filebeat.yml	2020-09-15 08:16:13.096135043 +0000
@@ -1,4 +1,4 @@
-filebeat.prospectors:
+filebeat.inputs:
 - type: log
   paths:
     - /var/log/apache2/archive.softwareheritage.org_non-ssl_access.log

and the logs since the last rotation correctly ingested :

Sep 15 2020, 10:29 AM · System administration
vsellier updated the task description for T2591: Filebeat fails to start on moma.
Sep 15 2020, 10:08 AM · System administration
vsellier changed the status of T2591: Filebeat fails to start on moma from Open to Work in Progress.
Sep 15 2020, 10:05 AM · System administration

Sep 14 2020

vsellier added a comment to T2358: Deploy launchpad lister on staging.

An email was sent on the swh-devel mailing list to ask for reviews.
The deployment in production will be performed in the middle of week 38 is no problems are raised.

Sep 14 2020, 10:09 AM · System administration, Lister, Archive coverage
vsellier added a comment to T2577: Test gitea lister on staging environment.

An email was sent on the swh-devel mailing list to ask for reviews.
The deployment in production will be performed in the middle of week 38 is no problems are raised.

Sep 14 2020, 10:09 AM · Lister

Sep 11 2020

vsellier triaged T2584: Wrong link for repositories with '+' in the url as Normal priority.
Sep 11 2020, 10:51 AM · Web app

Sep 10 2020

vsellier reopened T2577: Test gitea lister on staging environment, a subtask of T2313: Archive git.fsfe.org (Gitea), as Work in Progress.
Sep 10 2020, 7:03 PM · Archive coverage, Lister
vsellier reopened T2577: Test gitea lister on staging environment as "Work in Progress".

reopened to validate to complete process from the listing to the loading of some repository

Sep 10 2020, 7:03 PM · Lister
vsellier closed T2577: Test gitea lister on staging environment, a subtask of T2313: Archive git.fsfe.org (Gitea), as Resolved.
Sep 10 2020, 1:07 PM · Archive coverage, Lister
vsellier closed T2577: Test gitea lister on staging environment as Resolved.
Sep 10 2020, 1:07 PM · Lister