The enrollment identity set¶
A node carries four identities, and they change on different schedules. Keeping them apart is what lets the control plane tell a restart from a replacement, and lets a credential be fenced to one process without disturbing the node it runs on.
The four, and what changes when¶
flowchart TB
INST["dataplane_installation_uuid<br/>the installed node"]
DP["dataplane_uuid<br/>the logical data plane"]
ENR["enrollment_uuid<br/>one join lifecycle"]
INSTX["dataplane_instance_uuid<br/>the running process"]
INST --> DP
DP --> ENR
ENR --> INSTX
| Identity | Issued by | Changes when | Exists for |
|---|---|---|---|
dataplane_installation_uuid |
The node, persisted to durable storage | The node is rebuilt from scratch | Proving the installed node is the same one, which is what makes enrollment idempotent |
dataplane_uuid |
The control plane | A new installation enrolls | Reasoning about one logical data plane over time |
enrollment_uuid |
The control plane | A new enrollment lifecycle begins | Audit and history of join, revoke, retire and continuity |
dataplane_instance_uuid |
The running process | Every process lifecycle | Fencing, runtime credential binding, replay-safe runtime identity |
Read the table top to bottom as decreasing lifetime. The installation outlives the logical data plane, which outlives an enrollment, which outlives the process currently running.
Why they are separate¶
A restart is not a replacement. The process identity changes on every start.
If that were the node's identity, every restart would look like a new node, and
the control plane could not tell an ordinary bounce from a machine being
replaced. The installation identity is what stays constant, so the control plane
reuses the same dataplane_uuid when it sees it again.
A credential is fenced to one process. The runtime credential is issued against the instance identity, so a credential from a previous process is not valid for the current one. That is what makes stale runtime state safe to discard.
An audit trail needs its own subject. Join, revoke, retire and continuity events attach to the enrollment, so the history of how a node came and went survives the node itself.
Where each one comes from¶
The node supplies its installation identity and its instance identity when it exchanges. The control plane supplies the rest:
| Field | Sent by the node | Returned by the control plane |
|---|---|---|
dataplane_installation_uuid |
Yes, required | Echoed |
dataplane_instance_uuid |
Optional; generated when absent | Echoed |
node_label |
Yes | Echoed |
dataplane_uuid |
Issued or reused | |
enrollment_uuid |
Issued |
An exchange with no installation identity is refused as an invalid request, because without it the control plane has no basis to decide between continuity and a new node.
Where they live on the node¶
All four are written to durable storage under /var/lib/xratu/identity, in the
bootstrap seed the exchange returns. That directory surviving a restart is what
makes the next start a continuation rather than a new join. See
Identity continuity.
Where the node label sits¶
node_label is the fifth value in the exchange and sits outside this set, as
operator-visible metadata used for mapping invitation files and for debugging.
The canonical identity is dataplane_uuid. See Node labels.
Next¶
- Re-enrollment and idempotency for what happens when a node exchanges again.
- Identity continuity for the durable state that makes it possible.