fix(repartition): the MinIO metrics gate used the wrong port #2160
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/repartition-minio-metrics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The green gate fetched MinIO cluster metrics from
minio.minio.svc.cluster.local:9000. TheminioClusterIP Service listens on 80 and forwards to the pods' 9000 — only the headlessminio-hlis on 9000.So the fetch always failed. The predicate is fail-closed, so the gate could never go green: the preflight held for its whole budget and the fleet loop never started.
Found by the first dry run, before any node was touched. That is exactly what
dryRundefaulting totrueis for.Both surviving endpoints re-checked from inside the cluster:
minio.minio.svc.cluster.local:80/minio/v2/metrics/clusterminio-hl...:9000/...openbao-{0..4}.openbao-internal:8200/v1/sys/health?standbyok=trueThe guard now pins the full URL including the port, so a regression to
:9000is a red build rather than a gate that silently never passes. Verified by mutation:tests/check.sh— 147/147.https://claude.ai/code/session_01MdSbMhzabSbpG8TtP9Ur3H
The green gate fetched cluster metrics from minio.minio.svc.cluster.local:9000. The `minio` ClusterIP Service listens on 80 and forwards to the pods' 9000; only the headless `minio-hl` is on 9000. So the fetch always failed, the predicate is fail-closed, and the gate could never go green — the preflight held for its whole budget and the fleet loop never started. Found by the first dry run, before any node was touched. That is exactly what dryRun defaulting to true is for. The guard now pins the full URL including the port, so a regression to :9000 is a red build rather than a gate that silently never passes. Verified by mutation. Both surviving endpoints were re-checked from inside the cluster: minio.minio.svc.cluster.local:80 -> 200 minio-hl...:9000 -> 200 (headless, per-pod) openbao-{0..4}.openbao-internal:8200/v1/sys/health?standbyok=true -> 200 x5 tests/check.sh: 147/147. Claude-Session: https://claude.ai/code/session_01MdSbMhzabSbpG8TtP9Ur3H