Where to look when a step fails¶
Each phase depends on the one before it, so the first failing phase is the one to work.
flowchart TB
Q1{"Control plane<br/>answers readiness?"}
Q1 -->|no| F1["Phase 1"]
Q1 -->|yes| Q2{"actor_id<br/>is not system?"}
Q2 -->|no| F2["Phase 2"]
Q2 -->|yes| Q3{"Pool listed<br/>for the organization?"}
Q3 -->|no| F3["Phase 3"]
Q3 -->|yes| Q4{"Nodes<br/>registered?"}
Q4 -->|no| F4["Phase 4"]
Q4 -->|yes| OK["Day 0 complete"]
The triage order¶
curl -fsS "${CP_CLI_ENDPOINT}/v1/system/health/readiness" >/dev/null && echo "1 ok"
xratu auth whoami | jq -e '.actor_id != "system"' >/dev/null && echo "2 ok"
xratu dataplane pool list ${ORG} | jq -e 'length >= 1' >/dev/null && echo "3 ok"
xratu get dataplanes | jq -e 'length >= 1' >/dev/null && echo "4 ok"
The first line that does not print is where to start.
| First failing check | Read | Then |
|---|---|---|
| 1, readiness | The 503 message, which names one invariant |
Finalization invariants and fail-closed startup |
| 2, actor | The 403 from the exchange, or whether the token reached the profile |
External identity exchange |
| 3, pool | Whether reconcile ran for this organization | Bootstrap reconcile |
| 4, nodes | The init container's logs on the first node | Diagnosing a node that will not enroll |
Phase 1: the control plane¶
A 503 naming an invariant is a configuration answer, and the message says
which one. A rollout that never completes is a cluster answer: image, resources
or scheduling. A readiness that passes from inside the cluster and fails from
your workstation is an exposure answer, and the CLI profile is where the
endpoint is set.
| Observed | Points at |
|---|---|
503 with an invariant message |
The named condition |
| Rollout stuck, containers restarting | Image, resources or configuration |
| Reachable in-cluster, unreachable from the CLI | Exposure and the active profile |
Phase 2: identity and tenancy¶
xratu config view shows which endpoint and token the active profile carries.
xratu auth config-get shows the control plane's auth posture, which decides
whether the exchange is admitted at all.
| Observed | Points at |
|---|---|
403 cloud token exchange is disabled |
The control plane's posture |
403 unable to resolve actor from external token |
Issuer and audience allowlists, or the wrong provider |
Exchange succeeds, actor_id stays system |
The token did not reach the active profile |
Phase 3: enrollment authority¶
Both commands are control-plane-only and need no node, so a failure here is tenancy or authorization rather than infrastructure. Reconcile before minting: every reconcile advances the organization's governance revision, and an invitation is redeemable only at the revision current when it was minted.
Phase 4: nodes¶
Start at the first node rather than the installation:
kubectl -n ${DP_NS} get pods
kubectl -n ${DP_NS} logs ${DP_INSTALL}-0 -c xratud-enrollment-bootstrap
The init container's log carries the reason code when the control plane refused, and nothing when the control plane was never reached. The stages are worked in order in Diagnosing a node that will not enroll.
When every check passes¶
A node that is enrolled and healthy but receives no work is a placement question rather than a day-0 one. See Failure modes.
A project runtime that never becomes ready is the kernel lane: identity, trust bundle revision or ownership. That belongs to the first deployment after day 0. See Collect kernel diagnostics.