https://dev.arvados.org/https://dev.arvados.org/favicon.ico?15576888422016-01-08T14:54:28ZArvadosArvados - Feature #8163: [FUSE] arv-mount should detect and log any files/dirs that are still open after unmountinghttps://dev.arvados.org/issues/8163?journal_id=340952016-01-08T14:54:28ZJoshua Randalljr17@sanger.ac.uk
<ul></ul><p>I can't reproduce the problem using your example (well, arv-mount has a problem but rather than getting hung it has an unhandled exception error):</p>
Terminal 1:<br />```
<ol>
<li>mkdir -p MNT && date; arv-mount MNT --exec sh -c 'sleep 5; date'; date<br />Fri Jan 8 14:49:20 GMT 2016<br />Fri Jan 8 14:49:30 GMT 2016<br />Exception in thread WebSocketClient:<br />Traceback (most recent call last):<br /> File "/usr/lib/python2.7/threading.py", line 551, in _<em>bootstrap_inner<br /> self.run()<br /> File "/usr/lib/python2.7/threading.py", line 504, in run<br /> self.</em>_target(*self.__args, **self.__kwargs)<br /> File "/usr/local/lib/python2.7/dist-packages/ws4py/websocket.py", line 430, in run<br /> self.terminate()<br /> File "/usr/local/lib/python2.7/dist-packages/ws4py/websocket.py", line 327, in terminate<br /> self.closed(1006, "Going away")<br />TypeError: 'bool' object is not callable</li>
</ol>
2016-01-08 14:49:54 arvados.arvados_fuse<sup><a href="#fn12243">12243</a></sup> ERROR: Unhandled exception during FUSE operation<br />Traceback (most recent call last):<br /> File "/usr/local/lib/python2.7/dist-packages/arvados_fuse/__init__.py", line 277, in catch_exceptions_wrapper<br /> return orig_func(self, *args, **kwargs)<br /> File "/usr/local/lib/python2.7/dist-packages/arvados_fuse/__init__.py", line 467, in forget<br /> ent = self.inodes[inode]<br /> File "/usr/local/lib/python2.7/dist-packages/arvados_fuse/__init__.py", line 215, in <i>getitem</i><br /> return self._entries[item]<br />KeyError: 5L<br />Terminated<br />Fri Jan 8 14:49:54 GMT 2016
<ol>
<li>ps auxwww | grep arv-mount<br />root 12512 0.0 0.0 9388 932 pts/3 S+ 14:52 0:00 grep --color=auto arv-mount<br />```</li>
</ol>
Terminal 2:<br />```
<ol>
<li>date; (cd MNT/home; sleep 10); date<br />Fri Jan 8 14:49:21 GMT 2016<br />Fri Jan 8 14:49:54 GMT 2016<br />```</li>
</ol>
<p>I have python-arvados-fuse 0.1.20151119022705</p> Arvados - Feature #8163: [FUSE] arv-mount should detect and log any files/dirs that are still open after unmountinghttps://dev.arvados.org/issues/8163?journal_id=340962016-01-08T15:00:43ZJoshua Randalljr17@sanger.ac.uk
<ul></ul><p>Oh, I guess actually mine <strong>is</strong> getting hung until the other process finishes and is <strong>also</strong> having the unhandled exception error.</p>
<p>The issue on our machines is almost certainly not `updatedb`, as that appears to be correctly configured to ignore fuse filesystems (and anything under /tmp).</p> Arvados - Feature #8163: [FUSE] arv-mount should detect and log any files/dirs that are still open after unmountinghttps://dev.arvados.org/issues/8163?journal_id=345312016-01-20T18:40:28ZBrett Smithbrett.smith@curii.com
<ul><li><strong>Target version</strong> set to <i>Arvados Future Sprints</i></li></ul> Arvados - Feature #8163: [FUSE] arv-mount should detect and log any files/dirs that are still open after unmountinghttps://dev.arvados.org/issues/8163?journal_id=346672016-01-25T19:57:04ZTom Cleggtom@curii.com
<ul></ul><p><code>TypeError: 'bool' object is not callable</code> → looks like the bug fixed in the Python SDK in <a class="changeset" title="7751: 7654: Rename bool to _closed to avoid conflicting with superclass closed() method. refs #7654" href="https://dev.arvados.org/projects/arvados/repository/arvados/revisions/a85ea61ef977320a17f8362c4ad5b54b3f206e8c">a85ea61</a> (4 days after your arvados-fuse version)</p> Arvados - Feature #8163: [FUSE] arv-mount should detect and log any files/dirs that are still open after unmountinghttps://dev.arvados.org/issues/8163?journal_id=948782021-07-07T18:27:43ZWard Vandewegeward@curii.com
<ul><li><strong>Target version</strong> deleted (<del><i>Arvados Future Sprints</i></del>)</li></ul> Arvados - Feature #8163: [FUSE] arv-mount should detect and log any files/dirs that are still open after unmountinghttps://dev.arvados.org/issues/8163?journal_id=1121332023-02-14T22:24:02ZPeter Amstutzpeter.amstutz@curii.com
<ul><li><strong>Release</strong> set to <i>60</i></li></ul> Arvados - Feature #8163: [FUSE] arv-mount should detect and log any files/dirs that are still open after unmountinghttps://dev.arvados.org/issues/8163?journal_id=1234972024-03-01T21:14:20ZPeter Amstutzpeter.amstutz@curii.com
<ul><li><strong>Target version</strong> set to <i>Future</i></li></ul>