Page MenuHomeSoftware Heritage
Feed Advanced Search

Dec 15 2020

tenma updated the task description for T2885: investigate the persistent seemingly benign errors on cooking progress.
Dec 15 2020, 8:33 PM · Vault
tenma updated the task description for T2885: investigate the persistent seemingly benign errors on cooking progress.
Dec 15 2020, 8:32 PM · Vault

Dec 14 2020

tenma updated the task description for T2885: investigate the persistent seemingly benign errors on cooking progress.
Dec 14 2020, 3:01 PM · Vault
tenma triaged T2885: investigate the persistent seemingly benign errors on cooking progress as Normal priority.
Dec 14 2020, 3:00 PM · Vault
tenma closed T1191: Vault: reschedule failed tasks after a manual/non-manual resolution as Resolved.

In addition to failed cooking retry, failed RPC calls are now also retried.

Dec 14 2020, 12:10 PM · Vault

Dec 8 2020

ardumont added a comment to T2862: vault: retry RPC calls on transient network errors.

Vault 0.5.0 packaged (includes a fix from @tenma about dropping the unused default configuration).
Vault configuration adapted to add the retry behavior puppet side.

Dec 8 2020, 5:57 PM · Vault
ardumont created P897 "expected" (?) directory not found first then it goes on cooking that stuff....
Dec 8 2020, 5:42 PM · Vault

Dec 7 2020

ardumont added a revision to T2862: vault: retry RPC calls on transient network errors: D4630: WIP backend: add retrying on IO error with remote services.
Dec 7 2020, 6:39 PM · Vault
ardumont added a revision to T2862: vault: retry RPC calls on transient network errors: D4677: vault: Add retry ability to the storage.
Dec 7 2020, 5:47 PM · Vault
tenma changed the status of T2862: vault: retry RPC calls on transient network errors from Open to Work in Progress.
Dec 7 2020, 5:35 PM · Vault
ardumont added a revision to T1191: Vault: reschedule failed tasks after a manual/non-manual resolution: D4677: vault: Add retry ability to the storage.
Dec 7 2020, 5:20 PM · Vault

Nov 20 2020

ardumont closed T2745: Deploy latest swh-vault as Resolved.
Nov 20 2020, 2:40 PM · Vault
ardumont added a revision to T2745: Deploy latest swh-vault: D4521: vault: Fix vault response schema.
Nov 20 2020, 2:40 PM · Vault
douardda added a project to T2800: Add support for webhook-like callback for the vault: Vault.
Nov 20 2020, 11:18 AM · Vault

Nov 3 2020

ardumont moved T1138: Migrate remaining modules to remote scheduler api use from Backlog to Archived on the SWORD deposit board.
Nov 3 2020, 4:06 PM · Vault, SWORD deposit, GitHub lister, Scheduling utilities
ardumont moved T1533: Make sure api server uses explicit configurations from Backlog to Archived on the SWORD deposit board.
Nov 3 2020, 4:04 PM · Scheduling utilities, Web app, SWORD deposit, Object storage, Storage manager, Vault
tenma updated the task description for T2743: Investigate why logging is inconsistent.
Nov 3 2020, 10:45 AM · Vault, Object storage, Core & foundations
tenma updated the task description for T2743: Investigate why logging is inconsistent.
Nov 3 2020, 10:30 AM · Vault, Object storage, Core & foundations
tenma updated the task description for T2743: Investigate why logging is inconsistent.
Nov 3 2020, 10:23 AM · Vault, Object storage, Core & foundations

Nov 2 2020

ardumont triaged T2745: Deploy latest swh-vault as Normal priority.
Nov 2 2020, 10:55 AM · Vault

Oct 30 2020

tenma updated the task description for T2743: Investigate why logging is inconsistent.
Oct 30 2020, 2:47 PM · Vault, Object storage, Core & foundations
tenma updated the task description for T2743: Investigate why logging is inconsistent.
Oct 30 2020, 2:46 PM · Vault, Object storage, Core & foundations

Oct 29 2020

tenma triaged T2743: Investigate why logging is inconsistent as Normal priority.
Oct 29 2020, 6:19 PM · Vault, Object storage, Core & foundations

Oct 28 2020

tenma moved T1191: Vault: reschedule failed tasks after a manual/non-manual resolution from Backlog to In progress on the Vault board.
Oct 28 2020, 6:47 PM · Vault
tenma moved T1191: Vault: reschedule failed tasks after a manual/non-manual resolution from In progress to Backlog on the Vault board.
Oct 28 2020, 6:46 PM · Vault

