[tahoe-lafs-trac-stream] [tahoe-lafs] #1656: tahoe backup error

tahoe-lafs trac at tahoe-lafs.org
Sun Feb 19 01:52:07 UTC 2012


#1656: tahoe backup error
---------------------------+-----------------------
     Reporter:  ianchov    |      Owner:  somebody
         Type:  defect     |     Status:  closed
     Priority:  major      |  Milestone:  undecided
    Component:  code       |    Version:  1.9.1
   Resolution:  duplicate  |   Keywords:
Launchpad Bug:             |
---------------------------+-----------------------
Description changed by zooko:

Old description:

> Hi guys
>
> i do my backup with
> /home/ianchov/allmydata-tahoe-1.9.1/bin/tahoe backup -v
> /home/ianchov/testmount XYZ:XYZ
>
>  ..............
>  re-using old directory for '/home/ianchov/testmount/dir22'
>  creating directory for '/home/ianchov/testmount'
> Traceback (most recent call last):
>   File "/home/ianchov/allmydata-tahoe-1.9.1/support/bin/tahoe", line 9,
> in <module>
>     load_entry_point('allmydata-tahoe==1.9.1', 'console_scripts',
> 'tahoe')()
>   File "/home/ianchov/allmydata-
> tahoe-1.9.1/src/allmydata/scripts/runner.py", line 113, in run
>     rc = runner(sys.argv[1:], install_node_control=install_node_control)
>   File "/home/ianchov/allmydata-
> tahoe-1.9.1/src/allmydata/scripts/runner.py", line 99, in runner
>     rc = cli.dispatch[command](so)
>   File "/home/ianchov/allmydata-
> tahoe-1.9.1/src/allmydata/scripts/cli.py", line 569, in backup
>     rc = tahoe_backup.backup(options)
>   File "/home/ianchov/allmydata-
> tahoe-1.9.1/src/allmydata/scripts/tahoe_backup.py", line 325, in backup
>     return bu.run()
>   File "/home/ianchov/allmydata-
> tahoe-1.9.1/src/allmydata/scripts/tahoe_backup.py", line 123, in run
>     put_child(archives_url, now, new_backup_dircap)
>   File "/home/ianchov/allmydata-
> tahoe-1.9.1/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):\x0a  File \"/home/ianchov/allmydata-
> tahoe-1.9.0/support/lib/python2.7/site-packages/Twisted-10.1.0-py2.7
> -linux-x86_64.egg/twisted/internet/base.py\", line 796, in
> runUntilCurrent\x0a    call.func(*call.args, **call.kw)\x0a  File
> \"/home/ianchov/allmydata-tahoe-1.9.0/support/lib/python2.7/site-
> packages/foolscap-0.6.2-py2.7.egg/foolscap/eventual.py\", line 26, in
> _turn\x0a    cb(*args, **kwargs)\x0a  File \"/home/ianchov/allmydata-
> tahoe-1.9.0/support/lib/python2.7/site-packages/Twisted-10.1.0-py2.7
> -linux-x86_64.egg/twisted/internet/defer.py\", line 318, in callback\x0a
> self._startRunCallbacks(result)\x0a  File \"/home/ianchov/allmydata-
> tahoe-1.9.0/support/lib/python2.7/site-packages/Twisted-10.1.0-py2.7
> -linux-x86_64.egg/twisted/internet/defer.py\", line 424, in
> _startRunCallbacks\x0a    self._runCallbacks()\x0a--- <exception caught
> here> ---\x0a  File \"/home/ianchov/allmydata-
> tahoe-1.9.0/support/lib/python2.7/site-packages/Twisted-10.1.0-py2.7
> -linux-x86_64.egg/twisted/internet/defer.py\", line 441, in
> _runCallbacks\x0a    self.result = callback(self.result, *args, **kw)\x0a
> File \"/home/ianchov/allmydata-
> tahoe-1.9.0/src/allmydata/mutable/filenode.py\", line 855, in
> <lambda>\x0a    self._modify_once(modifier, first_time))\x0a  File
> \"/home/ianchov/allmydata-
> tahoe-1.9.0/src/allmydata/mutable/filenode.py\", line 881, in
> _modify_once\x0a    d = self._try_to_download_data()\x0a  File
> \"/home/ianchov/allmydata-
> tahoe-1.9.0/src/allmydata/mutable/filenode.py\", line 959, in
> _try_to_download_data\x0a    d = self._read(c, fetch_privkey=True)\x0a
> File \"/home/ianchov/allmydata-
> tahoe-1.9.0/src/allmydata/mutable/filenode.py\", line 980, in _read\x0a
> d = r.download(consumer, offset, size)\x0a  File \"/home/ianchov
> /allmydata-tahoe-1.9.0/src/allmydata/mutable/retrieve.py\", line 237, in
> download\x0a    self._setup_download()\x0a  File \"/home/ianchov
> /allmydata-tahoe-1.9.0/src/allmydata/mutable/retrieve.py\", line 277, in
> _setup_download\x0a    shares =
> versionmap[self.verinfo]\x0aexceptions.KeyError: (44,
> '\\x94\\x17\\xb3]\\xb7%\\r\\xbe\\xb4\\xe6\\xa1\\x8d\\xbf\\x04\\x85\\x8f\\x9f\\xd4\\xb3\\x94\\xbf\\xab\\x15N\\x9c\\xb8E\\xd9\\xc7\\xdb:\\xef',
> '\\xcf\\x10\\xf6\$HO\\xdc\\xc3i\\xbc\\xeb\\xb7\\xed\\xfd\\xa2\\xac',
> 8240, 8238, 5, 12,
> '\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00,\\x94\\x17\\xb3]\\xb7%\\r\\xbe\\xb4\\xe6\\xa1\\x8d\\xbf\\x04\\x85\\x8f\\x9f\\xd4\\xb3\\x94\\xbf\\xab\\x15N\\x9c\\xb8E\\xd9\\xc7\\xdb:\\xef\\xcf\\x10\\xf6\$HO\\xdc\\xc3i\\xbc\\xeb\\xb7\\xed\\xfd\\xa2\\xac\\x05\\x0c\\x00\\x00\\x00\\x00\\x00\\x00
> 0\\x00\\x00\\x00\\x00\\x00\\x00 .', (('enc_privkey', 2471), ('EOF',
> 3688), ('share_data', 823), ('signature', 399), ('block_hash_tree', 791),
> ('share_hash_chain', 655)))\x0a"

