Page MenuHomeSoftware Heritage
Feed Advanced Search

Jan 11 2022

olasd added a comment to P1253 Clean up scheduler db script -- ran on dump extracted from swh-scheduler db (staging) and mounted back on swh-scheduler-dev db (docker).

To create the tables, you could use

Jan 11 2022, 6:35 PM
olasd added a comment to T3544: Deal with GitHub removing support for git:// URLs.

Oh, and now that we've moved workers to have a large swap space, the issue of downloading the full packfile in ram before rejecting it should be less disruptive than it's been in the past (where the whole worker would get killed because it ran out of its memory allocation).

Jan 11 2022, 10:27 AM · Origin-GitHub, Git loader
olasd added a comment to T3544: Deal with GitHub removing support for git:// URLs.

For now, I've disabled our hardcoding of the TCP transport for GitHub origins.

Jan 11 2022, 10:25 AM · Origin-GitHub, Git loader
olasd accepted D6904: browse/utils: Ensure to guess language from filename and not its path.
Jan 11 2022, 10:08 AM
olasd committed rDLDGdb5b80b47cbe: Disable hardcoding the TCP transport on GitHub (authored by olasd).
Disable hardcoding the TCP transport on GitHub
Jan 11 2022, 9:33 AM

Jan 10 2022

olasd accepted D6900: Fix typing issue.
Jan 10 2022, 6:35 PM
olasd added a comment to T3838: swh-search build is ko.

Why are we pinning tree-sitter at all?

Jan 10 2022, 4:44 PM · Archive search
olasd accepted D6890: git_objects: Use raw offset_bytes to format dates, and remove format_offset().

Thanks!

Jan 10 2022, 2:38 PM
olasd added a comment to D6894: converters: Write object_bytes and raw_manifest on revisions and releases.

Should we submit a change to dulwich to get access to, at least, the raw author/committer lines (or even better raw unparsed headers)?

Jan 10 2022, 2:36 PM

Jan 7 2022

olasd requested review of D6858: requirements-test: Drop pre-commit.
Jan 7 2022, 3:19 PM
olasd accepted D6891: docker/conf: Align some settings with production ones.

Thanks!

Jan 7 2022, 2:58 PM
olasd added a comment to T3819: Deploy swh.model 4.1.0 / swh.storage 0.41.0 to production.

Around half the revision rows have now been migrated to bytes offsets. The migration is still ongoing.

Jan 7 2022, 1:27 PM · System administration
olasd updated subscribers of T3819: Deploy swh.model 4.1.0 / swh.storage 0.41.0 to production.
Jan 7 2022, 1:27 PM · System administration
olasd accepted D6883: Make opam shared root initialization more robust.

Thanks for working on this!

Jan 7 2022, 3:45 AM

Jan 6 2022

olasd added inline comments to D6883: Make opam shared root initialization more robust.
Jan 6 2022, 4:08 PM
olasd added inline comments to D6883: Make opam shared root initialization more robust.
Jan 6 2022, 4:01 PM
olasd added a comment to D6874: docker/conf/loader: Configure storage with retry proxy.

Does reducing content_bytes (e.g. making it 50MB) help? How about going through nginx instead of hitting gunicorn directly?

I can try but aligning docker conf with production one seems the right way to proceed.

Jan 6 2022, 3:58 PM
olasd added inline comments to D6883: Make opam shared root initialization more robust.
Jan 6 2022, 3:51 PM
olasd added inline comments to D6883: Make opam shared root initialization more robust.
Jan 6 2022, 3:46 PM
olasd accepted D6886: Improve direct sql queries to the archive.

Great, thanks!

Jan 6 2022, 3:34 PM
olasd added inline comments to D6883: Make opam shared root initialization more robust.
Jan 6 2022, 3:30 PM
olasd added a comment to D6883: Make opam shared root initialization more robust.

To avoid having to care about the order in which the instances are defined, I suggest making the script called by the timer unit itself hardcode the commands for the default instance, then use run-parts on the snippets generated for the other instances.

Jan 6 2022, 1:30 PM
olasd added a comment to D6874: docker/conf/loader: Configure storage with retry proxy.

Does reducing content_bytes (e.g. making it 50MB) help? Any logs in the storage container? How about going through nginx instead of hitting gunicorn directly?

Jan 6 2022, 12:09 PM

