ERROR: UnrecoverableFileError(no recoverable versions) #2202

Open
opened 2014-03-18 15:23:01 +00:00 by gennylee · 8 comments
gennylee commented 2014-03-18 15:23:01 +00:00
Owner

I configured tahoe-lafs with 5 node, and I configured shares.needed=2, shares.happy=3 and shares.total=5 in the tahoe-client. I turned off all but one my storage's server when i restarted my server, my tahoe-storage configuration say:

ERROR: UnrecoverableFileError(no recoverable versions)
"[Failure instance: Traceback: <class 'allmydata.mutable.common.UnrecoverableFileError'>: no recoverable versions"
/usr/lib/python2.7/dist-packages/twisted/internet/base.py:800:runUntilCurrent
/usr/lib/python2.7/dist-packages/foolscap/eventual.py:26:_turn
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:362:callback
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:458:_startRunCallbacks
--- <exception caught here> ---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:545:_runCallbacks
/root/allmydata-tahoe-1.10.0/src/allmydata/mutable/filenode.py:400:_get_version

How can I resolve this?
Do it possible that I error to write the configuration?
Thanks

I configured tahoe-lafs with 5 node, and I configured shares.needed=2, shares.happy=3 and shares.total=5 in the tahoe-client. I turned off all but one my storage's server when i restarted my server, my tahoe-storage configuration say: ``` ERROR: UnrecoverableFileError(no recoverable versions) "[Failure instance: Traceback: <class 'allmydata.mutable.common.UnrecoverableFileError'>: no recoverable versions" /usr/lib/python2.7/dist-packages/twisted/internet/base.py:800:runUntilCurrent /usr/lib/python2.7/dist-packages/foolscap/eventual.py:26:_turn /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:362:callback /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:458:_startRunCallbacks --- <exception caught here> --- /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:545:_runCallbacks /root/allmydata-tahoe-1.10.0/src/allmydata/mutable/filenode.py:400:_get_version ``` How can I resolve this? Do it possible that I error to write the configuration? Thanks
tahoe-lafs added the
unknown
major
defect
1.10.0
labels 2014-03-18 15:23:01 +00:00
tahoe-lafs added this to the undecided milestone 2014-03-18 15:23:01 +00:00
zooko commented 2014-03-18 16:49:50 +00:00
Author
Owner

Since you set shares.needed=2, then you have to have at least two storage servers running in order to recover files. What did you think would happen when you turned off all but one of your servers?

Since you set `shares.needed=2`, then you have to have at least two storage servers running in order to recover files. What did you *think* would happen when you turned off all but one of your servers?
gennylee commented 2014-03-18 17:10:59 +00:00
Author
Owner

Replying to zooko:

Since you set shares.needed=2, then you have to have at least two storage servers running in order to recover files. What did you think would happen when you turned off all but one of your servers?

I set needed=2 in order to recover files when just 2 storage servers are up, so I'm OK with the idea that with 1 only storage server up I cannot recover any file.
I'd expect that when all the storage servers are turned on again, i can again retrieve stored files. The problem is that, instead, the system stays in an unrecoverable state.

ERROR: UnrecoverableFileError(no recoverable versions)
"[Failure instance: Traceback: <class 'allmydata.mutable.common.UnrecoverableFileError'>: no recoverable versions"
/usr/lib/python2.7/dist-packages/twisted/internet/base.py:800:runUntilCurrent
/usr/lib/python2.7/dist-packages/foolscap/eventual.py:26:_turn
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:362:callback
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:458:_startRunCallbacks
--- <exception caught here> ---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:545:_runCallbacks
/root/allmydata-tahoe-1.10.0/src/allmydata/mutable/filenode.py:400:_get_version

Thanks

