Opened 9 years ago

Closed 4 years ago

#3236 closed defect (wontfix)

tor weather refuses to find nodes in its own tor-descriptors

Reported by: phobos Owned by: kaner
Priority: Medium Milestone:
Component: Metrics/Tor Weather Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


a relay operator has been trying to register the following node fingerprint, B3BE3F94F704E87F8F64965D70EF35FD08E7B6F6, but weather says it doesn't exist.

the tor on the weather.tpo servers finds B3BE3F94F704E87F8F64965D70EF35FD08E7B6F6 in its cached-desc and cached-consensus files without issue.

Child Tickets

Change History (3)

comment:1 Changed 9 years ago by kaner

Turns out that Weather had exited with the following backtrace:

Traceback (most recent call last):
  File "/srv/", line 535, in _eventLoop
    self._handleFn(timestamp, reply)
  File "/srv/", line 1061, in _handle1
    self._map1.get(event.event_name, self.unknown_event)(event)
  File "/srv/", line 30, in new_consensus_event                
  File "/srv/", line 335, in run_all
    email_list = update_all_routers(ctl_util, email_list)
  File "/srv/", line 283, in update_all_routers           
  File "/usr/lib/pymodules/python2.6/django/db/models/", line 434, in save
    self.save_base(using=using, force_insert=force_insert, force_update=force_update)
  File "/usr/lib/pymodules/python2.6/django/db/models/", line 500, in save_base
    rows = manager.using(using).filter(pk=pk_val)._update(values)
  File "/usr/lib/pymodules/python2.6/django/db/models/", line 491, in _update
    return query.get_compiler(self.db).execute_sql(None)
  File "/usr/lib/pymodules/python2.6/django/db/models/sql/", line 861, in execute_sql
    cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)
  File "/usr/lib/pymodules/python2.6/django/db/models/sql/", line 727, in execute_sql
    cursor.execute(sql, params)
  File "/usr/lib/pymodules/python2.6/django/db/backends/sqlite3/", line 200, in execute
    return Database.Cursor.execute(self, query, params)
DatabaseError: unable to open database file

The database file is ok to open for user weather though.

comment:2 Changed 9 years ago by rransom

I do hope that someone set up backups of the Tor Weather database, because if the database has been corrupted I know that we will turn Weather back on with a new, empty database and let it re-spam all relay operators.

comment:3 Changed 4 years ago by karsten

Resolution: wontfix
Status: newclosed

Tor Weather has been discontinued as of May 24, 2016: Batch-closing all remaining tickets as announced in #19382. A list of these tickets and any other Weather tickets modified after June 26, 2016 will be available here:^Metrics%2FTor+Weather

Note: See TracTickets for help on using tickets.