Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Spotify September Outage: What we learnt

On September 29, Spotify encountered an outage that left users unable to access their platform. This issue stemmed from a series of modifications made to the company's deployment platforms, causing a conflict in the main authentication system. As a result, the problem spread throughout Spotify's infrastructure, leading to a prolonged resolution process. In response to outages such as these, the company is committed to analyzing them to enhance its services.

Spotify's deployment system consists of two main types of workloads: Kubernetes Deployments and Argo Rollouts. These workloads are deployed via ArgoCD to both a test environment and several production environments. Two changes were rolled out to the deployment system. The first change involved configuring test environments, which had fewer instances and omitted certain automated health checks.

The second change focused on how the system computed the difference between the current state and the desired new state during deployments. The conflict arose when these two changes combined, resulting in the inclusion of a field that controlled the number of replicas. The system mistakenly set the replicas field to the minimum number of replicas, not accounting for the Kubernetes' autoscaler to manage this value.

This error occurred under specific conditions, affecting services that used Argo Rollouts and had a testing environment.

Among the affected services was a critical one responsible for logging users in. Without this service, Spotify apps couldn't load content or play music. Reissuing tokens after an outage leads to a significant surge in load, even with best practices in place. This overwhelming of remaining instances caused them to fail. Compounding the issue was an erroneous reconciliation loop that further reduced the number of instances, causing the system to fail instead of automatically scaling up and recovering.

Attempts to manually scale up the login service initially failed due to insufficient capacity. At the start of recovery, the login system had to handle 200 times more traffic than before the incident, serving the backlog of users with missing tokens.

The login service's minimum replica count was too low to protect against downscaling. Automation incorrectly re-applied the faulty configuration, slowing down manual recovery. The company has since simplified the process for responders to pause this automatic deployment during incidents. The symptoms of this outage were ambiguous, making it challenging to distinguish between capacity loss causing crashes and crashes causing capacity loss.

A concurrent large deployment added to the confusion, creating competing hypotheses. The recovery process further overloaded other services, requiring more aggressive scaling than initially anticipated.

Observability and operational friction were also factors in this incident. Overloaded services underreported request traffic as part of loadshedding. At 13:56, the company's central incident management coordination team was alerted. The login system's "panic mode alert" was triggered at 13:57. Responders identified the specific login service impacted at 14:04.

Infrastructure teams began preparing additional Kubernetes cluster capacity for recovery at 14:50. Troubleshooting and attempts to scale up the affected services continued until 16:30, when login started to recover. However, the return of traffic put pressure on other backend services, and deployments remained frozen. By 16:30, login was starting to recover, but some regions were still experiencing issues.

By 17:25, measures were taken to prevent a "thundering herd" effect, setting the login service to 3 times the normal CPU/memory resources. By 17:44, efforts were underway to fix failing downstream services. By 18:32, some services began to show signs of self-correction, but full recovery took until 19:34 UTC. In the aftermath, Spotify identified several key contributing factors to the outage.

These include deployment configuration mismatches, insufficient capacity safeguards, automation kicking in at the wrong time, ambiguous symptoms, a concurrent large deployment, recovery overloading other services, and issues with observability and operational friction.

Rewritten by urgent.news; may contain errors — check the original.

Source: engineering.atspotify.com

Read the original at engineering.atspotify.com →

Report a problem with this story

More in Tech

More from Saturday, 28 November 2026 →