Skip to content

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

Walkthrough

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.