#2267 new defect

exceptions.AttributeError: 'CHKUploadHelper' object has no attribute '_reader'

Reported by: daira Owned by:
Priority: normal Milestone: undecided
Component: code-network Version: 1.10.0
Keywords: upload upload-helper immutable tahoe-backup Cc:
Launchpad Bug:

Description

Xavier wrote:

we are continuing of test of tahoe platform mainly using the tahoe backup function

while making a backup of quite a quantity of data 30-40 go [GB] here are the errors i have (as the backup is not completed no files are accessible, which i sad by design)

the error messages are not that clear

what shall I understand from those errors ?

File "/usr/lib/python2.7/dist-packages/allmydata/scripts/runner.py", line 156, in run
    rc = runner(sys.argv[1:], install_node_control=install_node_control)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/runner.py", line 141, in runner
    rc = cli.dispatch[command](so)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/cli.py", line 574, in backup
    rc = tahoe_backup.backup(options)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 325, in backup
    return bu.run()
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 118, in run
    new_backup_dircap = self.process(options.from_dir)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 188, in process
    childcap = self.process(childpath)
  File "/usr/lib/python2.7/dist-packages/allmydata/scripts/tahoe_backup.py", line 194, in process
    childcap, metadata = self.upload(childpath)
  File "/usr/lib/python2.7/dist-packages/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):
Failure: foolscap.tokens.RemoteException: <RemoteException around '[CopiedFailure instance: Traceback from remote host -- Traceback (most recent call last):
  File \"/usr/lib/python2.7/dist-packages/foolscap/eventual.py\", line 26, in _turn
    cb(*args, **kwargs)
  File \"/usr/lib/python2.7/dist-packages/foolscap/broker.py\", line 554, in doNextCall
    d.addCallback(lambda res: self._doCall(delivery))
  File \"/usr/lib/python2.7/dist-packages/twisted/internet/defer.py\", line 298, in addCallback
    callbackKeywords=kw)
  File \"/usr/lib/python2.7/dist-packages/twisted/internet/defer.py\", line 287, in addCallbacks
    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 \"/usr/lib/python2.7/dist-packages/foolscap/broker.py\", line 554, in <lambda>
    d.addCallback(lambda res: self._doCall(delivery))
  File \"/usr/lib/python2.7/dist-packages/foolscap/broker.py\", line 589, in _doCall
    return obj.doRemoteCall(delivery.methodname, args, kwargs)
  File \"/usr/lib/python2.7/dist-packages/foolscap/referenceable.py\", line 60, in doRemoteCall
    res = meth(*args, **kwargs)
  File \"/usr/lib/pymodules/python2.7/allmydata/immutable/offloaded.py\", line 203, in remote_upload
    self._reader.add_reader(reader)
exceptions.AttributeError: 'CHKUploadHelper' object has no attribute '_reader'
]'>
"

Change History (2)

comment:1 Changed at 2014-08-07T14:10:41Z by daira

daira wrote:

The storage server reported an exception that appears to be a bug in code related to the upload helper. I haven't seen this particular error before. Is a helper enabled?

Xavier wrote:

yes there was an helper working

this is necessary in our design as the nodes are connected by low speed adsl and the helper is on a high speed internet connection.

actually it was not possible to backup more that 2-5 gByte of data at same time. directly on the global network we always go to a kind of error or infinite loop.

Last edited at 2014-08-07T14:11:08Z by daira (previous) (diff)

comment:2 Changed at 2015-08-16T15:26:24Z by zooko

  • Keywords upload-helper added; helper removed
Note: See TracTickets for help on using tickets.