Jan 5 2022

olasd accepted D6876: Allow to specify the visit grab parameters per visit type and policy.

Awesome!

Jan 5 2022, 11:07 PM
olasd added a comment to D6876: Allow to specify the visit grab parameters per visit type and policy.

The shape of POLICY_ADDITIONAL_PARAMETERS is a bit clunky, with the dict key being POLICY_ADDITIONAL_PARAMETERS[visit_type][kwarg][policy]; having the nested dict "key" be POLICY_ADDITIONAL_PARAMETERS[visit_type][policy] = kwargs would be simpler?

Jan 5 2022, 5:00 PM

Jan 4 2022

olasd added a comment to D6875: Add statsd metrics in JournalClient.process.

statsd.timing/statsd.timed do full histograms. Do we really want to keep bucketed counts for all of these values, or just a running total?

Jan 4 2022, 4:43 PM
olasd added a comment to D6874: docker/conf/loader: Configure storage with retry proxy.

What kinds of storage timeouts? I'm not against this on principle, but I'm a bit worried that this could be masking a real bug.

Jan 4 2022, 1:12 PM
olasd closed T3830: Update jenkins-debian1 signing key validity as Resolved.
Jan 4 2022, 12:30 PM · System administration
olasd added a comment to T3830: Update jenkins-debian1 signing key validity.

On jenkins-debian1:

Jan 4 2022, 12:30 PM · System administration
olasd triaged T3830: Update jenkins-debian1 signing key validity as High priority.
Jan 4 2022, 12:29 PM · System administration
olasd added a comment to T3827: Analyze low performance scheduling.

Adding a bunch of indexes will also make the updates by the listers slower, which may have cascading effects, so we should really avoid that if possible.

Jan 4 2022, 11:52 AM · System administration
olasd added a comment to T3827: Analyze low performance scheduling.

The index won't help as half of the rows of the table have this property, and you'll still have to filter and sort all the results afterwards (so the index will, at best, be used to fetch the rows less efficiently than the seq scan did). I doubt PostgreSQL will even consider the index.

Jan 4 2022, 11:52 AM · System administration

Jan 3 2022

olasd added a comment to T2526: create a noreply@s.o email address for bulk mailing / notification.

After thinking about it, we could set up a blackhole /dev/null alias on pergamon, and have gandi relay mail there (pergamon is already set up to receive mail, e.g. for the forge).

Jan 3 2022, 3:10 PM · System administration
olasd added a comment to T2526: create a noreply@s.o email address for bulk mailing / notification.

