Say controller in the installer's and the token's words, as the glossary does
mesh/delivery delivered
mesh/delivery-group group feat/a-machine-joins-through-the-tunnel delivered: every member is delivered
mesh/merge-gate pass: builds mesh-host → ace, g14, novox, shanks; no bus step; every machine composes with the change as it did without (4 of 4 compose)
mesh/repo-check pass: its merge-check.sh passed
mesh/delivery delivered
mesh/delivery-group group feat/a-machine-joins-through-the-tunnel delivered: every member is delivered
mesh/merge-gate pass: builds mesh-host → ace, g14, novox, shanks; no bus step; every machine composes with the change as it did without (4 of 4 compose)
mesh/repo-check pass: its merge-check.sh passed
This commit is contained in:
@@ -170,17 +170,17 @@ const (
|
||||
//
|
||||
// **Genesis's own step** (novox/hq 04-ISSUES/146). Every account on the bus reaches it in the
|
||||
// declaration of the machine that runs it — which needs that machine to be an enrolled node, and at
|
||||
// genesis it is not. The control plane composes the list and says it; whoever raised the bus places
|
||||
// genesis it is not. The controller composes the list and says it; whoever raised the bus places
|
||||
// it. That is this installer: it carried the bus in its bundle, so it knows where the bus reads it,
|
||||
// and the control plane never has to.
|
||||
// and the controller never has to.
|
||||
func placeTheBusUsers(ctx context.Context, control controlPlane, say func(string)) error {
|
||||
users, err := control.tell(ctx, "broker", "accounts")
|
||||
if err != nil {
|
||||
return fmt.Errorf("the control plane would not say the bus's users, so no machine could "+
|
||||
return fmt.Errorf("the controller would not say the bus's users, so no machine could "+
|
||||
"join it: %w", err)
|
||||
}
|
||||
if !strings.Contains(users, "accounts") {
|
||||
return fmt.Errorf("the control plane's account of the bus's users is not one:\n%s", indent(users))
|
||||
return fmt.Errorf("the controller's account of the bus's users is not one:\n%s", indent(users))
|
||||
}
|
||||
script := "umask 077 && cat > " + busAccounts + ".next <<'MESHBUSUSERS'\n" + users + "\nMESHBUSUSERS\n" +
|
||||
"mv " + busAccounts + ".next " + busAccounts + " && docker kill -s HUP " + busContainer + " >/dev/null"
|
||||
|
||||
Reference in New Issue
Block a user