From c430ca76f0bddaaa2c5ba4d741c86fd3d5da7f88 Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 1 Oct 2026 20:53:27 +0200 Subject: [PATCH] The rest of the mesh is quiet about a machine it resolved without the excluded one's offers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With one machine excluded, the others are resolved without its offers, and one that consumes them cannot resolve by design — the view is partial, the machine is not dropped. The line that names a dropped machine now speaks only for the whole-mesh view (seats), where a drop is a fault (hq 188). --- cmd/mesh-controller/plan.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cmd/mesh-controller/plan.go b/cmd/mesh-controller/plan.go index f5acc6a..0e74502 100644 --- a/cmd/mesh-controller/plan.go +++ b/cmd/mesh-controller/plan.go @@ -325,7 +325,12 @@ func theRestOfTheMesh(ctx context.Context, inv *inventory.Inventory, } got, err := catalogue.Resolve(shelf, o.assigned, o.node, theirs) if err != nil { - fmt.Fprintf(os.Stderr, "%s is left out of the rest of the mesh: it does not resolve: %v\n", o.node.Name, err) + // Said only for the whole-mesh view. With one machine excluded, the others are + // resolved without its offers, and one that consumes them cannot resolve here by + // design — that is not the machine being dropped, it is the view being partial. + if exclude == "" { + fmt.Fprintf(os.Stderr, "%s is left out of the rest of the mesh: it does not resolve: %v\n", o.node.Name, err) + } continue } held = append(held, got.Claims...) -- 2.54.0