Cases2 cases
1 to 2 of 2
IL-0131A new kind of GenerateContent request made Vertex AI prediction API servers segfault, and once enough of them restarted at the same time the serving fleet could not carry the loadGoogle Cloud2024- Symptoms
From 12:06 US/Pacific on 12 June 2024, services built on Vertex AI Prediction began reporting failed user requests in eight regions: us-central1, asia-southeast1, europe-west3, europe-west4, us-east1, us-west1, northamerica-northeast1 and us-east4.
- Trigger
Starting on 8 June 2024, a new form of user request to the GenerateContent API caused intermittent segmentation faults in the Vertex Serving Prediction API servers; on 12 June the rate of such requests increased.
- Root cause
- Component
- Contributing factor
- Detection
Internal production monitoring alerted engineers to the segfaults on 10 June 2024 at 07:35 US/Pacific, before any visible customer impact; on 12 June services built on Vertex Prediction reported failing user requests.
- Remediation
- confirmed the new failures came from the same segfault found on 10 June
- accelerated the rollout of the fix that was already in progress, completed at 15:59 US/Pacific
- Action items
- Ensure early signals of server binary issues are captured in production health analysis and investigated in time
- Ensure release validation of feature changes and updates in production
- Lessons
A crash that only some requests trigger can stay invisible while load balancers route around the restarting servers. It becomes an outage when the share of such requests grows until too many servers are restarting at once. Here the cause was known and a fix was rolling out two days before customers were affected, but the progressive rollout had not finished when the triggering traffic increased; Google's follow-up is to investigate early signals of server binary issues in time.
IL-0115One of OpenAI's three production AKS clusters went offline through a human error, and rebuilding it took 10½ hours because an AKS Kubernetes upgrade broke the ingress and AKS cannot be downgradedOpenAI2022- Symptoms
At 18:56 PDT on 23 June 2022 (01:56 UTC on 24 June) several models went offline at once: some fine-tuned curie and davinci models, the Codex beta models code-davinci-001 and code-cushman-001, the legacy GPT models curie, babbage and ada, and all Embeddings models.
- Trigger
A destructive operation on one of the three production clusters, caused by human error that the existing safeguards did not catch, took the whole cluster offline.
- Root cause
- Component
- Contributing factor
- Remediation
- re-allocated the models from the lost cluster to the remaining two clusters
- rebuilt the VPN link with Azure support after losing the connection to AKS during cluster setup
- built workarounds with Azure support after losing the connection to Azure Private Link
- tore down the cluster and rebuilt it from scratch after the upgraded Kubernetes version broke the ingress
- moved traffic back into the rebuilt cluster between 05:30 and 06:30 PDT
- Action items
- Add checks and locks so that this and similar production-critical infrastructure cannot be modified by accident
- Add better visibility into the operations being performed and make parts of the system more lexicographically distinct
- Keep working with Azure on the AKS network connectivity issues so they do not disrupt new cluster operations
- Update playbooks with the new cluster failure modes and change the setup steps for new clusters and infrastructure
- Upgrade Kubernetes systematically and set aside time so the clusters do not fall behind again
- Shard fine-tuned models across multiple clusters and work towards more automatic cross-cluster replication
- Distribute and replicate Azure Blob Storage so fine-tuned models load faster and more reliably
- Finish rolling out node-to-node caching to relieve Azure Blob Storage bottlenecks
- Change how model weights are stored so they are more efficient and faster to load
- Lessons
Losing one of three clusters exhausted the GPU headroom, and GPUs could not be added on short notice, so full recovery depended on bringing the same cluster back. Rebuilding it exposed a deferred Kubernetes upgrade: the newer version broke the ingress, and because AKS cannot downgrade there was no way back except a full rebuild. Recovering many large models at once is limited by the bandwidth of the storage they load from, and the caches that normally hide this do not help when everything moves to a different cluster.
These 2 cases involve Cloud load balancer and Model inference server. 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 cause2
Software defect1 case
- Contributing factor
- Organisation
Operator error1 case
- Component
- Contributing factor
- Organisation