[tahoe-dev] Unhappiness Error

David-Sarah Hopwood david-sarah at jacaranda.org
Thu Sep 27 18:21:30 UTC 2012


On 27/09/12 17:27, Brad Rupp wrote:
> I am getting a strange error while uploading files to Tahoe today.  The error is:
> 
> "UploadUnhappinessError('shares could be placed on only 9 server(s) such that any 7 of
> them have enough shares to recover the file, but we were asked to place shares on at least
> 10 such servers. (placed all 12 shares, want to place shares on at least 10 servers such
> that any 7 of them have enough shares to recover the file, sent 10 queries to 10 servers,
> 10 queries placed some shares, 0 placed none (of which 0 placed none due to the server
> being full and 0 placed none due to an error))',) (profiles_activity.frm)"
> 
> My client settings are:
> 
> shares.needed = 7
> shares.happy = 10
> shares.total = 12
> 
> Actual available storage servers: 16
> 
> What is strange about the error is that it shows that 10 shares were placed and that there
> were 0 errors.  However, I get an unhappiness error.
> 
> The part of the error message that has me confused is:
> 
> "sent 10 queries to 10 servers, 10 queries placed some shares, 0 placed none (of which 0
> placed none due to the server being full and 0 placed none due to an error)"
> 
> What am I missing?

That seems like a bug. It can happen that the happiness achieved is less than the number
of shares placed, but in that case the error message should be showing that some servers
didn't accept shares in the first-choice placement.

If the servers are still running, can you check their foolscap logs for any errors around
the time of the upload? Briefly, that is:

On each storage server,
 - install foolscap, e.g. using 'sudo apt-get install python-foolscap' on
   Debian-based Linux
 - run 'bin/tahoe @flogtool tail --catch-up STORAGE_SERVER_BASEDIR/private/logport.furl'

See docs/logging.rst has more information about logging.

Is it Tahoe-LAFS 1.9.2 running on the client and all storage servers?

-- 
David-Sarah Hopwood ⚥

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20120927/d0d46410/attachment.asc>


More information about the tahoe-dev mailing list