Issue with Event Processing and Duplicate Notifications

Severity: Major
Category: Bug
Service: PagerDuty

This summary is created by Generative AI and may differ from the actual content.

Overview

On July 12th, 2024, between 22:30 UTC and 23:42 UTC, PagerDuty experienced an operational incident that impacted event ingestion and notifications in the EU service region. The US service region was unaffected by this incident. During this incident, our notification system was unable to receive completion callbacks from our messaging vendors, resulting in duplicate notifications and potentially delayed subsequent notifications across SMS, email, voice, and Slack. In addition, events sent directly to our EU endpoints were not successfully processed, returning a '502 (Bad Gateway)' response to affected customers.

Impact

The incident affected event ingestion and notifications in the EU service region, causing duplicate notifications and potentially delayed subsequent notifications across various channels. Events sent directly to EU endpoints were not processed, returning a '502 (Bad Gateway)' response. The US service region was unaffected.

Trigger

A latent bug in the new load-balancing software configuration affected how the HTTP service was managed on the load balancers, causing the system to lose track of the underlying process ID and incorrectly marking the active service as inactive.

Detection

Signs of degraded customer impact were observed approximately 30 minutes after the load balancers were replaced, leading to the detection of the incident.

Resolution

The issue was resolved by reverting to the previous configuration and provisioning new load balancers with that configuration state. Signs of recovery began to appear at 23:07 UTC, and full recovery was achieved at 23:42 UTC after all load balancers had been replaced.

Root Cause

A latent bug in the new load-balancing software configuration, combined with coincidental changes in the Kubernetes clusters that caused IP address changes, led to the load balancers being unable to update their configuration, resulting in '502 (Bad Gateway)' responses.