Who do you want behind it? (I don't think gandi supports a "blackhole" redirection)

Jan 3 2022, 2:30 PM · System administration
olasd triaged T3826: Make opam shared root initialization more robust as High priority.
Jan 3 2022, 2:15 PM · System administration, Opam
olasd accepted D6873: worker-large: Make worker consume standard git queue.

SGTM. Thanks!

Jan 3 2022, 2:05 PM

Dec 31 2021

olasd closed T3820: High disk usage on www.softwareheritage.org Gandi PAAS instance as Resolved.

Looks like the bogus payment requests have stopped now. Disk usage on the PAAS instance is under control.

Dec 31 2021, 4:45 PM · Website
olasd added a comment to T3820: High disk usage on www.softwareheritage.org Gandi PAAS instance.

After restarting the instance, MySQL binary logs are disabled, which should avoid us getting some confusing hidden disk usage again.

Dec 31 2021, 4:21 PM · Website
olasd added a comment to T3820: High disk usage on www.softwareheritage.org Gandi PAAS instance.

While tracking down the root issue in WordPress, I noticed (from the php-fpm error logs) that WPML's languages weren't properly initialized, so I did that in the WordPress admin interface (enabled the same languages as the rest of the website).

Dec 31 2021, 4:20 PM · Website
olasd added a comment to T3820: High disk usage on www.softwareheritage.org Gandi PAAS instance.

I used the Stripe API to cancel the fraudulous payment intent (https://stripe.com/docs/api/payment_intents/cancel). (request req_J31DYN4PJsxdkK)

Dec 31 2021, 4:06 PM · Website
olasd added a comment to T3820: High disk usage on www.softwareheritage.org Gandi PAAS instance.

Root cause analysis points to a high amount of stripe webhooks being received on/around the time of the outage.

Dec 31 2021, 3:59 PM · Website
olasd added a comment to T3820: High disk usage on www.softwareheritage.org Gandi PAAS instance.

After running the reset master command on the mysql server, the disk quota usage is back down to ~2 GB, which matches usage from files + the actual MySQL data.

Dec 31 2021, 3:50 PM · Website
olasd added a comment to T3820: High disk usage on www.softwareheritage.org Gandi PAAS instance.

Response from Gandi support

Dec 31 2021, 3:43 PM · Website
olasd added a comment to T3820: High disk usage on www.softwareheritage.org Gandi PAAS instance.

Message sent to gandi simple hosting support:

Dec 31 2021, 2:54 PM · Website
olasd added a comment to T3820: High disk usage on www.softwareheritage.org Gandi PAAS instance.

After enabling the emergency console on the gandi interface, I couldn't find the disk usage culprit with du. It soon became obvious that the disk usage came from the database (which is the only bit of the disk that's not readble via the account used to connect to the emergency console).

Dec 31 2021, 2:21 PM · Website
olasd triaged T3820: High disk usage on www.softwareheritage.org Gandi PAAS instance as Unbreak Now! priority.
Dec 31 2021, 2:06 PM · Website

Dec 30 2021

olasd added a comment to T3819: Deploy swh.model 4.1.0 / swh.storage 0.41.0 to production.

Well, that wasn't going to work either, so I've now re-launched the migration using id ranges, with 16 parallel queries...

Dec 30 2021, 5:13 PM · System administration

Dec 29 2021

olasd added a comment to D6871: Move grafana on a dedicated server behind the admin RP.

Why the duplication of profile::grafana into profile::grafana::backend?

Dec 29 2021, 4:21 PM
olasd committed rDDOC6cacfbdd32e1: sysadm: Update software inventory (authored by olasd).
sysadm: Update software inventory
Dec 29 2021, 3:28 PM
olasd committed rSPSITE30a85a54f7c5: Upgrade netbox to 3.1.2 (authored by olasd).
Upgrade netbox to 3.1.2
Dec 29 2021, 3:16 PM
olasd committed rSPSITEa3952bc5ed5d: Fix rancher-poc CNAME (authored by olasd).
Fix rancher-poc CNAME
Dec 29 2021, 1:23 PM
olasd committed rSPSITE22d9ba6db088: hedgedoc: scrape prometheus metrics (authored by olasd).
hedgedoc: scrape prometheus metrics
Dec 29 2021, 1:14 PM
olasd committed rSPSITE650ec64144fa: hedgedoc: upgrade to 1.9.2 (authored by olasd).
hedgedoc: upgrade to 1.9.2
Dec 29 2021, 1:07 PM
olasd committed R206:57a4975529a5: Merge tag '21.12.0' into softwareheritage (authored by olasd).
Merge tag '21.12.0' into softwareheritage
Dec 29 2021, 12:15 PM
olasd committed R206:1695c1e44427: Merge tag '21.11.0' into softwareheritage (authored by olasd).
Merge tag '21.11.0' into softwareheritage
Dec 29 2021, 12:15 PM
olasd committed R206:472cb0b44f8b: Merge tag '21.10.0' into softwareheritage (authored by olasd).
Merge tag '21.10.0' into softwareheritage
Dec 29 2021, 12:15 PM
olasd committed rSPSITE95ed69406b14: sentry: use --skip-user-prompt instead of CI variable for install.sh (authored by olasd).
sentry: use --skip-user-prompt instead of CI variable for install.sh
Dec 29 2021, 12:15 PM
olasd committed R206:310a95a59086: Merge tag '21.9.0' into softwareheritage (authored by olasd).
Merge tag '21.9.0' into softwareheritage
Dec 29 2021, 11:21 AM
olasd committed rSPSITEd5224a0448b8: Update sentry templates to 21.9.0 (authored by olasd).
Update sentry templates to 21.9.0
Dec 29 2021, 11:21 AM
olasd committed R206:f7f968869d5a: Merge tag '21.8.0' into softwareheritage (authored by olasd).
Merge tag '21.8.0' into softwareheritage
Dec 29 2021, 10:36 AM
olasd committed rSPSITE4a5ff86e74a9: Update sentry templates to 21.8.0 (authored by olasd).
Update sentry templates to 21.8.0
Dec 29 2021, 10:36 AM
olasd committed rSPSITEffe43be6bc0a: Make rancher-poc a CNAME instead of an A record (authored by olasd).
Make rancher-poc a CNAME instead of an A record
Dec 29 2021, 10:25 AM
olasd committed rSPSITE8ac5e537bbe8: docker_compose: use the docker::compose class instead of the package (authored by olasd).
docker_compose: use the docker::compose class instead of the package
Dec 29 2021, 10:19 AM

Dec 28 2021

olasd committed rSPSITEa9d40fee268e: swh::deploy: Replace missing $package variables (authored by olasd).
swh::deploy: Replace missing $package variables
Dec 28 2021, 5:14 PM
olasd committed rSPSITEaae82cad92ef: memcached: use listen instead of deprecated listen_ip (authored by olasd).
memcached: use listen instead of deprecated listen_ip
Dec 28 2021, 5:14 PM
olasd committed rSPSITEdca28f1ec5ec: Use `Require all granted` instead of `Allow from all` in apache vhosts (authored by olasd).
Use `Require all granted` instead of `Allow from all` in apache vhosts
Dec 28 2021, 5:14 PM
olasd committed rSPSITE9715480550c9: Use namespaced postgresql::postgresql_password function (authored by olasd).
Use namespaced postgresql::postgresql_password function
Dec 28 2021, 5:14 PM
olasd committed rSPSITEc08e750cf57a: cron::validate_field: make sure integral divisors are parsed as such (authored by olasd).
cron::validate_field: make sure integral divisors are parsed as such
Dec 28 2021, 5:14 PM
olasd committed rSPSITE157c44c5bf14: rabbitmq: don't manage python installation (authored by olasd).
rabbitmq: don't manage python installation
Dec 28 2021, 5:14 PM
olasd committed rSPSITEb5622d0f7b30: Rewrite ip_for_network as a new-style function (authored by olasd).
Rewrite ip_for_network as a new-style function
Dec 28 2021, 4:16 PM
olasd committed rSPSITE24fb9d57e46e: Move puppet-grafana to a branch compatible with puppet5 (authored by olasd).
Move puppet-grafana to a branch compatible with puppet5
Dec 28 2021, 3:59 PM
olasd committed rSENVf5c811fe0407: Move puppet-grafana to feature/puppet5-compat (authored by olasd).
Move puppet-grafana to feature/puppet5-compat
Dec 28 2021, 3:58 PM
olasd added a reverting change for R142:b127d6229678: Make password and secure_json_data in grafana_datasource sensitive so passwords…: R142:8a8a3bd87d3a: Revert "Make password and secure_json_data in grafana_datasource sensitive so….
Dec 28 2021, 3:57 PM
olasd committed R142:8a8a3bd87d3a: Revert "Make password and secure_json_data in grafana_datasource sensitive so… (authored by olasd).
Revert "Make password and secure_json_data in grafana_datasource sensitive so…
Dec 28 2021, 3:57 PM
olasd committed rSPSITEd69d22536ce5: Bump puppetlabs-vcsrepo to 5.0.0 (authored by olasd).
Bump puppetlabs-vcsrepo to 5.0.0
Dec 28 2021, 2:20 PM
olasd committed rSPSITE7b3938c3365f: Bump deric-zookeeper to 1.2.1 (authored by olasd).
Bump deric-zookeeper to 1.2.1
Dec 28 2021, 2:20 PM
olasd committed rSPSITEb62e89e2a55a: Bump puppet-unattended_upgrades to 6.0.0 (authored by olasd).
Bump puppet-unattended_upgrades to 6.0.0
Dec 28 2021, 2:13 PM
olasd committed rSPSITE063cca720eab: Bump saz-timezone to 6.1.0 (authored by olasd).
Bump saz-timezone to 6.1.0
Dec 28 2021, 2:13 PM
olasd committed rSPSITEb31f95429189: Puppetfile: Add comment to the old pinned version of the systemd module (authored by olasd).
Puppetfile: Add comment to the old pinned version of the systemd module
Dec 28 2021, 2:13 PM
olasd committed rSPSITEab35980be978: Bump saz-sudo to 7.0.2 (authored by olasd).
Bump saz-sudo to 7.0.2
Dec 28 2021, 2:13 PM
olasd committed rSPSITE4146b4a94149: Bump saz-ssh to 8.0.0 (authored by olasd).
Bump saz-ssh to 8.0.0
Dec 28 2021, 2:13 PM
olasd committed rSPSITE6efc626b2ae4: Bump puppetlabs-stdlib to 8.1.0 (authored by olasd).
Bump puppetlabs-stdlib to 8.1.0
Dec 28 2021, 2:13 PM
olasd committed rSPSITEd31fff34dc3a: Bump puppet-redis to 8.2.0 (authored by olasd).
Bump puppet-redis to 8.2.0
Dec 28 2021, 2:13 PM
olasd committed rSPSITEd3b684b38bf7: Bump saz-resolv_conf to 5.0.0 (authored by olasd).
Bump saz-resolv_conf to 5.0.0
Dec 28 2021, 2:13 PM
olasd committed rSPSITEd98bbb9df222: Bump saz-memcached to 7.0.0 (authored by olasd).
Bump saz-memcached to 7.0.0
Dec 28 2021, 1:33 PM
olasd committed rSPSITE7f0c16a83e6e: Bump puppet-rabbitmq to v11.1.0 (authored by olasd).
Bump puppet-rabbitmq to v11.1.0
Dec 28 2021, 1:33 PM
olasd committed rSPSITEec4ad2a9f40c: Bump puppetlabs-puppetdb to 7.10.0 (authored by olasd).
Bump puppetlabs-puppetdb to 7.10.0
Dec 28 2021, 1:33 PM
olasd committed rSPSITEa0aa4b759ffe: Bump puppetlabs-postgresql to 7.5.0 (authored by olasd).
Bump puppetlabs-postgresql to 7.5.0
Dec 28 2021, 12:51 PM
olasd committed rSPSITEcf17e7d55165: Bump puppet-php to 8.0.2 (authored by olasd).
Bump puppet-php to 8.0.2
Dec 28 2021, 12:51 PM
olasd committed rSPSITE2d8cf18d9a6d: Bump puppetlabs-ntp to 9.3.0 (authored by olasd).
Bump puppetlabs-ntp to 9.3.0
Dec 28 2021, 12:51 PM
olasd committed rSPSITE1c471542d263: Bump puppet-nginx to 3.3.0 (authored by olasd).
Bump puppet-nginx to 3.3.0
Dec 28 2021, 12:42 PM
olasd committed rSPSITE26744c5e49d7: Bump puppetlabs-mysql to 12.0.1 (authored by olasd).
Bump puppetlabs-mysql to 12.0.1
Dec 28 2021, 12:42 PM
olasd committed rSPSITEc113e4e6f071: Bump saz-locales to 3.1.0 (authored by olasd).
Bump saz-locales to 3.1.0
Dec 28 2021, 12:42 PM
olasd committed rSPSITE9d2e8a837f06: Drop useless metadata.json from site modules (authored by olasd).
Drop useless metadata.json from site modules
Dec 28 2021, 12:42 PM
olasd committed rSPSITEa8c33458706e: Bump puppet-letsencrypt to 7.0.0 (authored by olasd).
Bump puppet-letsencrypt to 7.0.0
Dec 28 2021, 12:42 PM
olasd committed rSPSITEd61ad786e1c8: Bump treydock-keycloak to 6.26.0 (authored by olasd).
Bump treydock-keycloak to 6.26.0
Dec 28 2021, 12:42 PM
olasd committed rSPSITEba0d34c19201: Bump puppet-kafka to 8.0.0 (authored by olasd).
Bump puppet-kafka to 8.0.0
Dec 28 2021, 12:42 PM
olasd committed rSPSITE4e98b12e0121: Bump puppetlabs-java_ks to 4.2.0 (authored by olasd).
Bump puppetlabs-java_ks to 4.2.0
Dec 28 2021, 12:42 PM
olasd committed rSPSITE25c9af07d85d: Bump puppetlabs-inifile to 5.2.0 (authored by olasd).
Bump puppetlabs-inifile to 5.2.0
Dec 28 2021, 12:42 PM
olasd committed rSENVcfa2206e55ac: bin/pull-from-upstream: Support upstream/main default upstream branch as well (authored by olasd).
bin/pull-from-upstream: Support upstream/main default upstream branch as well
Dec 28 2021, 12:35 PM