Repository navigation
docs: record cloud-init Phase 0 findings and correct the provisioning contract - #101
Merged
Merged
Conversation
bketelsen
approved these changes
Nov 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Records Phase 0 of the cloud-init provisioning plan: cloud-init re-validated inside Debian 13 and Fedora 44 machines, as ADR-0017 required before ADR-0013 can proceed. The decision stands. Phase 0 is marked complete, and the provisioning contract is corrected where the findings differ:
ds-identifyenables a single-entrydatasource_list([ NoCloud ]) without looking for the seed. A machine with no seed then ran every stage, reportederrorand started about 5 s later. Images now must ship/etc/cloud/cloud-init.disabled; the agent removes it when it writes a seed.network: {config: disabled},users: [],preserve_hostname,manage_etc_hosts: false, and masked SSH and hotplug units (cloud-init-network.servicewantssshd.serviceandsshd-keygen.service).startwaits for the machine's manager, and cloud-init's units are in the boot transaction, sostartand ordinary commands waited for provisioning (Fedora'srunfailedbusyafter the 30 s machine lock). The contract now requires readiness to leave provisioning out; the plan adds it to Phase 2 with an open question on the mechanism.AGENTS.mdgains the guard rule from the review below.Evidence: local, discarded builds (VM r11 from
e480414; Debian r6/r7, Fedora r5/r6), 2 runs in disposable state: 8 machines, then 6. The plan records check results and timings; probe logs, host paths and test state stay private, per image publication. No image recipe changes are in this PR: the recipe change was a local experiment, and Phase 1 implements the proven configuration.Risk tier
Risk tier: 1 — documentation only; no code, image or workflow change.
Docs housekeeping
Verification
make verifygreen (make cipassed locally)AGENTS.mdrule: recorded findings state only what their evidence shows) and 1.memory/corrections.jsonlline added. Cross-review (openai/gpt-6.1-sol) ofc701d96found 3 blocking accuracy points; all are fixed.