Skip to content

Failure modes

Day-0 failures fall into six classes, and each announces itself differently.

Class Announced by Phase
Fail-closed startup 503 from the control plane, with a named invariant 1
Identity exchange refusal 403 from xratu auth exchange 2
Governance missing A reason code naming governance or trust 2, 3, 4
Enrollment refusal A DATAPLANE_ENROLLMENT_* reason code in the init container 4
Reachability A timeout or connection error, with no reason code Any
Placement invisibility Success everywhere, and no work dispatched After 4

Fail-closed startup

A finalized control plane checks its invariants on startup and readiness, and refuses to serve when any fails. The response is 503 and the message names the check.

Message Condition
finalized control-plane runtime requires postgres backend; observed db_backend=... The backend is not postgres
finalized control-plane runtime requires auth.runtime_shared_secret No runtime shared secret is configured
finalized control-plane runtime requires active immutable cp identity latch The latch record is unreadable
finalized control-plane runtime backend drift detected; latched=... observed=... The environment no longer matches what was latched
finalized control-plane runtime store profile drift detected; latched=... observed=... The profile no longer matches what was latched
finalized control-plane runtime requires immutable deployment mode latch No deployment mode latch exists
finalized control-plane runtime requires active trust lifecycle metadata No active trust bundle exists

Drift messages name a mismatch between a latched value and an observed one. The latch is immutable, so the environment is what moves back. See Finalization invariants and fail-closed startup.

Identity exchange refusal

Both are 403, and they mean different things.

Message Condition Next
cloud token exchange is disabled The control plane's auth posture forbids the exchange xratu auth config-get
unable to resolve actor from external token The token is not one the control plane accepts for that provider Check issuer and audience allowlists

A successful call that leaves actor_id as system is a third case: the exchange returned, and the token was not set on the active profile. Re-run with --set-token --set-actor. See External identity exchange.

Governance missing

Enrollment authority is per organization and carries a revision. Three surfaces refuse when it is absent or stale, with reason codes that name it.

Reason code Where Condition
TRUST_BUNDLE_ACTIVE_CONTRACT_MISSING Control-plane readiness No active bootstrap trust bundle
TRUST_BUNDLE_SIGNER_REVOKED Control-plane readiness The active signer is compromised and the cutover has passed
TRUST_BUNDLE_UNAVAILABLE Node discovery The tenant's bootstrap authority has no bundle
DATAPLANE_ENROLLMENT_DISCOVERY_REQUIRED Node init container The organization's governance is unreconciled
DATAPLANE_ENROLLMENT_TRUST_CHAIN_INVALID Node init container The invitation predates the current governance revision

Reconcile advances the revision, which makes outstanding invitations unredeemable. Reconcile first, then mint. See Bootstrap reconcile.

Enrollment refusal

A node that reaches the control plane and is refused carries a DATAPLANE_ENROLLMENT_* code naming the reason: an unknown or consumed invitation, a label already held by another active installation, or a missing pool. Each has its own fix, and they are worked in order in Diagnosing a node that will not enroll.

Reachability

This class is identified by what is absent: a timeout, a connection error, or a pod waiting in Init with no message. No component issued a refusal, because no component was reached.

Symptom Path
CLI cannot reach the API Workstation to the control-plane endpoint
Init container waits, then fails on timeout Cluster to the control-plane endpoint
ImagePullBackOff Node to its registry
Node registers, then goes quiet Node to the control plane, after enrollment

The init container waits up to 900 seconds for the control plane, so a pod in Init with no error is waiting rather than failing.

Every link in the system is a configured endpoint rather than a discovered one, so a reachability failure points at one link. See Component topology.

Placement invisibility

Every check passes, the node is listed and healthy, and no work is dispatched to it. The node reports no approved runtime namespace, so placement has no candidate.

grep -A3 scheduler_authority install/${DP_INSTALL}/install.input.yaml

An empty project_runtime_namespaces is the cause. Add the namespaces, re-prepare and re-apply. See Pools, tenant scope, and placement.

Telling a refusal from a stall

Refusal Stall
Carries a reason code or message Yes No
Reached the component that answered Yes No
Repeats identically on retry Yes Sometimes clears
Fixed by The named condition The path between two components