Project

General

Profile

Actions

Bug #6833

closed

[FUSE] arv-mount caches manifests too long, ends up using expired Keep signatures

Added by Tom Clegg over 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
FUSE
Target version:
Start date:
07/30/2015
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
0.5

Description

Caught a VM getting 401 like this:

2015-07-30_21:20:00.75039 KeepReadError: failed to read 2e070b0bd2d5c3ca62ac8b63e7fb7d17+66595+A73d20470a444372d5120f3bc8a8e25c846576408@55b01cd1: s
ervice http://keep7.su92l.arvadosapi.com:25107/ responded with 401 HTTP/1.1 401 Unauthorized

That block signature expiry time ("55b01cd1") is ~7 days earlier than the log message. Same request worked fine after restarting arv-mount.

A general solution would be ideal, but I think it should be easy to make arv-mount handle this common case: when checking for a cached copy of a manifest, it should check the expiry times. If any are in the past (or in the very near future) it should replaced the cached manifest with a new one retrieved from the API server.


Subtasks 3 (0 open3 closed)

Task #8279: Review 6833-test-token-expiryResolvedTom Clegg07/30/2015

Actions
Task #8276: Find out whether 6833-arv-mount-cache-refresh makes the test in 6833-test-token-expiry passResolvedPeter Amstutz07/30/2015

Actions
Task #8127: Review branch: 6833-arv-mount-cache-refreshResolvedPeter Amstutz07/30/2015

Actions

Related issues 3 (1 open2 closed)

Related to Arvados - Bug #6771: Getting 'Input/output error' on su92l keep mountClosed07/24/2015

Actions
Related to Arvados - Bug #10008: [SDKs] [Python] When reading data through Collection et al., signatures should refresh automatically when neededNew09/12/2016

Actions
Has duplicate Arvados - Bug #7866: arv-mount not loading all data on qr1hi Duplicate11/25/2015

Actions
Actions

Also available in: Atom PDF