Replying to [zooko](/tahoe-lafs/trac-2024-07-25/issues/2202#issuecomment-135974): > Since you set `shares.needed=2`, then you have to have at least two storage servers running in order to recover files. What did you *think* would happen when you turned off all but one of your servers? I set needed=2 in order to recover files when just 2 storage servers are up, so I'm OK with the idea that with 1 only storage server up I cannot recover any file. I'd expect that when all the storage servers are turned on again, i can again retrieve stored files. The problem is that, instead, the system stays in an unrecoverable state. ``` ERROR: UnrecoverableFileError(no recoverable versions) "[Failure instance: Traceback: <class 'allmydata.mutable.common.UnrecoverableFileError'>: no recoverable versions" /usr/lib/python2.7/dist-packages/twisted/internet/base.py:800:runUntilCurrent /usr/lib/python2.7/dist-packages/foolscap/eventual.py:26:_turn /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:362:callback /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:458:_startRunCallbacks --- <exception caught here> --- /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:545:_runCallbacks /root/allmydata-tahoe-1.10.0/src/allmydata/mutable/filenode.py:400:_get_version ``` Thanks
zooko commented 2014-03-19 00:03:09 +00:00
Author
Owner

Replying to [gennylee]comment:4:

I'd expect that when all the storage servers are turned on again, i can again retrieve stored files. The problem is that, instead, the system stays in an unrecoverable state.

Yes, I agree that you should be able to recover the files after you turn all the servers back on! Please tell me what the "Welcome Page" says about how many servers are connected, and please tell me the results of running a "deep check" on that file.

Thanks!

Replying to [gennylee]comment:4: > I'd expect that when all the storage servers are turned on again, i can again retrieve stored files. The problem is that, instead, the system stays in an unrecoverable state. Yes, I agree that you should be able to recover the files after you turn all the servers back on! Please tell me what the "Welcome Page" says about how many servers are connected, and please tell me the results of running a "deep check" on that file. Thanks!
gennylee commented 2014-03-19 09:14:53 +00:00
Author
Owner

Attachment tahoe-grid-status.png (147558 bytes) added

**Attachment** tahoe-grid-status.png (147558 bytes) added
gennylee commented 2014-03-19 09:20:44 +00:00
Author
Owner

The "Welcome Page" says that two servers are connected:
Images: tahoe-grid-status.png
The results of running deep check:
http://pastebin.com/tiMCcEgw
Thanks!

The "Welcome Page" says that two servers are connected: Images: tahoe-grid-status.png The results of running deep check: <http://pastebin.com/tiMCcEgw> Thanks!
zooko commented 2014-03-19 15:43:29 +00:00
Author
Owner

Here is the content of http://pastebin.com/tiMCcEgw (for the record)

root@storage1:~/allmydata-tahoe-1.10.0/bin# ./tahoe deep-check
ERROR: UnrecoverableFileError(no recoverable versions)
"[Failure instance: Traceback: <class 'allmydata.mutable.common.UnrecoverableFileError'>: no recoverable versions"
/usr/lib/python2.7/dist-packages/twisted/internet/base.py:800:runUntilCurrent
/usr/lib/python2.7/dist-packages/foolscap/eventual.py:26:_turn
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:362:callback
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:458:_startRunCallbacks
--- <exception caught here> ---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:545:_runCallbacks
/root/allmydata-tahoe-1.10.0/src/allmydata/mutable/filenode.py:400:_get_version
Here is the content of <http://pastebin.com/tiMCcEgw> (for the record) ``` root@storage1:~/allmydata-tahoe-1.10.0/bin# ./tahoe deep-check ERROR: UnrecoverableFileError(no recoverable versions) "[Failure instance: Traceback: <class 'allmydata.mutable.common.UnrecoverableFileError'>: no recoverable versions" /usr/lib/python2.7/dist-packages/twisted/internet/base.py:800:runUntilCurrent /usr/lib/python2.7/dist-packages/foolscap/eventual.py:26:_turn /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:362:callback /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:458:_startRunCallbacks --- <exception caught here> --- /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:545:_runCallbacks /root/allmydata-tahoe-1.10.0/src/allmydata/mutable/filenode.py:400:_get_version ```
daira commented 2014-03-20 21:24:09 +00:00
Author
Owner

Well that's horribly bad error reporting :-(

Well that's horribly bad error reporting :-(
daira commented 2014-03-20 21:29:01 +00:00
Author
Owner

Error reporting issue filed as #2203.

Error reporting issue filed as #2203.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tahoe-lafs/trac-2024-07-25#2202
No description provided.