You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OCPBUGS-56913: Retry registration steps on service restart
Fix the bug where installConfig overrides and extra manifests are not
applied when the service restarts after finding an existing cluster.
Previously, the registerCluster() function would immediately return if
a cluster already existed, skipping the steps to apply installConfig
overrides and register extra manifests. This meant that if the service
crashed or was restarted after cluster registration but before these
steps completed, the configuration would be incomplete.
Now, registerCluster() unconditionally calls both
ApplyInstallConfigOverrides() and RegisterExtraManifests() after
obtaining the cluster (whether newly created or existing). Since both
functions are idempotent, this is safe to retry and ensures all
configuration steps complete successfully.
Add subsystem tests to verify:
- Retry of installConfig overrides on restart (idempotent)
- Application of missing overrides to existing cluster
- Retry of extra manifest registration (idempotent)
Assisted-by: Claude Code
0 commit comments