Files
cozystack/packages
Andrei Kvapil 71ab260239 fix(linstor): keep scheduler and GUI off a stale endpoint on a switch
Under backend blockstor linstor-scheduler and linstor-gui read the API
endpoint from the LinstorCluster the linstor release renders. The
backend reaches both charts in one platform render, and dependsOn holds
them back only while the linstor release is not Ready, so on a switch
they can upgrade before the linstor release has written
externalController. They then fell back to the values, linstor-controller,
a Service piraeus-operator removes in external mode, and nothing rendered
them again: the scheduler stayed pointed at a deleted controller.

Fail the render instead while the LinstorCluster names no external
controller. The platform's HelmReleases use the RetryOnFailure strategy,
and a failed render stores no release, so helm-controller retries after
the retry interval without counting a failure until the linstor release
has written the endpoint. Under backend linstor nothing changes.

Assisted-by: LLM
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-11-29 13:45:13 +01:00
..
2026-11-27 18:34:40 +05:00