fix: adopt staged Loki S3 credentials without a logs-stack redeploy #1551

Merged
PlasticDigits merged 1 commit from fix/loki-s3-adoption-1544 into main 2026-10-18 13:16:27 +00:00
Owner

Adopt the operator-staged S3 replacement without redeploying the existing Grafana/Loki Compose application, whose deployment path stops every service. A separate Coolify maintenance Service performs one Loki-only replacement, retaining the running image, mounts, networks, security/resource settings and all other environment values, with bounded rollback.

The reviewed worker receives only the S3 transaction payload, journals an exclusive one-shot latch, and exports closed receipts. Adoption requires matching runtime credentials, readiness, preserved historical reads, successful chunk-storage/flush deltas without new failures, and marker readback. The client CAS-journals private rollback values before deployment, pins embedded source to the exact Git revision, persists only canonical S3 credential fields, and removes the saved payload/job. No workstation identity or OpenBao/Coolify token enters the worker. Runbook, issue checklist and third-party agent invariants are crosslinked.

Validation: focused make verify-issue-1544 passed all source/config checks (146 unit controls); final client additions passed 18 focused tests, bringing covered controls to 147. Each test process is bounded to 55 seconds. The digest-pinned maintenance image built successfully and actual image Python imports/closed-report validation and Compose availability passed. Commit hooks passed. Candidate bucket HEAD and independent owned PUT/GET/DELETE passed; live Loki adoption follows after publication. Old-key revocation and ingestion credential rotation remain separate pending criteria, #1544 remains open.

Refs #1544.

Adopt the operator-staged S3 replacement without redeploying the existing Grafana/Loki Compose application, whose deployment path stops every service. A separate Coolify maintenance Service performs one Loki-only replacement, retaining the running image, mounts, networks, security/resource settings and all other environment values, with bounded rollback. The reviewed worker receives only the S3 transaction payload, journals an exclusive one-shot latch, and exports closed receipts. Adoption requires matching runtime credentials, readiness, preserved historical reads, successful chunk-storage/flush deltas without new failures, and marker readback. The client CAS-journals private rollback values before deployment, pins embedded source to the exact Git revision, persists only canonical S3 credential fields, and removes the saved payload/job. No workstation identity or OpenBao/Coolify token enters the worker. Runbook, issue checklist and third-party agent invariants are crosslinked. Validation: focused `make verify-issue-1544` passed all source/config checks (146 unit controls); final client additions passed 18 focused tests, bringing covered controls to 147. Each test process is bounded to 55 seconds. The digest-pinned maintenance image built successfully and actual image Python imports/closed-report validation and Compose availability passed. Commit hooks passed. Candidate bucket HEAD and independent owned PUT/GET/DELETE passed; live Loki adoption follows after publication. Old-key revocation and ingestion credential rotation remain separate pending criteria, #1544 remains open. Refs #1544.
fix: adopt staged Loki S3 credentials through an isolated transaction
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline was canceled
effcf6241f
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
code/cl8y-dex-terraclassic!1551
No description provided.