[tahoe-lafs-trac-stream] [tahoe-lafs] #2116: xml parse error from S4 service
tahoe-lafs
trac at tahoe-lafs.org
Mon Mar 17 22:03:07 UTC 2014
#2116: xml parse error from S4 service
-------------------------+-------------------------------------------------
Reporter: zooko | Owner: daira
Type: defect | Status: assigned
Priority: major | Milestone: undecided
Component: code- | Version: 1.9.0-s3branch
storage | Keywords: s3 error txaws retry LeastAuthority
Resolution: |
Launchpad Bug: |
-------------------------+-------------------------------------------------
Description changed by daira:
Old description:
> {{{
> zooko at spark ~/research/papers $ tahoe backup . $WRITABLE_DIRCAP:
> Traceback (most recent call last):
> File
> "/home/zooko/playground/LAFS/pristine/src/allmydata/scripts/runner.py",
> line 156, in run
> rc = runner(sys.argv[1:], install_node_control=install_node_control)
> File
> "/home/zooko/playground/LAFS/pristine/src/allmydata/scripts/runner.py",
> line 141, in runner
> rc = cli.dispatch[command](so)
> File
> "/home/zooko/playground/LAFS/pristine/src/allmydata/scripts/cli.py", line
> 574, in backup
> rc = tahoe_backup.backup(options)
> File
> "/home/zooko/playground/LAFS/pristine/src/allmydata/scripts/tahoe_backup.py",
> line 325, in backup
> return bu.run()
> File
> "/home/zooko/playground/LAFS/pristine/src/allmydata/scripts/tahoe_backup.py",
> line 118, in run
> new_backup_dircap = self.process(options.from_dir)
> File
> "/home/zooko/playground/LAFS/pristine/src/allmydata/scripts/tahoe_backup.py",
> line 188, in process
> childcap = self.process(childpath)
> File
> "/home/zooko/playground/LAFS/pristine/src/allmydata/scripts/tahoe_backup.py",
> line 194, in process
> childcap, metadata = self.upload(childpath)
> File
> "/home/zooko/playground/LAFS/pristine/src/allmydata/scripts/tahoe_backup.py",
> line 305, in upload
> raise HTTPError("Error during file PUT", resp)
> HTTPError: Error during file PUT: 500 Internal Server Error
> "Traceback (most recent call last):
> File \"/home/zooko/playground/LAFS/pristine/support/lib/python2.7/site-
> packages/foolscap-0.6.4-py2.7.egg/foolscap/call.py\", line 753, in
> receiveClose
> self.request.fail(f)
> File \"/home/zooko/playground/LAFS/pristine/support/lib/python2.7/site-
> packages/foolscap-0.6.4-py2.7.egg/foolscap/call.py\", line 95, in fail
> self.deferred.errback(why)
> File \"/home/zooko/.local/lib/python2.7/site-
> packages/twisted/internet/defer.py\", line 421, in errback
> self._startRunCallbacks(fail)
> File \"/home/zooko/.local/lib/python2.7/site-
> packages/twisted/internet/defer.py\", line 488, in _startRunCallbacks
> self._runCallbacks()
> --- <exception caught here> ---
> File \"/home/zooko/.local/lib/python2.7/site-
> packages/twisted/internet/defer.py\", line 575, in _runCallbacks
> current.result = callback(current.result, *args, **kw)
> File
> \"/home/zooko/playground/LAFS/pristine/src/allmydata/immutable/upload.py\",
> line 604, in _got_response
> return self._loop()
> File
> \"/home/zooko/playground/LAFS/pristine/src/allmydata/immutable/upload.py\",
> line 516, in _loop
> return self._failed(msg)
> File
> \"/home/zooko/playground/LAFS/pristine/src/allmydata/immutable/upload.py\",
> line 617, in _failed
> raise UploadUnhappinessError(msg)
> allmydata.interfaces.UploadUnhappinessError: server selection failed for
> <Tahoe2ServerSelector for upload qd7vq>: shares could be placed or found
> on only 0 server(s). We were asked to place shares on at least 1
> server(s) such that any 1 of them have enough shares to recover the file.
> (placed 0 shares out of 1 total (1 homeless), want to place shares on at
> least 1 servers such that any 1 of them have enough shares to recover the
> file, sent 1 queries to 1 servers, 0 queries placed some shares, 1 placed
> none (of which 0 placed none due to the server being full and 1 placed
> none due to an error)) (last failure (from <ServerTracker for server
> 6dwd2q and SI qd7vq>) was: [Failure instance: Traceback (failure with no
> frames): <class 'foolscap.tokens.RemoteException'>: <RemoteException
> around '[CopiedFailure instance: Traceback from remote host -- Traceback
> (most recent call last):
> File \"/home/customer/LAFS_source/support/lib/python2.7/site-
> packages/Twisted-12.2.0-py2.7-linux-i686.egg/twisted/internet/tcp.py\",
> line 287, in connectionLost
> protocol.connectionLost(reason)
> File \"/home/customer/LAFS_source/support/lib/python2.7/site-
> packages/Twisted-12.2.0-py2.7-linux-i686.egg/twisted/web/client.py\",
> line 193, in connectionLost
> self.factory._disconnectedDeferred.callback(None)
> File \"/home/customer/LAFS_source/support/lib/python2.7/site-
> packages/Twisted-12.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py\",
> line 368, in callback
> self._startRunCallbacks(result)
> File \"/home/customer/LAFS_source/support/lib/python2.7/site-
> packages/Twisted-12.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py\",
> line 464, in _startRunCallbacks
> self._runCallbacks()
> --- <exception caught here> ---
> File \"/home/customer/LAFS_source/support/lib/python2.7/site-
> packages/Twisted-12.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py\",
> line 551, in _runCallbacks
> current.result = callback(current.result, *args, **kw)
> File \"/usr/local/lib/python2.7/dist-
> packages/txAWS-0.2.1.post4-py2.7.egg/txaws/s3/client.py\", line 153, in
> _parse_get_bucket
> root = XML(xml_bytes)
> File \"/usr/local/lib/python2.7/dist-
> packages/txAWS-0.2.1.post4-py2.7.egg/txaws/util.py\", line 61, in XML
> return parser.close()
> File \"/usr/lib/python2.7/xml/etree/ElementTree.py\", line 1655, in
> close
> self._raiseerror(v)
> File \"/usr/lib/python2.7/xml/etree/ElementTree.py\", line 1507, in
> _raiseerror
> raise err
> xml.etree.ElementTree.ParseError: no element found: line 1, column 0
> ]'>
> ])
> "
> }}}
New description:
{{{
zooko at spark ~/research/papers $ tahoe backup . $WRITABLE_DIRCAP:
Traceback (most recent call last):
File
"/home/zooko/playground/LAFS/pristine/src/allmydata/scripts/runner.py",
line 156, in run
rc = runner(sys.argv[1:], install_node_control=install_node_control)
File
"/home/zooko/playground/LAFS/pristine/src/allmydata/scripts/runner.py",
line 141, in runner
rc = cli.dispatch[command](so)
File
"/home/zooko/playground/LAFS/pristine/src/allmydata/scripts/cli.py", line
574, in backup
rc = tahoe_backup.backup(options)
File
"/home/zooko/playground/LAFS/pristine/src/allmydata/scripts/tahoe_backup.py",
line 325, in backup
return bu.run()
File
"/home/zooko/playground/LAFS/pristine/src/allmydata/scripts/tahoe_backup.py",
line 118, in run
new_backup_dircap = self.process(options.from_dir)
File
"/home/zooko/playground/LAFS/pristine/src/allmydata/scripts/tahoe_backup.py",
line 188, in process
childcap = self.process(childpath)
File
"/home/zooko/playground/LAFS/pristine/src/allmydata/scripts/tahoe_backup.py",
line 194, in process
childcap, metadata = self.upload(childpath)
File
"/home/zooko/playground/LAFS/pristine/src/allmydata/scripts/tahoe_backup.py",
line 305, in upload
raise HTTPError("Error during file PUT", resp)
HTTPError: Error during file PUT: 500 Internal Server Error
"Traceback (most recent call last):
File \"/home/zooko/playground/LAFS/pristine/support/lib/python2.7/site-
packages/foolscap-0.6.4-py2.7.egg/foolscap/call.py\", line 753, in
receiveClose
self.request.fail(f)
File \"/home/zooko/playground/LAFS/pristine/support/lib/python2.7/site-
packages/foolscap-0.6.4-py2.7.egg/foolscap/call.py\", line 95, in fail
self.deferred.errback(why)
File \"/home/zooko/.local/lib/python2.7/site-
packages/twisted/internet/defer.py\", line 421, in errback
self._startRunCallbacks(fail)
File \"/home/zooko/.local/lib/python2.7/site-
packages/twisted/internet/defer.py\", line 488, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File \"/home/zooko/.local/lib/python2.7/site-
packages/twisted/internet/defer.py\", line 575, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File
\"/home/zooko/playground/LAFS/pristine/src/allmydata/immutable/upload.py\",
line 604, in _got_response
return self._loop()
File
\"/home/zooko/playground/LAFS/pristine/src/allmydata/immutable/upload.py\",
line 516, in _loop
return self._failed(msg)
File
\"/home/zooko/playground/LAFS/pristine/src/allmydata/immutable/upload.py\",
line 617, in _failed
raise UploadUnhappinessError(msg)
allmydata.interfaces.UploadUnhappinessError: server selection failed for
<Tahoe2ServerSelector for upload qd7vq>: shares could be placed or found
on
only 0 server(s). We were asked to place shares on at least 1 server(s)
such
that any 1 of them have enough shares to recover the file. (placed 0
shares out
of 1 total (1 homeless), want to place shares on at least 1 servers such
that
any 1 of them have enough shares to recover the file, sent 1 queries to 1
servers, 0 queries placed some shares, 1 placed none (of which 0 placed
none
due to the server being full and 1 placed none due to an error)) (last
failure
(from <ServerTracker for server 6dwd2q and SI qd7vq>) was:
[Failure instance: Traceback (failure with no frames): <class
'foolscap.tokens.RemoteException'>:
<RemoteException around '[CopiedFailure instance: Traceback from remote
host -- Traceback (most recent call last):
File \"/home/customer/LAFS_source/support/lib/python2.7/site-
packages/Twisted-12.2.0-py2.7-linux-i686.egg/twisted/internet/tcp.py\",
line 287, in connectionLost
protocol.connectionLost(reason)
File \"/home/customer/LAFS_source/support/lib/python2.7/site-
packages/Twisted-12.2.0-py2.7-linux-i686.egg/twisted/web/client.py\", line
193, in connectionLost
self.factory._disconnectedDeferred.callback(None)
File \"/home/customer/LAFS_source/support/lib/python2.7/site-
packages/Twisted-12.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py\",
line 368, in callback
self._startRunCallbacks(result)
File \"/home/customer/LAFS_source/support/lib/python2.7/site-
packages/Twisted-12.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py\",
line 464, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File \"/home/customer/LAFS_source/support/lib/python2.7/site-
packages/Twisted-12.2.0-py2.7-linux-i686.egg/twisted/internet/defer.py\",
line 551, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File \"/usr/local/lib/python2.7/dist-
packages/txAWS-0.2.1.post4-py2.7.egg/txaws/s3/client.py\", line 153, in
_parse_get_bucket
root = XML(xml_bytes)
File \"/usr/local/lib/python2.7/dist-
packages/txAWS-0.2.1.post4-py2.7.egg/txaws/util.py\", line 61, in XML
return parser.close()
File \"/usr/lib/python2.7/xml/etree/ElementTree.py\", line 1655, in
close
self._raiseerror(v)
File \"/usr/lib/python2.7/xml/etree/ElementTree.py\", line 1507, in
_raiseerror
raise err
xml.etree.ElementTree.ParseError: no element found: line 1, column 0
]'>
])
"
}}}
--
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2116#comment:18>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list