Oct 20 2020

ardumont closed T1037: swh-vault: Unify db initialization scheme as Resolved.

This is unified now.

Oct 20 2020, 12:55 PM · Vault

Oct 16 2020

tenma moved T1964: Timeout reached while assembling the requested bundle (Rocrail) from Backlog to Done on the Vault board.
Oct 16 2020, 11:33 AM · Vault
tenma moved T2284: Fix- download button shows no popup when cooking had failed from Backlog to Done on the Vault board.
Oct 16 2020, 11:33 AM · Web app, Vault
tenma moved T2388: Can't create cooking requests in swh-web from Backlog to Done on the Vault board.
Oct 16 2020, 11:33 AM · Vault, Web app
tenma moved T1191: Vault: reschedule failed tasks after a manual/non-manual resolution from Backlog to In progress on the Vault board.
Oct 16 2020, 11:32 AM · Vault
tenma claimed T1191: Vault: reschedule failed tasks after a manual/non-manual resolution.
Oct 16 2020, 11:31 AM · Vault

Oct 15 2020

ardumont closed T1286: swh-vault: Fix problematic tests in tox environment as Resolved.

This has been solved a long time ago ;)

Oct 15 2020, 5:23 PM · Vault

May 11 2020

vlorentz added a revision to T2388: Can't create cooking requests in swh-web: D3127: Raise NotFoundExc within our RPC framework instead of returning 404..
May 11 2020, 11:33 AM · Vault, Web app

May 5 2020

anlambert closed T2388: Can't create cooking requests in swh-web as Resolved by committing rDWAPPSaffd506bc632: api/vault: Fix 404 handling and improve error messages.
May 5 2020, 7:20 PM · Vault, Web app
anlambert added a revision to T2388: Can't create cooking requests in swh-web: D3125: api/vault: Fix 404 handling and improve error messages.
May 5 2020, 4:12 PM · Vault, Web app
anlambert added a comment to T2388: Can't create cooking requests in swh-web.

indeed, I forgot to adapt the vault after a refactoring of swh-core. I'll fix it

May 5 2020, 3:23 PM · Vault, Web app
vlorentz added a comment to T2388: Can't create cooking requests in swh-web.

indeed, I forgot to adapt the vault after a refactoring of swh-core. I'll fix it

May 5 2020, 3:20 PM · Vault, Web app
anlambert added a comment to T2388: Can't create cooking requests in swh-web.

I think the simple way to fix this is to catch the RemoteException for 404 in the api_lookup function to restore previous behavior.

May 5 2020, 3:10 PM · Vault, Web app
anlambert added a comment to T2388: Can't create cooking requests in swh-web.

Ok I see what is wrong here. Based on the obtained traceback, this is due to changes in how 404 errors are handled server side:

Traceback (most recent call last):
  File "/home/antoine/swh/swh-environment/swh-web/swh/web/api/apidoc.py", line 358, in documented_view
    response = f(request, **kwargs)
  File "/home/antoine/swh/swh-environment/swh-web/swh/web/api/views/vault.py", line 100, in api_vault_cook_directory
    res = _dispatch_cook_progress(request, "directory", obj_id)
  File "/home/antoine/swh/swh-environment/swh-web/swh/web/api/views/vault.py", line 28, in _dispatch_cook_progress
    request=request,
  File "/home/antoine/swh/swh-environment/swh-web/swh/web/api/views/utils.py", line 67, in api_lookup
    res = lookup_fn(*args)
  File "/home/antoine/swh/swh-environment/swh-web/swh/web/common/service.py", line 1112, in vault_progress
    raise e
  File "/home/antoine/swh/swh-environment/swh-web/swh/web/common/service.py", line 1109, in vault_progress
    return vault.progress(obj_type, obj_id)
  File "/home/antoine/swh/swh-environment/swh-vault/swh/vault/api/client.py", line 29, in progress
    return self.get("progress/{}/{}".format(obj_type, hex_id))
  File "/home/antoine/swh/swh-environment/swh-core/swh/core/api/__init__.py", line 294, in get
    return self._decode_response(response)
  File "/home/antoine/swh/swh-environment/swh-core/swh/core/api/__init__.py", line 352, in _decode_response
    self.raise_for_status(response)
  File "/home/antoine/swh/swh-environment/swh-core/swh/core/api/__init__.py", line 308, in raise_for_status
    raise RemoteException(payload="404 not found", response=response)
