kubeblocks icon indicating copy to clipboard operation
kubeblocks copied to clipboard

[BUG] Verify Orchestrator Start recovery after readiness fixes

Open leon-ape opened this issue 1 month ago • 0 comments

Current scope

The confirmed readiness defects below are fixed and merged. This issue tracks validation of the original Orchestrator Stop/Start report after those fixes.

Ready and Available evaluate the configured member identities. Missing or wrong members cannot satisfy the target, and extra members cannot independently block healthy assigned members. An explicit zero target satisfies both conditions. Runtime counters, InstanceFailure, update budgets, and operation completion retain their separate checks.

Component consumes InstanceSet status. InstanceSet2 consumes Instance status, and Instance owns observation of its Pod and PVC resources.

Completed fixes

Closed issue Merged PR Resolved problem
#11111 #11108 Component could use a Ready condition from an old InstanceSet generation to report a role-probe timeout.
#11110 #11109 Status retries stopped reconciliation of an unready Instance. Continuing retries preserve failure-timeout wakeups, while normal Available waiting retains its scheduling.
#11114 #11115 Aggregate Ready and Available used observed member counts instead of assigned identities.
#11117 #11118 InstanceSet2 could accept an obsolete child availability policy while propagating the current parent policy.
#11122 #11123 Per-instance Ready and Available could accept health reports from an unobserved child generation.
#11124 #11027 Legacy Available waiting blocked repair of a missing Pod. The fix preserves scheduled wakeups and existing alignment budgets.

All applicable release-1.1 and release-1.0 backports have landed. The backport table in #11027 records the final commits. Release-1.0 uses adapted legacy fixes and has no Instance API or InstanceSet2 path.

Controller-entry and package regressions cover the confirmed defects, retry recovery, availability waiting, concurrency admission, and storage preservation. Full make lint passed for the fixes. These results establish the tested controller behavior.

Remaining verification

  • [ ] Re-run the original Orchestrator Stop/Start scenario on a build containing the merged fixes. Record the KubeBlocks commit, addon and test revisions, Instance API setting, and cluster topology. Confirm that Start remains in progress during valid startup and role-probe waiting, then succeeds after convergence. A terminal failure must have a current, concrete cause.
  • [ ] Collect the timestamped OpsRequest, Cluster, Component, InstanceSet, applicable Instance, and Pod observations for that run, together with controller logs. Include generations, condition status and transition times, Pod UIDs and Ready times, and role observations. Use this sequence to assess whether the original premature failure was caused by the fixed defects. Recover the historical failure-time InstanceSet conditions and logs if available. If they remain unavailable, record the historical attribution as unconfirmed.

The fixes have not been validated by a real-cluster or multi-cluster Component/Ops end-to-end run in this work. Record which topology the remaining scenario exercises. A single-cluster result does not establish multi-cluster validation.

Close this issue after the original scenario passes on a fixed build and its startup timeline has been reviewed. Record any remaining uncertainty about the historical cause. If the fixed scenario still fails, track the observed cause in a focused issue with the collected evidence.

Source context

The Orchestrator Start report describes the original premature failure. #10987 records that incident; #10995 and #11003 contain related Start handling fixes. The incident report alone does not establish that every early Component failure has the same cause.

leon-ape avatar Oct 27 '26 03:10 leon-ape