Incident Library

IL-0531 Microsoft Azure · 2024-04-19azuredatabasenetworking

Azure Database for MySQL Single Server and MariaDB in West US rejected every new connection for a batch of servers

All connections to Azure Database for MySQL - Single Server and Azure Database for MariaDB go through a gateway that routes each incoming connection to its server. The gateway runs on a group of stateless compute nodes behind one IP address. The hardware of the gateway is refreshed from time to time: a new ring of gateway nodes with a different IP address is built first, customers are told by email and in the Azure portal to allow the new gateway IP in their outbound rules, and once the new ring works, the DNS for existing servers is updated so that new client connections go to the new ring and the old hardware can be decommissioned.

On 19 April 2024 this move was scheduled for existing servers in West US. At 04:26 UTC the DNS update was made for a batch of MySQL and MariaDB servers, but because of a procedural error the new connections went to a newly built gateway ring whose configuration was incomplete. That ring was not ready to accept connections, logins failed at the gateway, and the gateway rejected every new incoming connection to those servers. The ring also had no telemetry or monitoring configured yet, so the failure was not detected from service telemetry until Azure Databricks reported unreachable databases at 04:46 UTC. The MySQL on-call engineers found the databases healthy at 05:14 UTC, the networking team joined at 05:44 UTC, and at 06:46 UTC the issue was correlated with the gateway move and the rollback began. The incident was mitigated at 07:30 UTC, when the change had been fully rolled back and, after validation, all connections had moved back to the previous working gateway ring. Azure Databricks, which depends on the database service, had failed logins, jobs and queries in West US, West US 2 and South Central US during the same period.

Severity
–
Scope
All new connections to a subset of Azure Database for MySQL - Single Server and Azure Database for MariaDB servers failed; Azure Databricks workspace logins, authentication, cluster operations, jobs, UI and Databricks SQL queries, SQL Serverless Warehouses and UC APIs failed or timed out
Users affected
A subset of Azure Database for MySQL - Single Server and Azure Database for MariaDB customers, and Azure Databricks customers
Region
West US; Azure Databricks in West US, West US 2 and South Central US
Time to detect
20m
Time to resolve
3h 4m

Symptoms

From 04:26 UTC on 19 April 2024, every new connection to a subset of Azure Database for MySQL - Single Server and Azure Database for MariaDB servers in West US failed, and retries did not help. The first report came at 04:46 UTC from Azure Databricks, which told the MySQL team that multiple databases were unreachable.

Azure Databricks depends on the affected database service, so Databricks customers in West US, West US 2 and South Central US saw workspace login and authentication requests fail or time out. Cluster CRUD requests and jobs that needed a cluster to start, resize or terminate did not run, jobs submitted through APIs or schedulers did not run, UI and Databricks SQL queries timed out, Databricks SQL Serverless Warehouses failed to launch and UC APIs could not be reached. The errors cited "Authentication is temporarily unavailable" or "TEMPORARILY_UNAVAILABLE".

At 05:14 UTC the MySQL on-call engineers found that the databases themselves were healthy but no connections were reaching them. The networking team joined at 05:44 UTC. Service telemetry showed nothing, because the gateway ring that received the connections was not fully configured and had no telemetry or monitoring yet. At 06:46 UTC the failures were linked to the move of traffic to a new gateway ring.

Symptom Service outageIntermittent timeouts

Root cause

Trigger
At 04:26 UTC, during planned maintenance in West US, the DNS update that moves new incoming connections for a batch of MySQL and MariaDB servers to a new gateway ring was made, and a procedural error pointed it at a newly built gateway ring whose configuration was incomplete.

Detection

Service telemetry did not detect the failure because the new gateway ring had no telemetry or monitoring configured yet. At 04:46 UTC Azure Databricks reported to the MySQL team that multiple databases were unreachable.

Remediation

Action items

Lessons

–

Sources

References

Related cases

Check your cluster for this

kubegap audits a Kubernetes cluster for conditions like the ones in this case, Database, Authoritative DNS servers and records among them, read-only, from Claude Code or Codex. Its checks cite public reports like this one.

For AI tools and scripts

The API needs no key. The MCP server offers search_incidents, get_incident, list_incidents, get_topic and vocab; both are explained on API and MCP.