swh.core.api.RemoteException: 404 not found
May 5 2020, 3:01 PM · Vault, Web app

May 1 2020

vlorentz updated the task description for T2388: Can't create cooking requests in swh-web.
May 1 2020, 5:53 PM · Vault, Web app
vlorentz updated the task description for T2388: Can't create cooking requests in swh-web.
May 1 2020, 5:52 PM · Vault, Web app
vlorentz triaged T2388: Can't create cooking requests in swh-web as High priority.
May 1 2020, 5:51 PM · Vault, Web app

Feb 18 2020

anlambert closed T2284: Fix- download button shows no popup when cooking had failed as Resolved by committing rDWAPPS26c76934271c: assets/vault: Force recooking of an object when previous vault task failed.
Feb 18 2020, 2:17 PM · Web app, Vault

Feb 14 2020

olasd added a comment to T2283: "Vault Status" page doesn't get updated when asking for email notifications.

Ah, I think I understand the issue:

Feb 14 2020, 3:11 PM · Web app
olasd added a comment to T2283: "Vault Status" page doesn't get updated when asking for email notifications.

I wonder why sometimes requested objects don't show up on the vault status page. I think this might be because the "status page update" doesn't happen when the cooking has been requested in the past.

Feb 14 2020, 3:09 PM · Web app
moranegg triaged T2284: Fix- download button shows no popup when cooking had failed as Normal priority.
Feb 14 2020, 2:46 PM · Web app, Vault

Feb 13 2020

moranegg triaged T2283: "Vault Status" page doesn't get updated when asking for email notifications as High priority.
Feb 13 2020, 3:50 PM · Web app
moranegg added a comment to T2282: update Vault notification email with SWH-ID.

Complete email:

Feb 13 2020, 3:45 PM · Vault
moranegg triaged T2282: update Vault notification email with SWH-ID as Low priority.
Feb 13 2020, 3:44 PM · Vault

Oct 7 2019

olasd added a comment to T885: Vault: use objstorage streaming to store and fetch bundles.

Pluggable compression has been implemented for all objstorage backends, which means we could

  • store the (compressed) bundles in an uncompressed objstorage on azure
  • when a user requests the bundle
Oct 7 2019, 7:06 PM · Vault

Sep 19 2019

zack added a comment to T1964: Timeout reached while assembling the requested bundle (Rocrail).

@sunweaver here it is then: https://annex.softwareheritage.org/public/scratch/36489f4afbc3d2d3a43bf00d79f03deb4e9ed5f7.gz

Sep 19 2019, 1:56 PM · Vault
olasd added a comment to T885: Vault: use objstorage streaming to store and fetch bundles.

Of course, the current bundles are double-compressed, which makes this... not great.

Sep 19 2019, 1:19 PM · Vault
olasd added a comment to T885: Vault: use objstorage streaming to store and fetch bundles.

I wonder whether the best solution wouldn't be to just generate a redirect to a direct download url from the azure bucket using a temporary shared access signature.

Sep 19 2019, 1:18 PM · Vault
sunweaver added a comment to T1964: Timeout reached while assembling the requested bundle (Rocrail).

The previous mail reply got truncated...

Sep 19 2019, 12:52 PM · Vault
sunweaver added a comment to T1964: Timeout reached while assembling the requested bundle (Rocrail).

Hi Zack,

Sep 19 2019, 12:42 PM · Vault
zack closed T1964: Timeout reached while assembling the requested bundle (Rocrail) as Resolved.

@sunweaver: the bundle is ready, in theory you should be able to obtain it like this:

$ wget https://archive.softwareheritage.org/api/1/vault/revision/85678b0d6c52d6fd0af50c8e493c74dd15a7115d/gitfast/raw/ -O 85678b0d6c52d6fd0af50c8e493c74dd15a7115d.gitfast.gz
$ git init
$ zcat 85678b0d6c52d6fd0af50c8e493c74dd15a7115d.gitfast.gz | git fast-import

I say in theory because (due to T885) download of large bundles is a bit flaky right now.

Sep 19 2019, 12:18 PM · Vault
zack added a comment to T885: Vault: use objstorage streaming to store and fetch bundles.

see T1964 for a concrete example where the lack of streaming is causing problems (after the cooking, when the bundle is ready)

