Drop artifact-store-tools' controller client; the provisioner client reads placement
The controller is not placed and its assignments mirror is frozen (ADR 0590). artifact-store-tools already answers through the seat's holder, so its controller client goes. mesh-provisioner-client reads the seat mesh-placement's placement, which its account is granted whole: a module placed here stays while the seat holds no plan of it, filled from its last plan, and leaves only when neither names it (issue 1126 B12). Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
This commit is contained in:
@@ -3,16 +3,15 @@
|
||||
Holds the `node-provisioner` seat on every node: the provisioner's client (novox/hq ADR 0349 clauses 3 to 5, design 57
|
||||
P5). Go, one binary (`cmd/mesh-provisioner-client`), run as a service of its own under the account
|
||||
`mesh-provisioner-client`, outside the tool runner, on a bus account of its own, `provisioner.<node>`, delivered as
|
||||
its own secret `provisioner-broker` (mesh-controller `internal/broker/provisioner.go`). The bus grants that account
|
||||
its own machine's keys and, to read alone, the seat mesh-provisioner's whole `plans` and the controller's whole
|
||||
assignments mirror, where a provider's consumers on any machine are bound to it (ADR 0373); nothing else.
|
||||
its own secret `provisioner-broker` (mesh-sdk `buscompose/provisioner.go`). The bus grants that account its own
|
||||
machine's keys and, to read alone, the seat mesh-provisioner's whole `plans`, where a provider's consumers on any
|
||||
machine are bound to it (ADR 0373), and the seat mesh-placement's whole `placement`; nothing else.
|
||||
|
||||
## What it does
|
||||
|
||||
For each module placed on its node — a plan in the seat mesh-provisioner's `plans` (`mesh-provisioner_plans`,
|
||||
`<node>.<module>`, novox/hq ADR 0570 clause 2), or, for a module the seat holds no plan of, until the controller hands
|
||||
its lease away, an assignment in `mesh-controller_assignments` whose value carries a `provisioning` plan; a module
|
||||
leaves only when neither places it: the templates archive
|
||||
`<node>.<module>`, novox/hq ADR 0570 clause 2); a module the seat mesh-placement still places here stays while the
|
||||
seat holds no plan of it, filled from its last plan, and leaves only when neither names it (issue 1126): the templates archive
|
||||
by reference and digest, the files it fills (path, template, `owner-at-runtime`, how its program takes a change)
|
||||
and the placement values its templates name — the client:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user