Verifying and troubleshooting day-0¶
Day 0 reaches four states in order, and each is checked against the component that owns it. Because the phases are ordered, the first failing check names the phase to work on and clears the ones before it.
curl -fsS "${CP_CLI_ENDPOINT}/v1/system/health/readiness" >/dev/null && echo "1 control plane ok"
xratu auth whoami | jq -e '.actor_id != "system"' >/dev/null && echo "2 actor resolved"
xratu dataplane pool list ${ORG} | jq -e 'length >= 1' >/dev/null && echo "3 pool recorded"
xratu get dataplanes | jq -e 'length >= 1' >/dev/null && echo "4 nodes registered"
In this section¶
- A healthy day-0 covers the observable form of each of the four states, and the command that reads it.
- Failure modes covers the six classes of day-0 failure and how each announces itself.
- Where to look when a step fails covers the triage order and what each phase's evidence points at.
Walkthrough¶
- Run the day-0 verification checks confirms control-plane health, the resolved actor, enrollment authority, and node and enrollment status.
- Collect kernel diagnostics takes a status snapshot from a project runtime's kernel and opens a time-boxed trace, capability trace or worker log window.
The two things that decide where to look¶
A refusal names its condition; a stall names nothing. A reason code or a
503 message identifies the component that answered and the check it applied.
A timeout means no component was reached, which makes it a path question.
Phases are ordered. Each check reads a different component, so the first failing check names the phase to work and the checks before it are already proven.