$ wget https://archive.softwareheritage.org/api/1/vault/revision/85678b0d6c52d6fd0af50c8e493c74dd15a7115d/gitfast/raw/
--2019-09-19 11:43:50--  https://archive.softwareheritage.org/api/1/vault/revision/85678b0d6c52d6fd0af50c8e493c74dd15a7115d/gitfast/raw/
Resolving archive.softwareheritage.org (archive.softwareheritage.org)... 128.93.193.31
Connecting to archive.softwareheritage.org (archive.softwareheritage.org)|128.93.193.31|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 539845226 (515M) [application/gzip]
Saving to: ‘index.html’
Sep 19 2019, 12:15 PM · Vault

Sep 18 2019

olasd added a comment to T1964: Timeout reached while assembling the requested bundle (Rocrail).

I've bumped the limit to 1GB and sent a cook request again.

Sep 18 2019, 6:21 PM · Vault
zack updated subscribers of T1964: Timeout reached while assembling the requested bundle (Rocrail).
Sep 18 2019, 3:10 PM · Vault
zack updated subscribers of T1964: Timeout reached while assembling the requested bundle (Rocrail).

So, this is now actually working (@rdicosmo just tried it again) *but* the bundle stops being assembled shortly before finishing due to a maximum size limit of ~500 MB:

Sep 18 2019, 3:10 PM · Vault

Aug 23 2019

zack added a comment to T1964: Timeout reached while assembling the requested bundle (Rocrail).

@zack: Thanks for providing the tarball. However, I in fact need a tarred up Git repo until the moment that GPL was revoked, as I want to re-pulish it via GitLab (or Github). Do you think it is possible to get a copy of that git repo any time soon?

Aug 23 2019, 2:29 PM · Vault
sunweaver added a comment to T1964: Timeout reached while assembling the requested bundle (Rocrail).

@zack: the point about rocrail is that GPL was revoked without copyright holders' consent. And there is no most recent version public anymore these days.

Aug 23 2019, 12:46 PM · Vault
sunweaver added a comment to T1964: Timeout reached while assembling the requested bundle (Rocrail).

@zack: Thanks for providing the tarball. However, I in fact need a tarred up Git repo until the moment that GPL was revoked, as I want to re-pulish it via GitLab (or Github). Do you think it is possible to get a copy of that git repo any time soon?

Aug 23 2019, 12:45 PM · Vault
zack added a comment to T1964: Timeout reached while assembling the requested bundle (Rocrail).

@sunweaver: did you see my answer above?

Aug 23 2019, 10:59 AM · Vault
sunweaver added a comment to T1964: Timeout reached while assembling the requested bundle (Rocrail).

Hi,

Aug 23 2019, 10:50 AM · Vault
sunweaver added a comment to T1964: Timeout reached while assembling the requested bundle (Rocrail).

Hi,

Aug 23 2019, 10:49 AM · Vault
zack added a comment to T1964: Timeout reached while assembling the requested bundle (Rocrail).

I can totally reproduce this issue.

Aug 23 2019, 9:23 AM · Vault
zack triaged T1964: Timeout reached while assembling the requested bundle (Rocrail) as Normal priority.
Aug 23 2019, 8:52 AM · Vault

Jul 29 2019

anlambert closed T1934: vault timeout on cooking revision_gitfast for repositories with numerous number of revisions as Resolved by committing rDVAU9f673806699a: cookers.revision_*: Fix storage timeouts when fetching a large revision log.
Jul 29 2019, 11:17 AM · Storage manager, Vault

Jul 26 2019

anlambert added a comment to T1934: vault timeout on cooking revision_gitfast for repositories with numerous number of revisions.

The issue came from the fact that the vault tries to retrieve the whole revisions log in a single call to the storage API.

Jul 26 2019, 3:40 PM · Storage manager, Vault
ardumont added projects to T1934: vault timeout on cooking revision_gitfast for repositories with numerous number of revisions: Vault, Storage manager.
Jul 26 2019, 3:39 PM · Storage manager, Vault

May 28 2019

ardumont closed T1757: Vault: Migrate data from old vault to new one as Wontfix.

Ack, i was going to update the task with your other comment, thanks for going the extra mile ;)

May 28 2019, 2:54 PM · Vault

May 25 2019

zack added a comment to T1757: Vault: Migrate data from old vault to new one.

my take: don't bother (see: T1716#32312)

May 25 2019, 11:17 AM · Vault
zack added a comment to T1716: Vault: Migrate vault infrastructure to azure.

Webapp/cookers migrated to use the azure vault instance.

May 25 2019, 11:12 AM · Vault

May 24 2019

