Opened at 2018-08-26T16:35:02Z
Closed at 2020-12-09T15:01:08Z
#2940 closed defect (wontfix)
cannot start stats gatherer
Reported by: | kisiel | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | unknown | Version: | 1.12.1 |
Keywords: | Cc: | ||
Launchpad Bug: |
Description (last modified by kisiel)
Hi.
running tahoe 1.13.0 on ubuntu 16.04.5 LTS
I've created stats gatherer with command tahoe create-stats-gatherer --hostname=HOSTNAME $BASEDIR my $BASEDIR contains now three files location port tahoe-stats-gatherer.tac
port is open
but when I do tahoe start $BASEDIR
I get following set of lines with error
2018-08-26T18:17:58+0200 [twisted.scripts._twistd_unix.UnixAppLogger#info] twistd 18.7.0 (/home/tahoe-user/venv/bin/python2 2.7.12) starting up. 2018-08-26T18:17:58+0200 [twisted.scripts._twistd_unix.UnixAppLogger#info] reactor class: twisted.internet.epollreactor.EPollReactor. 2018-08-26T18:17:58+0200 [-] Unhandled Error Traceback (most recent call last): File "/home/tahoe-user/venv/local/lib/python2.7/site-packages/twisted/internet/base.py", line 428, in fireEvent DeferredList(beforeResults).addCallback(self._continueFiring) File "/home/tahoe-user/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 322, in addCallback callbackKeywords=kw) File "/home/tahoe-user/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 311, in addCallbacks self._runCallbacks() File "/home/tahoe-user/venv/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks current.result = callback(current.result, *args, **kw) --- <exception caught here> --- File "/home/tahoe-user/venv/local/lib/python2.7/site-packages/twisted/internet/base.py", line 441, in _continueFiring callable(*args, **kwargs) File "/home/tahoe-user/venv/local/lib/python2.7/site-packages/allmydata/scripts/tahoe_daemonize.py", line 128, in start srv = service_factory() File "/home/tahoe-user/venv/local/lib/python2.7/site-packages/allmydata/scripts/tahoe_daemonize.py", line 119, in <lambda> u"stats-gatherer": lambda: namedAny("allmydata.stats.StatsGathererService")(read_config(self.basedir, None), self.basedir, verbose=True), File "/home/tahoe-user/venv/local/lib/python2.7/site-packages/allmydata/node.py", line 139, in read_config portnumfile = os.path.join(basedir, portnumfile) File "/home/tahoe-user/venv/lib/python2.7/posixpath.py", line 68, in join if b.startswith('/'): exceptions.AttributeError: 'NoneType' object has no attribute 'startswith'
could you please help?
Change History (4)
comment:1 Changed at 2018-08-26T16:35:43Z by kisiel
- Description modified (diff)
comment:2 Changed at 2018-08-31T22:02:59Z by kisiel
- Description modified (diff)
- Summary changed from cannot start status gatherer to cannot start stats gatherer
comment:3 Changed at 2018-09-03T16:05:12Z by kisiel
comment:4 Changed at 2020-12-09T15:01:08Z by exarkun
- Resolution set to wontfix
- Status changed from new to closed
Going to remove the stats gatherer and related code: ticket:3549
Note: See
TracTickets for help on using
tickets.
Anyone out there?
I noticed that documentation suggests using "run" instead of "start" But it does not work either
The message says "Custom logging options; can't monitor logs for proper startup messages"
when reading the code I found that it will be issued if the started node is neither "client" nor "introducer" It makes sense, the node I try to start is "stats-gatherer" so it will never work.
is there a way to actually make stats gatherer working?