[tahoe-lafs-trac-stream] [tahoe-lafs] #1707: iputil cannot get local IP addresses on newer Dragonfly BSD (sys.platform == "dragonfly2") (was: tahoe crashed on starting when connecting to the testgrid)
tahoe-lafs
trac at tahoe-lafs.org
Thu Nov 22 01:19:15 UTC 2012
#1707: iputil cannot get local IP addresses on newer Dragonfly BSD (sys.platform
== "dragonfly2")
------------------------+----------------------------------
Reporter: phma | Owner: davidsarah
Type: defect | Status: assigned
Priority: normal | Milestone: soon
Component: code | Version: 1.9.1
Resolution: | Keywords: iputil dragonfly bsd
Launchpad Bug: |
------------------------+----------------------------------
Changes (by davidsarah):
* status: new => assigned
* component: unknown => code
* owner: nobody => davidsarah
* milestone: undecided => soon
* keywords: => iputil dragonfly bsd
Old description:
> Here is the log:
>
> 2012-04-04 20:35:05-0400 [-] Log opened.
> 2012-04-04 20:35:05-0400 [-] twistd 10.1.0 (/usr/pkg/bin/python2.6 2.6.7)
> starting up.
> 2012-04-04 20:35:05-0400 [-] reactor class:
> twisted.internet.selectreactor.SelectReactor.
> 2012-04-04 20:35:05-0400 [-] foolscap.pb.Listener starting on 14159
> 2012-04-04 20:35:05-0400 [-] nevow.appserver.NevowSite starting on 3456
> 2012-04-04 20:35:05-0400 [-] Starting factory <nevow.appserver.NevowSite
> instance at 0x2aade40c>
> 2012-04-04 20:35:05-0400 [-] My pid: 20180
> 2012-04-04 20:35:05-0400 [-] twisted.internet.protocol.DatagramProtocol
> starting on 1889
> 2012-04-04 20:35:05-0400 [-] Starting protocol
> <twisted.internet.protocol.DatagramProtocol instance at 0x2aade98c>
> 2012-04-04 20:35:05-0400 [-] (Port 1889 Closed)
> 2012-04-04 20:35:05-0400 [-] Stopping protocol
> <twisted.internet.protocol.DatagramProtocol instance at 0x2aade98c>
> 2012-04-04 20:35:05-0400 [-] Unhandled Error
> Traceback (most recent call last):
> File "/usr/pkg/lib/python2.6/threading.py", line 504, in
> __bootstrap
> self.__bootstrap_inner()
> File "/usr/pkg/lib/python2.6/threading.py", line 532, in
> __bootstrap_inner
> self.run()
> File "/usr/pkg/lib/python2.6/threading.py", line 484, in run
> self.__target(*self.__args, **self.__kwargs)
> --- <exception caught here> ---
> File "/usr/pkg/lib/python2.6/site-
> packages/twisted/python/threadpool.py", line 207, in _worker
> result = context.call(ctx, function, *args, **kwargs)
> File "/usr/pkg/lib/python2.6/site-
> packages/twisted/python/context.py", line 59, in callWithContext
> return self.currentContext().callWithContext(ctx, func,
> *args, **kw)
> File "/usr/pkg/lib/python2.6/site-
> packages/twisted/python/context.py", line 37, in callWithContext
> return func(*args,**kw)
> File "/usr/pkg/lib/python2.6/site-
> packages/allmydata/util/iputil.py", line 213, in
> _synchronously_find_addresses_via_config
> raise UnsupportedPlatformError(sys.platform)
> allmydata.util.iputil.UnsupportedPlatformError: dragonfly2
>
> 2012-04-04 20:35:05-0400 [-] Node._startService failed, aborting
> 2012-04-04 20:35:05-0400 [-] [Failure instance: Traceback: <class
> 'allmydata.util.iputil.UnsupportedPlatformError'>: dragonfly2
> 2012-04-04 20:35:05-0400 [-]
> /usr/pkg/lib/python2.6/threading.py:504:__bootstrap
> 2012-04-04 20:35:05-0400 [-]
> /usr/pkg/lib/python2.6/threading.py:532:__bootstrap_inner
> 2012-04-04 20:35:05-0400 [-] /usr/pkg/lib/python2.6/threading.py:484:run
> 2012-04-04 20:35:05-0400 [-] --- <exception caught here> ---
> 2012-04-04 20:35:05-0400 [-] /usr/pkg/lib/python2.6/site-
> packages/twisted/python/threadpool.py:207:_worker
> 2012-04-04 20:35:05-0400 [-] /usr/pkg/lib/python2.6/site-
> packages/twisted/python/context.py:59:callWithContext
> 2012-04-04 20:35:05-0400 [-] /usr/pkg/lib/python2.6/site-
> packages/twisted/python/context.py:37:callWithContext
> 2012-04-04 20:35:05-0400 [-] /usr/pkg/lib/python2.6/site-
> packages/allmydata/util/iputil.py:213:_synchronously_find_addresses_via_config
> 2012-04-04 20:35:05-0400 [-] ]
> 2012-04-04 20:35:05-0400 [-] calling os.abort()
> 2012-04-04 20:35:05-0400 [-] calling os.abort()
>
> Here's the client section of tahoe.cfg:
>
> # Which services should this client connect to?
> introducer.furl = pb://tin57bdenwkigkujmh6rwgztcoh7ya7t@pubgrid.tahoe-
> lafs.org:50528/introducer
> helper.furl =
> #key_generator.furl =
> stats_gatherer.furl = pb://cmmth6b3lsj2orir3u5yqwwae7xfmxxq@pubgrid
> .tahoe-lafs.org:51424/jdoyd3kke4zqkmmvlhveb57xsw623kh5
New description:
Here is the log:
2012-04-04 20:35:05-0400 [-] Log opened.
2012-04-04 20:35:05-0400 [-] twistd 10.1.0 (/usr/pkg/bin/python2.6 2.6.7)
starting up.
2012-04-04 20:35:05-0400 [-] reactor class:
twisted.internet.selectreactor.SelectReactor.
2012-04-04 20:35:05-0400 [-] foolscap.pb.Listener starting on 14159
2012-04-04 20:35:05-0400 [-] nevow.appserver.NevowSite starting on 3456
2012-04-04 20:35:05-0400 [-] Starting factory <nevow.appserver.NevowSite
instance at 0x2aade40c>
2012-04-04 20:35:05-0400 [-] My pid: 20180
2012-04-04 20:35:05-0400 [-] twisted.internet.protocol.DatagramProtocol
starting on 1889
2012-04-04 20:35:05-0400 [-] Starting protocol
<twisted.internet.protocol.DatagramProtocol instance at 0x2aade98c>
2012-04-04 20:35:05-0400 [-] (Port 1889 Closed)
2012-04-04 20:35:05-0400 [-] Stopping protocol
<twisted.internet.protocol.DatagramProtocol instance at 0x2aade98c>
2012-04-04 20:35:05-0400 [-] Unhandled Error
Traceback (most recent call last):
File "/usr/pkg/lib/python2.6/threading.py", line 504, in
__bootstrap
self.__bootstrap_inner()
File "/usr/pkg/lib/python2.6/threading.py", line 532, in
__bootstrap_inner
self.run()
File "/usr/pkg/lib/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
--- <exception caught here> ---
File "/usr/pkg/lib/python2.6/site-
packages/twisted/python/threadpool.py", line 207, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "/usr/pkg/lib/python2.6/site-
packages/twisted/python/context.py", line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args,
**kw)
File "/usr/pkg/lib/python2.6/site-
packages/twisted/python/context.py", line 37, in callWithContext
return func(*args,**kw)
File "/usr/pkg/lib/python2.6/site-
packages/allmydata/util/iputil.py", line 213, in
_synchronously_find_addresses_via_config
raise UnsupportedPlatformError(sys.platform)
allmydata.util.iputil.UnsupportedPlatformError: dragonfly2
2012-04-04 20:35:05-0400 [-] Node._startService failed, aborting
2012-04-04 20:35:05-0400 [-] [Failure instance: Traceback: <class
'allmydata.util.iputil.UnsupportedPlatformError'>: dragonfly2
2012-04-04 20:35:05-0400 [-]
/usr/pkg/lib/python2.6/threading.py:504:__bootstrap
2012-04-04 20:35:05-0400 [-]
/usr/pkg/lib/python2.6/threading.py:532:__bootstrap_inner
2012-04-04 20:35:05-0400 [-] /usr/pkg/lib/python2.6/threading.py:484:run
2012-04-04 20:35:05-0400 [-] --- <exception caught here> ---
2012-04-04 20:35:05-0400 [-] /usr/pkg/lib/python2.6/site-
packages/twisted/python/threadpool.py:207:_worker
2012-04-04 20:35:05-0400 [-] /usr/pkg/lib/python2.6/site-
packages/twisted/python/context.py:59:callWithContext
2012-04-04 20:35:05-0400 [-] /usr/pkg/lib/python2.6/site-
packages/twisted/python/context.py:37:callWithContext
2012-04-04 20:35:05-0400 [-] /usr/pkg/lib/python2.6/site-
packages/allmydata/util/iputil.py:213:_synchronously_find_addresses_via_config
2012-04-04 20:35:05-0400 [-] ]
2012-04-04 20:35:05-0400 [-] calling os.abort()
2012-04-04 20:35:05-0400 [-] calling os.abort()
Here's the client section of tahoe.cfg:
# Which services should this client connect to?
introducer.furl = pb://tin57bdenwkigkujmh6rwgztcoh7ya7t@pubgrid.tahoe-
lafs.org:50528/introducer
helper.furl =
#key_generator.furl =
stats_gatherer.furl = pb://cmmth6b3lsj2orir3u5yqwwae7xfmxxq@pubgrid.tahoe-
lafs.org:51424/jdoyd3kke4zqkmmvlhveb57xsw623kh5
--
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1707#comment:1>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list