#4142·omlx

Cluster removal is blocked when a paired Mac is unavailable

Author: lybertybox443Created Oct 1, 2026Updated Oct 1, 2026

Description

In oMLX 0.7.0, removing a cluster setup can fail when a previously paired Mac is unavailable. The local configuration remains because removal requires verified distributed teardown on every rank. An administrator needs to be able to forget one unavailable Mac, or leave the entire cluster locally, without claiming that remote processes have stopped.

Steps to reproduce

  1. Configure a distributed model across two paired Macs.
  2. Make one peer unavailable or leave its rank metadata unreadable.
  3. On the remaining Mac, open Cluster and choose Remove cluster setup.

Actual behavior

Removal fails with a distributed teardown error, such as an unreadable remote rank marker or remote worker scan response was invalid: Expecting value: line 1 column 1 (char 0). The local deployment is retained. The route can return HTTP 503 before removing it from the registry.

Expected behavior

Provide two explicitly scoped, confirmed recovery actions:

  • Forget this Mac on an individual peer: remove that peer's local pairing and invalidate model placements that depend on it, while preserving other peer pairings.
  • Forget entire cluster: remove all local model placements and peer pairings. Selecting this Mac can expose an equivalent Leave cluster action.

Neither action should require an unavailable peer. Local workers must still be stopped and verified, active requests must be protected, and the UI must make clear that remote shutdown is unverified. Removing a member requires a new model placement for the remaining Macs.

Environment

  • oMLX 0.7.0, build 2987
  • Apple Silicon cluster: M4 Max and M5 Max
  • Reproduced at the route level with an unreachable peer; physical multi-Mac validation of the proposed fix remains pending.

Related work

PR #3623 concerns stale pairing cleanup after HTTP 404 and is separate from deployment teardown. PR #4078 concerns initial pairing connection failures. The existing local pairing revocation introduced by #3155 can be reused.