[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [doctor/master] Re-suppress notifications for urras



commit 74f430475c983a713a19a6a0791aac4fa76850d9
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Thu Sep 17 07:58:21 2015 -0700

    Re-suppress notifications for urras
    
    Well, that didn't last very long. Just hours after resuming the checks it went
    down again.
---
 consensus_health_checker.py |    7 ++++++-
 descriptor_checker.py       |    5 +++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/consensus_health_checker.py b/consensus_health_checker.py
index 1be5794..8733cb4 100755
--- a/consensus_health_checker.py
+++ b/consensus_health_checker.py
@@ -599,7 +599,7 @@ def has_authority_flag(latest_consensus, consensuses, votes):
     if Flag.AUTHORITY in desc.flags:
       seen_authorities.add(desc.nickname)
 
-  known_authorities = set(DIRECTORY_AUTHORITIES.keys())
+  known_authorities = set(DIRECTORY_AUTHORITIES.keys()) - set(['urras'])
   missing_authorities = known_authorities.difference(seen_authorities)
   extra_authorities = seen_authorities.difference(known_authorities)
 
@@ -724,6 +724,11 @@ def _get_documents(label, resource):
   queries, documents, issues = {}, {}, []
 
   for authority in DIRECTORY_AUTHORITIES.values():
+    # skip urras, it's having a long outage
+
+    if authority.nickname == 'urras':
+      continue
+
     if authority.v3ident is None:
       continue  # not a voting authority
 
diff --git a/descriptor_checker.py b/descriptor_checker.py
index 6b28d95..8050ca8 100755
--- a/descriptor_checker.py
+++ b/descriptor_checker.py
@@ -60,6 +60,11 @@ def main():
   # download the consensus from each authority
 
   for authority in stem.descriptor.remote.get_authorities().values():
+    # skip urras, it's having a long outage
+
+    if authority.nickname == 'urras':
+      continue
+
     # skip authorities that don't vote in the consensus
 
     if authority.v3ident is None:

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits