Who Watches the Watchers? On the Reliability of Softwarizing Cloud Application Management

Jiawei Tyler Gu (University of Illinois Urbana-Champaign), Zhen Tang (University of Illinois Urbana-Champaign), Yiming Su (University of Illinois Urbana-Champaign), Bogdan Alexandru Stoica (University of Illinois Urbana-Champaign), Xudong Sun (University of Illinois Urbana-Champaign), William X. Zheng (University of Illinois Urbana-Champaign), Yue Zhang (Auburn University), Akond Rahman (Auburn University), Chen Wang (IBM Research), Tianyin Xu (University of Illinois Urbana-Champaign)

23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 2 · Debugging Distributed Systems

Overview

Modern cloud infrastructure relies heavily on softwarized management planes, where human operators and one-off shell scripts have been largely replaced by long-running automation programs known as operators. These operators manage the full lifecycle of complex distributed systems—such as PostgreSQL, MySQL, Kafka, and ZooKeeper—running on top of orchestrators like Kubernetes. However, as these management frameworks grow in complexity, the reliability of the software watching the cloud applications has become a critical vulnerability. When management software fails, the resulting incidents manifest as full application outages, severe performance degradation, and data loss.

Watch on YouTube · Slides

Visual summary for Who Watches the Watchers? On the Reliability of Softwarizing Cloud Application Management by Jiawei Tyler Gu, Zhen Tang, Yiming Su, Bogdan Alexandru Stoica, Xudong Sun, William X. Zheng, Yue Zhang, Akond Rahman, Chen Wang, Tianyin Xu
Visual summary for Who Watches the Watchers? On the Reliability of Softwarizing Cloud Application Management by Jiawei Tyler Gu, Zhen Tang, Yiming Su, Bogdan Alexandru Stoica, Xudong Sun, William X. Zheng, Yue Zhang, Akond Rahman, Chen Wang, Tianyin Xu

Key moments

  1. 0:00 Introduction and real-world Postgres operator failure example
  2. 2:05 Four external entities operators interact with
  3. 4:32 Study of 412 real-world operator failures
  4. 6:33 Four recurring patterns in application interaction failures
  5. 7:34 Deep dive into semantic violations and precondition bugs
  6. 10:29 Introducing Oat: automated testing tool for application interactions
  7. 14:00 Evaluation results and discovery of 86 new bugs

Who Watches the Watchers? On the Reliability of Softwarizing Cloud Application Management

Speakers: Jiawei Tyler Gu (University of Illinois Urbana-Champaign); Zhen Tang (University of Illinois Urbana-Champaign); Yiming Su (University of Illinois Urbana-Champaign); Bogdan Alexandru Stoica (University of Illinois Urbana-Champaign); Xudong Sun (University of Illinois Urbana-Champaign); William X. Zheng (University of Illinois Urbana-Champaign); Yue Zhang (Auburn University); Akond Rahman (Auburn University); Chen Wang (IBM Research); Tianyin Xu (University of Illinois Urbana-Champaign)

Conference: USENIX NSDI

YouTube: https://www.youtube.com/watch?v=HhgLw8K6iyA

Overview

Modern cloud infrastructure relies heavily on softwarized management planes, where human operators and one-off shell scripts have been largely replaced by long-running automation programs known as operators. These operators manage the full lifecycle of complex distributed systems—such as PostgreSQL, MySQL, Kafka, and ZooKeeper—running on top of orchestrators like Kubernetes. However, as these management frameworks grow in complexity, the reliability of the software watching the cloud applications has become a critical vulnerability. When management software fails, the resulting incidents manifest as full application outages, severe performance degradation, and data loss.

This talk, presented by Jiawei Tyler Gu at USENIX NSDI on behalf of researchers from the University of Illinois Urbana-Champaign, Auburn University, and IBM Research, investigates the root causes of reliability failures in cloud application management. The researchers present a comprehensive empirical study of 412 real-world operator failures across 13 mature Kubernetes operators. Their findings reveal a surprising blind spot: while prior systems and testing research has heavily targeted platform interactions and user interfaces, the largest category of operator failures—accounting for 42% of interaction-related bugs—stems from direct operator-to-application interactions.

To bridge this gap, the authors introduce Oat (Operator Application Testing), a fully automatic, push-button testing tool designed for unmodified Kubernetes operators. Oat models the operator's input space using a state-centric approach, synthesizing application-specific state decorations and injecting targeted runtime faults. Evaluated across six popular enterprise operators, Oat successfully uncovered 86 previously unknown bugs with zero false positives, demonstrating that manageability must become a first-class design principle in modern cloud-native systems.

Background

▶ Watch: Introduction and real-world Postgres operator failure example (0:00)

The systems and machine learning communities have witnessed a massive shift toward "softwarizing" infrastructure management. In traditional enterprise environments, provisioning, scaling, failovers, and backups were governed by human administrators executing runbooks or ad-hoc shell scripts. Today, cloud-native platforms like Kubernetes enforce a declarative model where custom controllers (operators) continuously reconcile the actual state of an application with its desired state.

While this automation increases velocity and reduces human error, it shifts the burden of reliability from human operators to software developers who write control loops. Operators must constantly interface with four distinct external entities:

  1. The Managed Application: Monitoring internal state via API endpoints, managing data directories, and modifying configuration files.
  2. The Cloud Platform: Requesting system resources, provisioning compute pods, attaching cloud storage volumes, and managing ConfigMaps.
  3. Co-located Operators: Interacting with shared cluster infrastructure, such as custom network policy controllers that inject sidecar containers, which can create implicit dependencies and race conditions.
  4. The User: Exposing declarative configuration interfaces (such as Custom Resource Definitions or CRDs) that dictate the desired application state.

While prior research has addressed platform interactions (via testing tools like Sieve and verification frameworks like Anvil), user interface boundaries (via Actor and DCM), and multi-operator interference (via KeVi and Mesh Test), the direct interaction between operators and the complex databases, message brokers, and runtimes they manage has remained largely unstudied. This lack of rigorous tooling and formal specification has led to brittle automation loops that frequently fail in production.

Key Findings

▶ Watch: Study of 412 real-world operator failures (4:32)

To understand why cloud operators continually fail in production, the research team conducted an empirical study analyzing 412 real-world operator failures gathered from 13 mature, widely deployed Kubernetes operators managing databases, streaming platforms, and platform runtimes.

The primary discovery of this analysis is that the vast majority of operator failures are rooted in external interactions rather than internal logical bugs in the operator code itself. Breaking down these interaction failures reveals a stark distribution:

  • Application Interactions: 42% (the single largest category)
  • Platform Interactions: 28%
  • User Interface Interactions: 18%
  • Co-located Operator Interactions: 12%

Within the 42% of bugs tied directly to application interactions, the authors identified four recurring failure patterns:

  1. Semantic Violation (64%): Operators violate the underlying semantic requirements and preconditions of application operations. For example, a PostgreSQL operator attempted a failover by promoting a standby replica that was still in a booting phase or suffered from excessive write-ahead log (WAL) lag, resulting in cluster unavailability or silent data loss.
  2. Application Configuration Issues: Failures involving configuration dependencies across nodes or internal modules of the managed application, such as a MinIO operator failing to consistently update membership lists during scale-up operations.
  3. Ordering Violations: Failures where multiple control operations possess strict execution dependencies that the operator fails to enforce, such as a MongoDB operator initiating a database backup before the backup configuration update has fully propagated.
  4. Environment Violations: Failures where the operator incorrectly provisions the execution environment for the application, such as creating data directories with overly permissive file permissions that violate runtime security requirements.

The deeper root cause behind these failures is that modern cloud applications lack formally specified management interfaces. Their operational constraints are scattered across ad-hoc manual pages, source code repositories, and FAQ sections. Operator developers—who are frequently distinct from the original application developers—must reverse-engineer these requirements, discovering edge cases only after causing production outages.

Technical Deep Dive

▶ Watch: Four recurring patterns in application interaction failures (6:33)

To address the lack of automated validation for operator-application interactions, the authors developed Oat, a testing framework that builds upon the state-centric operator testing methodology established in prior work (Actor).

Modeling the Input Space

Oat models an operator's input space as a tuple comprising the current application state ($S$) and a state decoration ($D$) that declares the user's desired state. The operator’s core control loop continuously attempts to reconcile the application from $S$ to $D$. Oat tests this feedback loop by applying novel state decorations on top of existing system states, chaining them into complex operation sequences to expose race conditions and logic flaws.

The design of Oat is motivated by two key insights derived from the empirical study:

  • 72% of state-decoration-triggered failures require application-specific properties: Standard generic inputs are insufficient; Oat must synthesize application-specific state decorations that reflect valid domain-specific configurations.
  • 41% of failures require injected application faults to manifest: Critical management operations (such as automated failovers) are dormant unless the primary application node crashes or network partitions occur.

