[tahoe-lafs-trac-stream] [tahoe-lafs] #1669: Crashes while repair on Mac OS X

tahoe-lafs trac at tahoe-lafs.org
Fri Feb 17 18:17:19 UTC 2012


#1669: Crashes while repair on Mac OS X
--------------------------+-----------------------
     Reporter:  vikarti   |      Owner:  nobody
         Type:  defect    |     Status:  new
     Priority:  critical  |  Milestone:  undecided
    Component:  unknown   |    Version:  1.9.1
   Resolution:            |   Keywords:
Launchpad Bug:            |
--------------------------+-----------------------

Comment (by vikarti):

 Addition:
 same from console,
 reproducible.
 even if gateway is not doing anything.
 no incident file this time(none was generated)
 {{{
 bash-3.2$ ./tahoe-fullrepair.sh
 *** checking alias tahoe
 ERROR: ValueError(need more than 8 values to unpack)
 "[Failure instance: Traceback: <type 'exceptions.ValueError'>: need more
 than 8 values to unpack"
 /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/base.py:793:runUntilCurrent
 /Users/vikarti/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.7/site-
 packages/foolscap-0.6.3-py2.7.egg/foolscap/eventual.py:26:_turn
 /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py:361:callback
 /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py:455:_startRunCallbacks
 --- <exception caught here> ---
 /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py:542:_runCallbacks
 /Users/vikarti/tahoe-new/allmydata-
 tahoe-1.9.1/src/allmydata/mutable/checker.py:269:_repair_finished
 /Users/vikarti/tahoe-new/allmydata-
 tahoe-1.9.1/src/allmydata/mutable/checker.py:130:_fill_checker_results
 /Users/vikarti/tahoe-new/allmydata-
 tahoe-1.9.1/src/allmydata/mutable/servermap.py:258:recoverable_versions

 *** checking alias test
 '<root>': healthy
 done: 1 objects checked
  pre-repair: 1 healthy, 0 unhealthy
  0 repairs attempted, 0 successful, 0 failed
  post-repair: 1 healthy, 0 unhealthy


 bash-3.2$ tahoe ls
 WindowsSupport
 backups_Calibre_Library
 backups_INARI4_Evernote
 backups_INARI4_Libs
 backups_INARI4_Pictures
 backups_INARI4_Python26
 backups_INARI4_Python27
 backups_INARI4_Win_Libs
 backups_INARI4_Win_Python26
 backups_INARI4_Win_Python27
 backups_INARI4_Win_TahoeSupport
 backups_INARI4_Win_Work
 backups_Work
 bash-3.2$ cat ./tahoe-fullrepair.sh
 #!/bin/sh
 #sometimes we are not started in login shell!
 export PATH="/Users/vikarti/tahoe-new/allmydata-tahoe-1.9.1/bin:$PATH"


 for item in `tahoe list-aliases | cut -f 1 -d :`; do
     echo '*** checking alias '"$item"
     #--verify -v --repair
     tahoe deep-check --repair -v --add-lease $item:
     echo
 done


 bash-3.2$ tahoe list-aliases
   tahoe: URI:DIR2-MDMF:yhu<skipped>
    test: URI:DIR2:2lz<skipped>

 }}}

 last (possible relevant) lines of twisted.log
 {{{

 2012-02-18 01:05:06+0700 [-] Unhandled error in Deferred:
 2012-02-18 01:05:06+0700 [-] Unhandled Error
         Traceback (most recent call last):
           File
 "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/base.py",
 line 793, in runUntilCurrent
             call.func(*call.args, **call.kw)
           File "/Users/vikarti/tahoe-new/allmydata-
 tahoe-1.9.1/support/lib/python2.7/site-
 packages/foolscap-0.6.3-py2.7.egg/foolscap/eventual.py", line 26, in _turn
             cb(*args, **kwargs)
           File
 "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py",
 line 361, in callback
             self._startRunCallbacks(result)
           File
 "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py",
 line 455, in _startRunCallbacks
             self._runCallbacks()
         --- <exception caught here> ---
           File
 "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py",
 line 542, in _runCallbacks
             current.result = callback(current.result, *args, **kw)
           File "/Users/vikarti/tahoe-new/allmydata-
 tahoe-1.9.1/support/lib/python2.7/site-
 packages/Nevow-0.10.0-py2.7.egg/nevow/appserver.py", line 91, in
 processingFailed
             request.finishRequest( False )
           File "/Users/vikarti/tahoe-new/allmydata-
 tahoe-1.9.1/support/lib/python2.7/site-
 packages/Nevow-0.10.0-py2.7.egg/nevow/appserver.py", line 176, in
 finishRequest
             server.Request.finish(self)
           File
 "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/web/http.py",
 line 866, in finish
             "Request.finish called on a request after its connection was
 lost; "
         exceptions.RuntimeError: Request.finish called on a request after
 its connection was lost; use Request.notifyFinish to keep track of this.

 }}}
 attempt to perform same repair operation on Windows or Linux nodes in same
 grid results in basically same issue.

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1669#comment:4>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list