Spotify outage on 29 September: conflicting deployment changes and login failure
Spotify reported an outage on 29 September that stopped users from accessing the platform. Two changes to its deployment system were tested separately but conflicted when combined. One change moved some services from regular Kubernetes[1] Deployments to Argo Rollouts, and the other changed which parameters were excluded from the automated diff. As a result, the system set the replica count[2] of the affected services to the minimum on every sync, overriding the Kubernetes autoscaler[3].
Among the affected services was the login system, which keeps people logged in. Without it, Spotify apps could not load content or play music. Re-issuing tokens after downtime raised the load sharply, and at the start of recovery the login system handled 200 times more traffic than before the incident. Most regions recovered by 16:30 UTC, but in one European region full recovery took until 19:34 UTC, when returning apps overwhelmed the services behind authentication.
The report lists automation that reapplied the faulty configuration and the difficulty of telling crashes that caused capacity loss from capacity loss that caused crashes. Planned changes include preventing deployment automation from overwriting autoscaler-managed replica counts and improving loadshedding[4].
Spotify shares (SPOT)
620.38 USD 0.0% since the news day, November 28
Close on November 27 Quotes: CNBC
Read the original engineering.atspotify.comDiscussion
Sources
-
Spotify Engineering
Spotify September Outage: What we learnt