ardumont closed T1716: Vault: Migrate vault infrastructure to azure as Resolved.
May 24 2019, 4:28 PM · Vault
ardumont triaged T1757: Vault: Migrate data from old vault to new one as Normal priority.
May 24 2019, 4:28 PM · Vault
ardumont updated subscribers of T1716: Vault: Migrate vault infrastructure to azure.

Webapp/cookers migrated to use the azure vault instance.

May 24 2019, 3:09 PM · Vault

May 23 2019

ardumont added a comment to T1716: Vault: Migrate vault infrastructure to azure.

Heads up, checking the new vault's objstorage speaking to azure blob storage is fine (credential and all):

  • using the docker environment with a vault plugged to the new azure's blobstorage
  • load data in the docker env
  • request a cooking in the docker webapp
  • check the cooking is ok (it is)
  • check the download of the cooking is ok (it is)
  • check the azure blob storage's new blob (it is and it's the same as the one from the local webapp).
May 23 2019, 11:24 AM · Vault

May 22 2019

vlorentz closed T1588: "Database softwareheritage-vault does not exist" when running docker-compose as Resolved.
May 22 2019, 1:23 PM · Docker environment, Vault
ardumont closed D1499: vault: Setup new vangogh server.
May 22 2019, 12:05 PM · Puppet recipes, Vault
ardumont updated the diff for D1499: vault: Setup new vangogh server.

Rebase and plug to production branch

May 22 2019, 12:05 PM · Puppet recipes, Vault
olasd accepted D1499: vault: Setup new vangogh server.
May 22 2019, 12:00 PM · Puppet recipes, Vault
ardumont added inline comments to D1499: vault: Setup new vangogh server.
May 22 2019, 11:58 AM · Puppet recipes, Vault
ardumont updated the summary of D1499: vault: Setup new vangogh server.
May 22 2019, 11:56 AM · Puppet recipes, Vault
ardumont updated the summary of D1499: vault: Setup new vangogh server.
May 22 2019, 11:55 AM · Puppet recipes, Vault
ardumont updated the diff for D1499: vault: Setup new vangogh server.

Adapt according to review:

May 22 2019, 11:52 AM · Puppet recipes, Vault
ardumont added inline comments to D1499: vault: Setup new vangogh server.
May 22 2019, 11:27 AM · Puppet recipes, Vault
olasd requested changes to D1499: vault: Setup new vangogh server.

Thanks for this change!

May 22 2019, 11:06 AM · Puppet recipes, Vault
vlorentz added a comment to P404 bin/octocatalog-diff vangogh.

piping octocatalog-diff into cat should drop the escape codes

May 22 2019, 10:45 AM · Puppet recipes, Vault
ardumont added projects to D1499: vault: Setup new vangogh server: Vault, Puppet recipes.
May 22 2019, 10:12 AM · Puppet recipes, Vault
ardumont created P404 bin/octocatalog-diff vangogh.
May 22 2019, 10:05 AM · Puppet recipes, Vault

May 21 2019

ardumont changed the status of T1716: Vault: Migrate vault infrastructure to azure from Open to Work in Progress.

So, as in D1495:

May 21 2019, 2:51 PM · Vault

May 20 2019

ardumont updated the task description for T1716: Vault: Migrate vault infrastructure to azure.
May 20 2019, 11:38 AM · Vault
ardumont updated the task description for T1716: Vault: Migrate vault infrastructure to azure.
May 20 2019, 11:37 AM · Vault

May 17 2019

ardumont added a comment to T1716: Vault: Migrate vault infrastructure to azure.

Created the db on prado on secondary cluster (i normalized the user name from swhvault to swh-vault, same for the db name):

May 17 2019, 2:47 PM · Vault
ardumont updated the task description for T1716: Vault: Migrate vault infrastructure to azure.
May 17 2019, 12:27 PM · Vault
ardumont updated the task description for T1716: Vault: Migrate vault infrastructure to azure.
May 17 2019, 12:27 PM · Vault
ardumont updated the task description for T1716: Vault: Migrate vault infrastructure to azure.
May 17 2019, 12:03 PM · Vault
ardumont added a comment to T1716: Vault: Migrate vault infrastructure to azure.

To be clear, that would mean moving the database on the secondary postgres cluster on prado.

May 17 2019, 12:02 PM · Vault

May 16 2019

olasd added a comment to T1716: Vault: Migrate vault infrastructure to azure.

Considering the size of that database, and the fact that we don't have any provisions to automatically spin up a new database server, I think it would make more sense to repatriate it on our main postgres setup, rather than movig it to a new machine on azure.

May 16 2019, 4:46 PM · Vault