You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Incident documentation/2019-10-16 network eqsin: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Krinkle
 
imported>Krinkle
 
Line 1: Line 1:
'''document status''': {{irdoc-final}}
#REDIRECT [[Incidents/2019-10-16 network eqsin]]
 
==Summary==
An Equinix Singapore IXP peer flapped heavily, which overwhelmed the routing daemon on cr1-eqsin and caused all its BGP and OSPF sessions to flap or go down.
 
In addition to the external connectivity issues, as the primary transport link to codfw is on cr1, it caused the local caches to not be able to reach their peers in the main datacenters and serve 500 errors instead.
 
===Impact===
Estimated [https://logstash.wikimedia.org/goto/1c8019dc8c807c2cc81733a1ce6a47a0 ~170k errors] surfaced to users of eqsin PoP.
 
https://grafana.wikimedia.org/d/000000479/frontend-traffic?orgId=1&from=1571245200000&to=1571248800000&var-site=eqsin&var-cache_type=text&var-cache_type=upload&var-status_type=5
[[File:Matching Grafana screenshot.png|thumb]]
 
===Detection===
The following automated alerts got triggered:
 
*Varnish traffic drop between 30min ago and now at eqsin
*HTTP availability for Nginx -SSL terminators- at eqsin
*HTTP availability for Varnish at eqsin
*BFD status on cr1-codfw
*LVS HTTPS text-lb.eqsin.wikimedia.org - PAGE
 
This quickly pointed to an network issue in eqsin.
 
Was the alert volume manageable? yes
 
Did they point to the problem with as much accuracy as possible? yes
 
==Timeline==
'''All times in UTC.'''
 
*17:15 SSL terminator alerts in eqsin fire, non-paging -- '''OUTAGE BEGINS'''
*17:28 First page fires -- LVS HTTPS text-lb.eqsin.wikimedia.org
*17:29 eqsin depooled
*17:29 Recovery on its own -- '''OUTAGE ENDS'''
 
==Conclusions==
===What went well?===
 
*The issue was quickly identified
*The issue recovered on its own
 
===What went poorly?===
 
*A router's routing daemon should not behave that way but that router's model is known to be weak
*The logs didn't have any information on why OSPF and BGP were behaving that way.
 
===Where did we get lucky?===
 
*Several SREs were around when the issue started
 
===How many people were involved in the remediation?===
 
*6 SREs
 
==Links to relevant documentation==
Depooling the site: [[DNS#Change GeoDNS]]
 
==Actionables==
'''NOTE''': Please add the [[phab:tag/wikimedia-incident/|#wikimedia-incident]] Phabricator project to these follow-up tasks and move them to the "follow-up/actionable" column.
 
*[[phab:T236878|T236878]] Improve resiliency of the eqsin transport link by either:
**Terminating it on cr2-eqsin
**Adding a 2nd link
**Configuring link damping
*Replace cr1-eqsin with a better router (next FY)
 
{{#ifeq:{{SUBPAGENAME}}|Report Template||
[[Category:Incident documentation]]
}}

Latest revision as of 17:47, 8 April 2022