Bug #18719
Updated by Peter Amstutz almost 3 years ago
Running "s3 sync" on arv-mount doesn't behave well.
<pre>
aws s3 sync --endpoint=https://collections.ce8i5.arvadosapi.com s3://ce8i5-4zz18-jaj3bafbrt0cb7s/ .
[Errno 2] No such file or directory
</pre>
<pre>
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
</pre>
<pre>
>> 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
</pre>
<pre>
sh-4.2$ cat .arvados#collection
cat: .arvados#collection: Input/output error
</pre>
<pre>
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
</pre>