Opened at 2012-05-17T19:45:21Z
Last modified at 2021-03-30T18:40:19Z
#1742 assigned defect
Error during POST: 500 Internal Server Error — at Version 5
| Reported by: | killyourtv | Owned by: | daira |
|---|---|---|---|
| Priority: | major | Milestone: | soon |
| Component: | code-mutable | Version: | 1.9.1 |
| Keywords: | i2p mutable availability preservation | Cc: | |
| Launchpad Bug: |
Description (last modified by daira)
Using tahoe from the 1.9.2 darcs branch on I2P, I received the following copying files to the grid [edited for formatting]:
Error during POST: 500 Internal Server Error
"Traceback (most recent call last):
File \"/usr/lib/python2.7/dist-packages/twisted/internet/base.py\", line 800, in runUntilCurrent
call.func(*call.args, **call.kw)
File \"/usr/lib/pymodules/python2.7/foolscap/eventual.py\", line 26, in _turn
cb(*args, **kwargs)
File \"/usr/lib/python2.7/dist-packages/twisted/internet/defer.py\", line 362, in callback
self._startRunCallbacks(result)
File \"/usr/lib/python2.7/dist-packages/twisted/internet/defer.py\", line 458, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File \"/usr/lib/python2.7/dist-packages/twisted/internet/defer.py\", line 545, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File \"$HOME/i2p-tahoe/tahoe-lafs-i2p/src/allmydata/mutable/filenode.py\", line 859, in <lambda>
self._modify_once(modifier, first_time))
File \"$HOME/i2p-tahoe/tahoe-lafs-i2p/src/allmydata/mutable/filenode.py\", line 885, in _modify_once
d = self._try_to_download_data()
File \"$HOME/i2p-tahoe/tahoe-lafs-i2p/src/allmydata/mutable/filenode.py\", line 963, in _try_to_download_data
d = self._read(c, fetch_privkey=True)
File \"$HOME/i2p-tahoe/tahoe-lafs-i2p/src/allmydata/mutable/filenode.py\", line 985, in _read
d = r.download(consumer, offset, size)
File \"$HOME/i2p-tahoe/tahoe-lafs-i2p/src/allmydata/mutable/retrieve.py\", line 244, in download
self._setup_download()
File \"$HOME/i2p-tahoe/tahoe-lafs-i2p/src/allmydata/mutable/retrieve.py\", line 301, in _setup_download
assert len(self.remaining_sharemap) >= k\x0aexceptions.AssertionError:
"
allmydata-tahoe: 1.9.0-r5497, foolscap: 0.6.3, pycryptopp: 0.6.0.1206569328141510525648634803928199668821045408958, zfec: 1.4.24, Twisted: 11.1.0, Nevow: 0.10.0, zope.interface: unknown, python: 2.7.3rc2, platform: Linux-debian_wheezy/sid-x86_64-64bit_ELF, pyOpenSSL: 0.13, simplejson: 2.5.2, pycrypto: 2.5, pyasn1: unknown, mock: 0.8.0, sqlite3: 2.6.0 [sqlite 3.7.11], setuptools: 0.6c16dev3
Change History (7)
Changed at 2012-05-17T19:50:17Z by killyourtv
comment:1 Changed at 2012-05-17T19:51:44Z by killyourtv
Of course, retrying the put operation completed successfully.
comment:2 Changed at 2012-05-17T20:02:14Z by killyourtv
comment:3 Changed at 2012-07-16T20:53:02Z by killyourtv
FWIW, I have not seen this with the released v1.9.2---yet.
comment:4 Changed at 2013-05-02T23:51:05Z by zooko
I just got a report from a customer (TV of Sv) with a matching stack trace, using 1.9.2 [edited for formatting]:
# time tahoe backup TestFiles1M tahoe:Ss1
Traceback (most recent call last):
File "/root/allmydata-tahoe-1.9.2/support/bin/tahoe", line 9, in <module>
load_entry_point('allmydata-tahoe==1.9.2', 'console_scripts', 'tahoe')()
File "/root/allmydata-tahoe-1.9.2/src/allmydata/scripts/runner.py", line 113, in run
rc = runner(sys.argv[1:], install_node_control=install_node_control)
File "/root/allmydata-tahoe-1.9.2/src/allmydata/scripts/runner.py", line 99, in runner
rc = cli.dispatch[command](so)
File "/root/allmydata-tahoe-1.9.2/src/allmydata/scripts/cli.py", line 569, in backup
rc = tahoe_backup.backup(options)
File "/root/allmydata-tahoe-1.9.2/src/allmydata/scripts/tahoe_backup.py", line 325, in backup
return bu.run()
File "/root/allmydata-tahoe-1.9.2/src/allmydata/scripts/tahoe_backup.py", line 123, in run
put_child(archives_url, now, new_backup_dircap)
File "/root/allmydata-tahoe-1.9.2/src/allmydata/scripts/tahoe_backup.py", line 57, in put_child
raise HTTPError("Error during put_child", resp)
allmydata.scripts.common_http.HTTPError: Error during put_child: 500 Internal Server Error
"Traceback (most recent call last):
File \"/root/allmydata-tahoe-1.9.2/support/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-linux-i686.egg/twisted/internet/base.py\", line 800, in runUntilCurrent
call.func(*call.args, **call.kw)
File \"/root/allmydata-tahoe-1.9.2/support/lib/python2.6/site-packages/foolscap-0.6.4-py2.6.egg/foolscap/eventual.py\", line 26, in _turn\
cb(*args, **kwargs)\x0a File \"/root/allmydata-tahoe-1.9.2/support/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-linux-i686.egg/twisted/internet/defer.py\", line 368, in callback
self._startRunCallbacks(result)
File \"/root/allmydata-tahoe-1.9.2/support/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-linux-i686.egg/twisted/internet/defer.py\", line 464, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File \"/root/allmydata-tahoe-1.9.2/support/lib/python2.6/site-packages/Twisted-12.0.0-py2.6-linux-i686.egg/twisted/internet/defer.py\", line 551, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File \"/root/allmydata-tahoe-1.9.2/src/allmydata/mutable/filenode.py\", line 859, in <lambda>
self._modify_once(modifier, first_time))
File \"/root/allmydata-tahoe-1.9.2/src/allmydata/mutable/filenode.py\", line 885, in _modify_once
d = self._try_to_download_data()\x0a File \"/root/allmydata-tahoe-1.9.2/src/allmydata/mutable/filenode.py\", line 963, in _try_to_download_data
d = self._read(c, fetch_privkey=True)
File \"/root/allmydata-tahoe-1.9.2/src/allmydata/mutable/filenode.py\", line 985, in _read
d = r.download(consumer, offset, size)
File \"/root/allmydata-tahoe-1.9.2/src/allmydata/mutable/retrieve.py\", line 244, in download
self._setup_download()
File \"/root/allmydata-tahoe-1.9.2/src/allmydata/mutable/retrieve.py\", line 301, in _setup_download
assert len(self.remaining_sharemap) >= k
exceptions.AssertionError:
"
comment:5 Changed at 2013-05-03T00:50:28Z by daira
- Component changed from unknown to code-mutable
- Description modified (diff)
- Keywords mutable added
- Owner changed from davidsarah to daira
- Status changed from new to assigned
Note: See
TracTickets for help on using
tickets.


possibly relevant incident