Project

General

Profile

Actions

Bug #18719

closed

s3 sync problems with arv-mount

Added by Peter Amstutz about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
FUSE
Target version:
Story points:
-
Release relationship:
Auto

Description

Running "s3 sync" on arv-mount doesn't behave well.

aws s3 sync --endpoint=https://collections.ce8i5.arvadosapi.com s3://ce8i5-4zz18-jaj3bafbrt0cb7s/ .
[Errno 2] No such file or directory
Traceback (most recent call last):
  File "awscli/clidriver.py", line 459, in main
  File "awscli/customizations/commands.py", line 197, in __call__
  File "awscli/customizations/commands.py", line 191, in __call__
  File "awscli/customizations/s3/subcommands.py", line 725, in _run_main
  File "awscli/customizations/s3/subcommands.py", line 991, in run
  File "awscli/customizations/s3/fileformat.py", line 55, in format
  File "awscli/customizations/s3/fileformat.py", line 84, in local_format
  File "posixpath.py", line 379, in abspath
FileNotFoundError: [Errno 2] No such file or directory
>> os.path.abspath(".")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/posixpath.py", line 371, in abspath
    cwd = os.getcwd()
OSError: [Errno 2] No such file or directory
sh-4.2$ cat .arvados#collection
cat: .arvados#collection: Input/output error
2022-02-04 14:17:39 arvados.arvados_fuse[1631186] ERROR: Unhandled exception during FUSE operation
Traceback (most recent call last):
  File "/home/peter/work/arvados/services/fuse/arvados_fuse/__init__.py", line 327, in catch_exceptions_wrapper
    return orig_func(self, *args, **kwargs)
  File "/home/peter/work/arvados/services/fuse/arvados_fuse/__init__.py", line 583, in lookup
    inode = p[name].inode
  File "/home/peter/work/arvados/services/fuse/arvados_fuse/fresh.py", line 25, in use_counter_wrapper
    return orig_func(self, *args, **kwargs)
  File "/home/peter/work/arvados/services/fuse/arvados_fuse/fresh.py", line 34, in check_update_wrapper
    return orig_func(self, *args, **kwargs)
  File "/home/peter/work/arvados/services/fuse/arvados_fuse/fusedir.py", line 566, in __getitem__
    self.collection_record_file = ObjectFile(self.inode, self.collection_record)
  File "/home/peter/work/arvados/services/fuse/arvados_fuse/fusefile.py", line 102, in __init__
    self.object_uuid = obj['uuid']
TypeError: 'NoneType' object is not subscriptable

Subtasks 1 (0 open1 closed)

Task #18722: Review 18719-fuse-fixesResolvedWard Vandewege02/07/2022Actions
Actions

Also available in: Atom PDF