Graph
Cases4 cases
1 to 4 of 4
IL-0508All SourceHut services went down when the main database server remilia.sr.ht failed in hardware and became unreachableSourceHut2023- Symptoms
At about 13:40 UTC on 11 January 2023, alerts started firing for most SourceHut services being unavailable, along with one for remilia.sr.ht, the physical host that is SourceHut's main database server. The database server could not be reached remotely at all.
- Trigger
remilia.sr.ht, the main database server, suffered a hardware failure at about 13:38 UTC.
- Root cause
- Component
- Contributing factor
- Detection
Alerts fired at about 13:40 UTC for most services and for remilia.sr.ht itself, after Prometheus started failing to scrape remilia at 13:38.
- Remediation
- Sent SourceHut's emergency on-call contact in the datacenter area to go on site
- Moved remilia's disks into the chassis of build worker cirno1.sr.ht and brought it online as remilia
- Action items
- Make the off-site database copy able to serve as a failover database host
- Re-prioritize the migration to the EU
- Set up new database failover
- Add a new EU build worker to backfill build capacity
- Record a better hardware inventory for future reference
IL-0370Render Postgres databases in Frankfurt were down up to 65 minutes as their disks stayed attached to a failed nodeRender2022- Symptoms
At 08:30 UTC on 23 May 2022, every user Postgres database on one node in Render's Frankfurt region went completely down after the node, supplied by Render's external cloud provider, had a hardware issue and failed its status check. The database instances could not start on a healthy node because their disks were still attached to the failed node.
- Trigger
A node supplied by Render's external cloud provider had a hardware issue and failed its status check at 08:30 UTC on 23 May 2022.
- Root cause
- Component
- Contributing factor
- Detection
An alert that fires when databases have been stuck in one state while starting up for at least 15 minutes paged the on-call engineer automatically at 08:57 UTC.
- Remediation
- Manually terminated the failed node at about 09:27 UTC so the disks could attach to healthy nodes
- Action items
- Create an alert that fires sooner than the current 15-minute startup alert
- Make it easier to identify the correct corrective action, and eventually automate it
- Review incident procedures so the status page reflects reliability accurately
- Build high availability for Postgres so a primary's node hardware failure causes minimal downtime
- Lessons
Hardware issues are rare but expected, so Render's mitigations aim at detecting them sooner and shortening the time to resolve them.
IL-0289A failing SSD made updown.io's primary MongoDB about 200 times slower, no failover happened and the site went downupdown.io2019- Symptoms
At 2:30 am CEST on 3 April 2019, the primary MongoDB server of updown.io started answering queries about 200 times slower than usual, and the website and the monitoring daemons went almost completely down.
- Trigger
One of the three SSDs in the primary MongoDB server's RAID5 array began to fail, slowing the server's IO without taking the server down.
- Root cause
- Component
- Contributing factor
- –
- Detection
The founder, who was asleep when the slowdown began, noticed the problem at 8:45 am CEST and found the IO performance issue by inspecting the primary server.
- Remediation
- Forced the primary to step down after making sure the secondary was ready to take over
- Took the failing SSD out of the RAID array, which restored the old primary's performance
- Asked the hosting provider to replace the SSD
- Replaced the less powerful secondary with a more powerful server
- Action items
- Write a script that detects when MongoDB is up but not responsive and forces a step-down automatically
- Shut down and delete the old secondary once nothing is left to investigate on it
- Make sure the new secondary can run as primary for several days
- Test the automatic step-down script once the primary server is healthy again
- Provide a proper status page for updown.io
- Replace the custom script with MongoDB's Storage Node Watchdog
IL-0219GoCardless's API and Dashboard failed every request for 1 hour 50 minutes when Pacemaker did not promote a replicaGoCardless2017- Symptoms
At 15:09 BST on 10 October 2017, GoCardless's monitoring detected a total outage of its API and Dashboard: every request failed and returned an error. By 15:11 engineers saw evidence of a disk array failure on the primary Postgres node, but the Pacemaker cluster had not failed over to the synchronous replica as it should have.
- Trigger
The RAID controller of the primary Postgres node lost 3 disks of its array at once, so all reads and writes on the primary failed.
- Root cause
- Component
- Contributing factor
- Detection
GoCardless's monitoring detected the total outage of the API and Dashboard at 15:09 BST, and engineers began investigating.
- Remediation
- Powered off the broken primary Postgres node
- Cleared the Pacemaker error counts with crm resource cleanup, which had no effect
- Edited recovery.conf on the synchronous replica under maintenance mode several times, which Pacemaker reverted
- Put the cluster into maintenance mode, configured the synchronous replica as primary and started Postgres by hand
- Reconfigured the backend applications to connect to the new primary's actual IP address
- Bootstrapped a third node as an asynchronous replica
- Added a VIP managed by hand by the infrastructure team for manual failover
- Verified data integrity and found no corruption
- Migrated to a new Pacemaker-managed database cluster in a maintenance window and decommissioned the old one
- Action items
- Express the Backup VIP rule as an INF preference for a replica instead of a -INF preference against the primary
- Replace the VIPs with proxies on the application servers that route traffic by the state of the cluster
- Run harsher fault injection tests of the Postgres cluster and consider automation that injects failures continually
- Consider adding arbitrary restrictions to game day exercises, such as automation that has failed and a problem that cannot be diagnosed, so engineers practise bringing the service back another way
- Lessons
A rule that two resources must not run together does not behave like the opposite of a rule that they must run together, and in some failure conditions the difference stopped Pacemaker from promoting a replica. A misconfiguration that shows only when two processes crash at almost the same time will not appear in basic tests or daily operations, only through fault injection. After two years in which the automation had handled every failure, the team's skill at controlling the cluster by hand had faded, and a runbook unused for years would likely have been out of date.
These 4 cases involve Database and Database failover manager. kubegap audits a Kubernetes cluster for gaps like these, read-only, from Claude Code or Codex; its checks cite public reports like the ones in this library.
By root cause1
Hardware failure4 cases
- Contributing factor
- Organisation
IL-0508All SourceHut services went down when the main database server remilia.sr.ht failed in hardware and became unreachableSourceHut2023IL-0370Render Postgres databases in Frankfurt were down up to 65 minutes as their disks stayed attached to a failed nodeRender2022IL-0289A failing SSD made updown.io's primary MongoDB about 200 times slower, no failover happened and the site went downupdown.io2019IL-0219GoCardless's API and Dashboard failed every request for 1 hour 50 minutes when Pacemaker did not promote a replicaGoCardless2017