Files
cozystack/packages/extra
Myasnikov Daniil a7b40bc621 fix(seaweedfs): treat CNPG bootstrap Ready=False as in-progress, not failed
The previous healthCheckExprs flagged the seaweedfs-db HR as failed within
seconds of creating the Cluster CR. CNPG sets Ready=False with
reason=ClusterIsNotReady as the initial bootstrap condition before postgres
starts, so the generic `failed: ... Ready=False` predicate matches the
normal startup state and aborts the install early. This cascades: tenant-root
times out waiting for seaweedfs, rolls back (deleting child HRs), retries,
and the e2e "Configure Tenant" step races the rollback gap.

Use Flux's three-predicate form: route ClusterIsNotReady to `inProgress`
so the HR keeps polling, keep `failed` for any other future Ready=False
reasons, and rely on the HR `timeout: 10m` as the real backstop for a
genuinely stuck cluster.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
2026-05-19 19:11:18 +05:00
..
2026-05-13 21:48:39 +00:00
2026-03-25 15:57:25 +05:00