Repository navigation
Open
Description
An automatic upgrade executed by an older installed manager can activate a controller image that needs a new Compose dependency without starting that dependency. The controller then restarts continuously, and rollback can fail while trying to drain it.
Live read-only diagnosis on 2026-10-11 confirmed this transition:
- Installed manager/engine baseline was
791a15b8c474c6f1053237ff0b86b6b37cf0ac92. - Desired engine was
312d22d712d5a5e87bdb14796bf2c40f33d53f92. - After the earlier disk blocker was cleared, automatic reconciliation built the candidate images and passed managed preflight.
- The candidate controller was created with the new image, but no
docker-socket-proxycontainer was present. - Controller startup repeatedly failed with
ping Docker: Cannot connect to the Docker daemon at unix:///run/ci-fleet/locks/docker.sock. - Installer logs reported
ERROR: controller did not remain running after activationandROLLBACK_FAILED reason=could not pause the controller for drain. - Durable reconciliation reported
rollback_unverified. Installed-state metadata retained the old engine/configuration, while the actual controller container used the new image and was restarting.
Source trace:
activate_candidate()in baseline 791a15b usescompose ... up -d --no-deps controller. Its checkpoint-restoration path also uses--no-deps.- Candidate Compose at 312d22d introduces a healthy
docker-socket-proxydependency and routes the controller through its Unix socket. - The candidate installer starts dependencies using
up -d --remove-orphans controller, but this does not repair the already installed older manager that is executing the upgrade.
Acceptance criteria:
- Define a reviewed, safe upgrade path from an installed pre-proxy manager to the dependency-aware runtime. Do not assume changing the candidate installer changes the installer currently executing on the host.
- Reject an unsupported transition before drain/mutation, or use a trusted transition mechanism that starts and health-checks the required runtime dependencies before activating the controller.
- Prove rollback can restore the prior runtime when candidate startup fails or the controller is restarting and cannot accept a pause request. Preserve active workload and credential boundaries.
- Test an actual legacy-manager-to-new-runtime transition, including an absent proxy, failed proxy startup, and failed candidate activation. Tests using only the new installer on both sides do not cover this failure.
- Document the recovery/upgrade sequence and verify installed metadata, actual runtime image, proxy readiness, and final health agree.
This is a runtime lifecycle transition issue. Template synchronization is unrelated. No corrective host mutation was performed during this diagnosis.
Metadata
Metadata
Assignees
Labels
No labels
Activity
Nickfost commentedon Oct 11, 2026
Manual recovery proved a viable operator bridge for the diagnosed legacy-manager transition on 2026-10-11.
The candidate Compose file was verified byte-for-byte against merged engine
312d22d712d5a5e87bdb14796bf2c40f33d53f92, and the existing local controller image's OCI revision label matched that full SHA. Exact-engine hosted validation had passed in https://github.com/RandomDevelopment/ci-fleet/actions/runs/38122206474.Under the installer lock, the operator started only the candidate
docker-socket-proxyservice, using the existing rendered environment and an explicit candidate image override. Compose was restricted to that service with no dependency recreation, no build, and no pull. The proxy became healthy. The normal reconciliation service was then retried.The legacy manager subsequently completed the upgrade. Runtime, installed state, and manager revision now agree on
312d22d712d5a5e87bdb14796bf2c40f33d53f92. Controller and proxy are running with restart counts of zero. New-engine runners were observed accepting ordinary workload; no canary or consumer workflow was dispatched for this proof. Existing jobs were allowed to drain normally.This is an operator workaround, not an implementation fix. Keep this issue open for a safe automated legacy transition, rollback coverage, and documentation. Current health still carries warnings for network headroom and stale resources, which belong to the separate maintenance work.
Nickfost commentedon Oct 12, 2026
Upgrade observations are tracked in #118/#120/#121, with independent UI packaging in #122 under #117.
Keep desired engine, installed/staged manager, actual runtime/image identity, dependency readiness, rejection phase, and applied configuration separate. After a failed transition, show the incumbent runtime and unresolved divergence instead of declaring convergence from a new manager pointer.
The manual recovery already recorded here is an operator bridge, not proof that the automatic legacy-manager transition is fixed. #122 must preserve existing dependency validation, capability negotiation, rollback, and timer recovery. This adds no acceptance gate to #113 and does not authorize another host intervention.