Skip to content

Reconcile tenant-scoped bootstrap authority

What you will end up with

An organization holding an enrollment governance record, with every digest a node will later verify against, and the ability to create pools and mint invitations for it.

Prerequisites

export ORG=acme

Confirm the actor before you start, because the bootstrap operator guard rejects the system fallback:

xratu auth whoami | jq -e '.actor_id != "system"' >/dev/null && echo "actor resolved"

Before you run it

Reconcile increments governance_revision, and an invitation is only redeemable against the revision current when it was minted. If invitations are outstanding for this organization, they stop being redeemable when this command succeeds. Run it before minting, and mint again afterwards.

1. Reconcile

Capture the response, because it is the record of what was written and each run advances the revision:

RECONCILE=$(xratu bootstrap reconcile "${ORG}")
echo "${RECONCILE}"

The CLI resolves the organization name to its UUID and sends that as tenant_scope.

Expected output

{
  "status_code": 200,
  "body": {
    "status": "reconciled",
    "tenant_scope": "6f2a7c3e-1b54-4a29-9f0d-7c83b1e5a412",
    "transport_protocol_version": "dataplane.v1",
    "assignment_schema_version": "assignment.v1",
    "runtime_actor_id": "service-account:dataplane-runtime",
    "trust_bundle_revision": "bundle-4c1f9a2b7e03",
    "trust_bundle_digest": "sha256:91c4...",
    "controlplane_hash": "sha256:2ad7...",
    "dataplane_hash": "sha256:be05...",
    "policy_revision": "policy-4c1f9a2b7e03d518",
    "policy_source_spec_digest": "sha256:4c1f9a2b7e03d518...",
    "cp_instance_uuid": "cp-8f21c6d40b9e4a57",
    "cp_identity_revision": "1",
    "governance_revision": 1,
    "reconciled_by_actor": "user:alice@acme.example",
    "reconciled_at": "2026-09-18 11:02:47"
  }
}

governance_revision is 1 on a first reconcile and one higher on each subsequent run.

On success the CLI also writes this organization into your active profile, so later commands inherit the scope.

2. Verify

Three checks.

The response reports reconciled and carries every digest. These are the values a node verifies against, so record trust_bundle_digest, controlplane_hash and dataplane_hash for comparison during a later enrollment investigation.

echo "${RECONCILE}" \
  | jq -e '.status_code == 200 and .body.status == "reconciled"' >/dev/null \
  && echo "governance reconciled"

echo "${RECONCILE}" | jq -r '.body.governance_revision'

Both read the captured response from step 1, which keeps the revision where step 1 left it.

The active profile carries the organization.

xratu config view --show-ids

The authority works. The governance record is consumed inside the control plane, so the direct proof is that an operation requiring it now succeeds. Create a pool and mint an invitation:

xratu dataplane pool create "${ORG}" edge-eu
xratu dataplane invitation create "${ORG}" edge-eu

A successful mint proves the record exists, its tenancy policy is activated, and the organization is within both quotas. It also stamps the current governance_revision onto the invitation. See Invitations and enrollment.

If it fails

Symptom Cause Fix
403 forbidden: non-system bootstrap operator actor required The request resolved to the system actor Fix authentication; xratu auth whoami must report a real actor
403 forbidden: bootstrap operator token authentication required The actor arrived without token authentication Authenticate with a token or a service-account token
404 DATAPLANE_ENROLLMENT_TENANT_SCOPE_NOT_FOUND The organization UUID has no record Confirm the name with xratu get organizations
403 DATAPLANE_ENROLLMENT_TENANT_SCOPE_FORBIDDEN The actor holds no binding in the organization Have an owner bind you. See Bind additional RBAC
409 ... runtime_actor_id is required First-install bootstrap has yet to run Activate the control-plane bootstrap specs first. See Bootstrap boundaries
organization not found by name or uuid: acme Resolution failed in the CLI before any request was sent The organization does not exist, or you hold no binding in it
Mint later fails 409 ... invitation governance revision is stale Reconcile ran after that invitation was minted Mint a new invitation

The first two are the ones to check first. Both guards run before anything about the organization is examined, so an authentication problem surfaces here as a bootstrap operator error rather than as a missing organization.

What changed

Object State
dataplane_tenant_governance One row for this organization, governance_revision advanced
Trust bundle Built over the control-plane and data-plane document hashes, digest stored
Tenancy policy The deployment's values recorded against this organization
Outstanding invitations Redeemable only at the new revision
Audit system.dataplane_enrollment.tenant_governance.reconcile recorded
Local profile organization and organization_uuid set to this organization

Next

Data plane pools creates the placement group, then Invitations and enrollment brings the first node in.