New description:

 Hi guys

 i do my backup with
 {{{
 /home/ianchov/allmydata-tahoe-1.9.1/bin/tahoe backup -v
 /home/ianchov/testmount XYZ:XYZ

  ..............
  re-using old directory for '/home/ianchov/testmount/dir22'
  creating directory for '/home/ianchov/testmount'
 Traceback (most recent call last):
   File "/home/ianchov/allmydata-tahoe-1.9.1/support/bin/tahoe", line 9, in
 <module>
     load_entry_point('allmydata-tahoe==1.9.1', 'console_scripts',
 'tahoe')()
   File "/home/ianchov/allmydata-
 tahoe-1.9.1/src/allmydata/scripts/runner.py", line 113, in run
     rc = runner(sys.argv[1:], install_node_control=install_node_control)
   File "/home/ianchov/allmydata-
 tahoe-1.9.1/src/allmydata/scripts/runner.py", line 99, in runner
     rc = cli.dispatch[command](so)
   File "/home/ianchov/allmydata-tahoe-1.9.1/src/allmydata/scripts/cli.py",
 line 569, in backup
     rc = tahoe_backup.backup(options)
   File "/home/ianchov/allmydata-
 tahoe-1.9.1/src/allmydata/scripts/tahoe_backup.py", line 325, in backup
     return bu.run()
   File "/home/ianchov/allmydata-
 tahoe-1.9.1/src/allmydata/scripts/tahoe_backup.py", line 123, in run
     put_child(archives_url, now, new_backup_dircap)
   File "/home/ianchov/allmydata-
 tahoe-1.9.1/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):\x0a  File \"/home/ianchov/allmydata-
 tahoe-1.9.0/support/lib/python2.7/site-packages/Twisted-10.1.0-py2.7
 -linux-x86_64.egg/twisted/internet/base.py\", line 796, in
 runUntilCurrent\x0a    call.func(*call.args, **call.kw)\x0a  File
 \"/home/ianchov/allmydata-tahoe-1.9.0/support/lib/python2.7/site-
 packages/foolscap-0.6.2-py2.7.egg/foolscap/eventual.py\", line 26, in
 _turn\x0a    cb(*args, **kwargs)\x0a  File \"/home/ianchov/allmydata-
 tahoe-1.9.0/support/lib/python2.7/site-packages/Twisted-10.1.0-py2.7
 -linux-x86_64.egg/twisted/internet/defer.py\", line 318, in callback\x0a
 self._startRunCallbacks(result)\x0a  File \"/home/ianchov/allmydata-
 tahoe-1.9.0/support/lib/python2.7/site-packages/Twisted-10.1.0-py2.7
 -linux-x86_64.egg/twisted/internet/defer.py\", line 424, in
 _startRunCallbacks\x0a    self._runCallbacks()\x0a--- <exception caught
 here> ---\x0a  File \"/home/ianchov/allmydata-
 tahoe-1.9.0/support/lib/python2.7/site-packages/Twisted-10.1.0-py2.7
 -linux-x86_64.egg/twisted/internet/defer.py\", line 441, in
 _runCallbacks\x0a    self.result = callback(self.result, *args, **kw)\x0a
 File \"/home/ianchov/allmydata-
 tahoe-1.9.0/src/allmydata/mutable/filenode.py\", line 855, in <lambda>\x0a
 self._modify_once(modifier, first_time))\x0a  File \"/home/ianchov
 /allmydata-tahoe-1.9.0/src/allmydata/mutable/filenode.py\", line 881, in
 _modify_once\x0a    d = self._try_to_download_data()\x0a  File
 \"/home/ianchov/allmydata-tahoe-1.9.0/src/allmydata/mutable/filenode.py\",
 line 959, in _try_to_download_data\x0a    d = self._read(c,
 fetch_privkey=True)\x0a  File \"/home/ianchov/allmydata-
 tahoe-1.9.0/src/allmydata/mutable/filenode.py\", line 980, in _read\x0a
 d = r.download(consumer, offset, size)\x0a  File \"/home/ianchov
 /allmydata-tahoe-1.9.0/src/allmydata/mutable/retrieve.py\", line 237, in
 download\x0a    self._setup_download()\x0a  File \"/home/ianchov
 /allmydata-tahoe-1.9.0/src/allmydata/mutable/retrieve.py\", line 277, in
 _setup_download\x0a    shares =
 versionmap[self.verinfo]\x0aexceptions.KeyError: (44,
 '\\x94\\x17\\xb3]\\xb7%\\r\\xbe\\xb4\\xe6\\xa1\\x8d\\xbf\\x04\\x85\\x8f\\x9f\\xd4\\xb3\\x94\\xbf\\xab\\x15N\\x9c\\xb8E\\xd9\\xc7\\xdb:\\xef',
 '\\xcf\\x10\\xf6\$HO\\xdc\\xc3i\\xbc\\xeb\\xb7\\xed\\xfd\\xa2\\xac', 8240,
 8238, 5, 12,
 '\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00,\\x94\\x17\\xb3]\\xb7%\\r\\xbe\\xb4\\xe6\\xa1\\x8d\\xbf\\x04\\x85\\x8f\\x9f\\xd4\\xb3\\x94\\xbf\\xab\\x15N\\x9c\\xb8E\\xd9\\xc7\\xdb:\\xef\\xcf\\x10\\xf6\$HO\\xdc\\xc3i\\xbc\\xeb\\xb7\\xed\\xfd\\xa2\\xac\\x05\\x0c\\x00\\x00\\x00\\x00\\x00\\x00
 0\\x00\\x00\\x00\\x00\\x00\\x00 .', (('enc_privkey', 2471), ('EOF', 3688),
 ('share_data', 823), ('signature', 399), ('block_hash_tree', 791),
 ('share_hash_chain', 655)))\x0a"
 }}}

--

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


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