[tor-commits] [doctor/master] Disable DocTor checks for dannenberg

atagar at torproject.org atagar at torproject.org
Tue Sep 24 22:20:23 UTC 2019


commit 3f1c5f677c3235c973b80379d3166360f3328c70
Author: Damian Johnson <atagar at torproject.org>
Date:   Tue Sep 24 15:19:11 2019 -0700

    Disable DocTor checks for dannenberg
    
    Dannenberg will be unable to sign the consensus until November due to lack of
    the present consensus in Tor's LTS release (and by extension openbsd's).
---
 consensus_health_checker.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/consensus_health_checker.py b/consensus_health_checker.py
index eb4620c..f775014 100755
--- a/consensus_health_checker.py
+++ b/consensus_health_checker.py
@@ -28,6 +28,11 @@ Runlevel = stem.util.enum.UppercaseEnum('NOTICE', 'WARNING', 'ERROR')
 DIRECTORY_AUTHORITIES = stem.directory.Authority.from_cache()
 del DIRECTORY_AUTHORITIES['tor26']  # DirPort does not service requests without a '.z' suffix
 
+# dannenberg runs tor's long-term-stable release which does not support the
+# most recent consensus method, breaking its ability to sign the consensus
+
+del DIRECTORY_AUTHORITIES['dannenberg']
+
 EMAIL_SUBJECT = 'Consensus issues'
 BANDWIDTH_AUTHORITIES = ('moria1', 'gabelmoo', 'maatuska', 'Faravahar', 'bastet', 'longclaw')
 
@@ -641,6 +646,9 @@ def has_authority_flag(latest_consensus, consensuses, votes):
   if 'tor26' in seen_authorities:
     seen_authorities.remove('tor26')
 
+  if 'dannenberg' in seen_authorities:
+    seen_authorities.remove('dannenberg')
+
   known_authorities = set(DIRECTORY_AUTHORITIES.keys())
   missing_authorities = known_authorities.difference(seen_authorities)
   extra_authorities = seen_authorities.difference(known_authorities)



More information about the tor-commits mailing list