#2410 new defect

tahoe create-alias issue

Reported by: dipen Owned by: dipen
Priority: normal Milestone: undecided
Component: unknown Version: 1.10.0
Keywords: usability Cc:
Launchpad Bug:

Description

[root@jenkins tahoe-lafs]# tahoe create-alias tahoe Error during HTTP request: 500 Internal Server Error "Traceback (most recent call last):

File \"/usr/lib/python2.6/site-packages/allmydata/nodemaker.py\", line 136, in create_new_mutable_directory

version=version)

File \"/usr/lib/python2.6/site-packages/allmydata/nodemaker.py\", line 123, in create_mutable_file

d.addCallback(n.create_with_keys, contents, version=version)

File \"/usr/lib64/python2.6/site-packages/twisted/internet/defer.py\", line 307, in addCallback

callbackKeywords=kw)

File \"/usr/lib64/python2.6/site-packages/twisted/internet/defer.py\", line 296, in addCallbacks

self._runCallbacks()

--- <exception caught here> ---

File \"/usr/lib64/python2.6/site-packages/twisted/internet/defer.py\", line 578, in _runCallbacks

current.result = callback(current.result, *args, kw)

File \"/usr/lib/python2.6/site-packages/allmydata/mutable/filenode.py\", line 145, in create_with_keys

return self._upload(initial_contents, None)

File \"/usr/lib/python2.6/site-packages/allmydata/mutable/filenode.py\", line 685, in _upload

d = p.publish(new_contents)

File \"/usr/lib/python2.6/site-packages/allmydata/mutable/publish.py\", line 456, in publish

self.update_goal()

File \"/usr/lib/python2.6/site-packages/allmydata/mutable/publish.py\", line 960, in update_goal

self._first_write_error)

allmydata.mutable.common.NotEnoughServersError?: ('Ran out of non-bad servers, first_error=None', None)

Change History (3)

comment:1 Changed at 2015-04-27T19:11:50Z by daira

  • Keywords usability added
  • Owner set to dipen
  • Priority changed from supercritical to normal

How many servers are shown as connected on the client's Welcome page, and what are the encoding parameters (shares.needed, shares.happy, and shares.total) in tahoe.cfg?

Also, please give the output of tahoe --version-and-path.

comment:2 Changed at 2015-04-28T15:02:30Z by dipen

Hello, See My Below Tahoe Informations.

shares.needed = 3 shares.happy = 3 shares.total = 7

tahoe --version-and-path

allmydata-tahoe: 1.10.0.post322 [master: af456de6b58f2458b8bd000d92a815ad40f93add] (/usr/lib/python2.6/site-packages) foolscap: 0.8.0 (/usr/lib/python2.6/site-packages) pycryptopp: 0.6.0.1206569328141510525648634803928199668821045408958 (/usr/lib64/python2.6/site-packages) zfec: 1.4.24 (/usr/lib64/python2.6/site-packages) Twisted: 15.1.0 (/usr/lib64/python2.6/site-packages) Nevow: 0.11.1 (/usr/lib/python2.6/site-packages) zope.interface: unknown (/usr/lib64/python2.6/site-packages/zope) python: 2.6.6 (/usr/bin/python) platform: Linux-centos_6.6-x86_64-64bit_ELF (None) pyOpenSSL: 0.15.1 (/usr/lib/python2.6/site-packages) simplejson: 3.6.5 (/usr/lib64/python2.6/site-packages) pycrypto: 2.6.1 (/usr/lib64/python2.6/site-packages) pyasn1: 0.1.7 (/usr/lib/python2.6/site-packages) mock: 1.0.1 (/usr/lib/python2.6) service-identity: 14.0.0 (/usr/lib/python2.6/site-packages) characteristic: 14.3.0 (/root/.local/lib/python2.6) pyasn1-modules: 0.0.5 (/root/.local/lib/python2.6/site-packages) setuptools: 15.2 (/usr/lib/python2.6/site-packages/setuptools-15.2-py2.6.egg) cryptography: 0.8.2 (/usr/lib64/python2.6/site-packages) cffi: 0.9.2 (/usr/lib64/python2.6/site-packages) six: 1.9.0 (/usr/lib/python2.6) enum34: 1.0.4 (/root/.local/lib/python2.6/site-packages) pycparser: 2.12 (/usr/lib/python2.6/site-packages)

Warning: dependency 'ordereddict' (version '1.1') found by pkg_resources not found by import.

For debugging purposes, the PYTHONPATH was

None

install_requires was

['setuptools >= 0.6c6', 'zfec >= 1.1.0', 'simplejson >= 1.4', 'zope.interface >= 3.6.0, != 3.6.3, != 3.6.4', 'foolscap >= 0.6.3', 'pycrypto >= 2.1.0, != 2.2, != 2.4', 'mock >= 0.8.0', 'pycryptopp >= 0.6.0', 'service-identity', 'characteristic >= 14.0.0', 'pyasn1 >= 0.1.4', 'pyasn1-modules >= 0.0.5', 'Twisted >= 13.0.0', 'Nevow >= 0.11.1', 'pyOpenSSL >= 0.13', 'cryptography', 'cffi >= 0.8', 'six >= 1.4.1', 'enum34', 'pycparser']

sys.path after importing pkg_resources was

/usr/bin: /usr/lib/python2.6/site-packages/setuptools-15.2-py2.6.egg: /usr/lib64/python26.zip: /usr/lib64/python2.6: /usr/lib64/python2.6/plat-linux2: /usr/lib64/python2.6/lib-tk: /usr/lib64/python2.6/lib-old: /usr/lib64/python2.6/lib-dynload: /root/.local/lib/python2.6/site-packages: /usr/lib64/python2.6/site-packages: /usr/lib/python2.6/site-packages: /usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info

Last edited at 2015-04-28T23:41:46Z by daira (previous) (diff)

comment:3 Changed at 2015-04-28T23:45:06Z by daira

Thanks. (The warning about ordereddict is harmless.)

And how many servers are shown as connected on the client's Welcome page? Usually this page is available at http://127.0.0.1:3456, unless the port has been changed.

Note: See TracTickets for help on using tickets.