The Oat Architecture and Workflow

The Oat workflow operates via three primary stages:

  1. Specification Synthesis: Given the application’s interface specification—defined in Kubernetes via Custom Resource Definitions (CRDs)—Oat automatically synthesizes application-specific valid state decorations. It accomplishes this by mining existing configuration examples from operator repositories and querying large language models (LLMs) to generate valid edge-case configurations. This populates a dynamic pool of state decorations.
  2. Execution and Fault Injection: Oat executes test campaigns by systematically applying synthesized state decorations on top of live application states. Concurrently, it injects targeted infrastructure and application faults, such as application container crashes, process hangs, and network partitions.
  3. Automated Oracles: Throughout the campaign, Oat monitors the system using automated oracles that cross-reference application health metrics, consistency checks, and operational invariants to flag bugs instantly without manual inspection.

Experimental Setup & Results

▶ Watch: Introducing Oat: automated testing tool for application interactions (10:29)

The researchers evaluated Oat on six mature, widely used Kubernetes operators managing complex distributed databases and stateful applications.

Across these six operators, Oat successfully uncovered 86 new, previously unknown bugs with a zero false positive rate.

| Evaluation Metric / Category | Findings |

| :--- | :--- |

| Total Operators Tested | 6 mature enterprise operators |

| Total New Bugs Discovered | 86 bugs |

| False Positive Rate | 0% |

| Bug Distribution Coverage | Covered every single interaction pattern identified in the empirical study, with semantic violations representing the majority |

The evaluation demonstrates that Oat is fully capable of exercising edge-case behaviors—such as improper replica promotions, split-brain scenarios during scaling events, and invalid configuration propagation—that previously required catastrophic production incidents to discover. Many of these newly discovered bugs have already been confirmed and patched by upstream developers.

Practical Implications

▶ Watch: Evaluation results and discovery of 86 new bugs (14:00)

The findings and tools presented in this work carry significant implications for infrastructure engineers, platform teams, and application developers:

  • Manageability as a First-Class Citizen: Cloud applications can no longer treat management interfaces as an afterthought. Developers must design software with robust, formally specified control APIs rather than relying on brittle, ad-hoc execution paths.
  • Preparing for AI-Driven Operations: As the industry transitions toward replacing rule-based operators with autonomous AI agents for cloud management, the lack of formal management interfaces poses an extreme risk. Without strict, machine-readable specifications and guardrails, autonomous agents will inevitably trigger catastrophic semantic violations at scale.
  • Adopting Automated Testing: Infrastructure teams maintaining custom operators should integrate state-centric, fault-injecting testing harnesses like Oat into their continuous integration (CI) pipelines to catch interaction and semantic violations prior to production deployment.

Tradeoffs and Limitations

While Oat achieves high efficacy in uncovering latent operator bugs, its effectiveness depends on the quality of the synthesized state decorations and the coverage of the application interface specifications (such as CRDs). Furthermore, executing exhaustive state-transition test campaigns with active fault injection introduces substantial compute overhead and test duration, requiring careful resource allocation in staging environments.

Key Takeaways

  • Management Plane Fragility: Management software ("operators") is a major source of production outages in cloud-native environments, with direct application interactions accounting for 42% of interaction-related failures.
  • Semantic Violations Dominate: 64% of application-interaction failures stem from operators violating the underlying semantic preconditions of management operations (e.g., promoting booting or lagging database replicas).
  • Ad-Hoc Interfaces Are Broken: Cloud applications severely lack well-specified management interfaces, forcing operator developers to reverse-engineer undocumented operational requirements.
  • Automated Testing via Oat: Oat successfully bridges this gap by combining state-centric operator testing, automated LLM-assisted state decoration synthesis, and targeted application-level fault injection.
  • High Empirical Success: Testing six mature enterprise operators with Oat revealed 86 new bugs with zero false positives.
  • Future Safeguards for AI Agents: As autonomous AI agents begin replacing rule-based operators, formalizing cloud management interfaces is mandatory to establish safety guardrails against catastrophic failures.

About the Speaker(s)

Jiawei Tyler Gu is a researcher at the University of Illinois Urbana-Champaign (UIUC) working within systems and software reliability, co-authoring this research alongside colleagues from UIUC, Auburn University, and IBM Research under the supervision of Professor Tianyin Xu.

Reviews

→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)

All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)