73 lines
4.0 KiB
Markdown
73 lines
4.0 KiB
Markdown
# CMS r39: runtime representation and exact recovery
|
|
|
|
The first qualified CMS application release failed runtime acceptance and rollback
|
|
verification. The original failed journal, archive and six backup files remain
|
|
immutable. Availability alone was not treated as proof of recovery.
|
|
|
|
The installed plan-only diagnostic reported stable samples, the original image,
|
|
unchanged source, foundation, NAS metadata, project/site data, other containers,
|
|
running image source and healthy authenticated CMS. Its limited bind-order search
|
|
did not recover the original fingerprint because three DNS fields also differed.
|
|
|
|
## Exact evidence
|
|
|
|
The current runtime was reconstructed locally from the diagnostic's per-field
|
|
hashes, unchanged Compose source and unchanged environment file. Environment
|
|
values were retained only in memory. The complete reconstructed current digest
|
|
matched the NAS diagnostic, not merely selected field hashes. Changing exactly
|
|
these four representations then reproduced the complete saved predecessor digest:
|
|
|
|
| Field | Saved predecessor | Current |
|
|
| --- | --- | --- |
|
|
| `HostConfig.Binds` | projects, website | website, projects |
|
|
| `HostConfig.Dns` | `[]` | `null` |
|
|
| `HostConfig.DnsOptions` | `[]` | `null` |
|
|
| `HostConfig.DnsSearch` | `[]` | `null` |
|
|
|
|
Both bind strings, including source, destination and `rw`, are unchanged.
|
|
All environment values, ports, network names, mount options, resource settings
|
|
and security flags are included in the complete digest proof.
|
|
|
|
- Legacy predecessor: `e50d894ff1292c8250b5c1a8eb97d5e4f7f8522a0157fac393b5cf82ced5aa1f`.
|
|
- Current legacy digest: `00d5d3aa50519a923cc6cd2a6478c313e2c8433b4d089b214192da201fc599fd`.
|
|
- Shared version-2 digest: `5d656cf19d63800ca3c9d6f797dd5f71f86be0dfe55899ccb80a8935a937bbce`.
|
|
|
|
Docker 24.0.2 checks `len(...) > 0` for these three DNS settings in
|
|
[`daemon/container_operations.go`](https://github.com/moby/moby/blob/v24.0.2/daemon/container_operations.go).
|
|
Empty lists and null therefore select the same DNS fallback. Nonempty DNS lists
|
|
and their ordering are never discarded by the version-2 fingerprint.
|
|
|
|
## Registered transition
|
|
|
|
Component `dc-cms-runtime-reconciliation` has fixed root
|
|
`/volume1/docker/dc-cms/source`, no service/build/Compose selection, and only
|
|
`deployment/dc-cms-r39-runtime-reconciliation-v2.json` as payload. Its immutable
|
|
identity is `dc-cms-r39-runtime-reconciliation-v2-20261104-001`.
|
|
The descriptor pins the failed release, original backup hashes and legacy digest.
|
|
|
|
Fresh plan and apply recheck the exact original failed row/archive/backup. Three
|
|
identical live samples must have the original image and produce the saved digest
|
|
by enumerating only two observed bind strings and empty DNS representations
|
|
(at most 16 candidates). Existing source, data, metadata, foundation, dependency
|
|
and health acceptance then runs against the proven version-2 baseline.
|
|
|
|
Apply copies only the descriptor and rechecks the proof after the copy. Failure
|
|
removes only that new marker; no application service, secret, database, volume,
|
|
queue or failed historical receipt is changed by this metadata transition.
|
|
|
|
The automatic controller acknowledges r39 only after matching the successful
|
|
canonical recovery receipt, archived artifact and installed marker while retaining
|
|
the original incident evidence. Its separate exact `blocked -> failed` queue
|
|
transition is pinned to run 39, number 1, source/artifact digest and prior receipt.
|
|
The old release never becomes ready again; only a new qualified run may proceed.
|
|
|
|
New CMS releases record `runtimeFingerprintVersion=2` and per-field hashes for
|
|
future diagnostics. Version 1 remains strict for old evidence and the original
|
|
audit. Version 2 sorts only complete, unambiguous bind strings and normalizes
|
|
only null/empty DNS lists; real changes still fail acceptance. Device Core and
|
|
the accepted CMS bootstrap remain unchanged.
|
|
|
|
Build the data artifact with `build_runtime_reconciliation.py` only after the
|
|
reviewed root runner has been promoted and verified. A prepared candidate or
|
|
successful local proof does not establish production reconciliation.
|