[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [doctor/master] Suppress notifications for urras
commit df27eacbcd69255f86ce528beaab393435cc2eee
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Sun Aug 30 19:09:21 2015 -0700
Suppress notifications for urras
Urras has had more than a month long outage so far due to a hardware failure.
Long past due I stopped these notifications.
---
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