Repository navigation
feat(images): add repave-ready Ubuntu GB200 host access - #998
Open
Kevin Cho (chokevin) wants to merge 10 commits into
Open
Kevin Cho (chokevin) wants to merge 10 commits into
Kevin Cho (chokevin) wants to merge 10 commits into
Conversation
| path.parent.mkdir(parents=True, exist_ok=True) | ||
| path.write_bytes(value if isinstance(value, bytes) else value.encode()) | ||
|
|
||
| def command(self, *args): |
This branch has not been deployed
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.
Repeated GB200 repaves could boot Ubuntu but did not have a reproducible, qualified host image that restored the reviewed lab access policy. The image now bakes native cloud-init users into an ARM64 Ubuntu disk, while MetalMan fails closed before destructive replacement if Machine user-data could override those users; generic host images keep their existing user-data behavior.
ssh-import-idinputs.ssh_import_idconfiguration. The intentionally keyless account remains locked without failing cloud-init.users, multiple YAML documents, trailing YAML, and cloud-init templating. ConfigMap API failures remain retryable; permanent policy violations fail before power actions.unbounded-metalvendor user and existing custom/templated user-data behavior for other images.Evidence
The 15-second recording shows the baked cloud-init policy, actual fail-closed preflight results, and the exact ARM64 disk qualification evidence.
gb200-host-access.mp4
Verification
go test ./internal/metalman/... ./hack/cmd/hostimage-userdata-preflight ./hack/hostimagegofumpt, shell syntax, ShellCheck, YAML parsing, andgit diff --check0afd7577f85783689755d25fc7b98d613949738e11db121210b223760a19ee81make fmt; the pinned golangci-lint cannot decode the repository's Go 1.27 export data. Changed Go files were formatted with the pinnedgofumpt, and the broad MetalMan test suite passed.Risk
The strict user-data policy is repository-scoped to
ghcr.io/azure/host-ubuntu2404-gb200-hillsboro; generic images retain their prior behavior. This PR does not publish an image or mutate a Machine. Publication remains a manual, gated workflow, and any image activation or HostReplace requires a separate operational decision.Review guide
internal/metalman/cloudinit/userdata.goandinternal/metalman/machineops/controller.gofor policy scope, error classification, and pre-side-effect validation.images/host-ubuntu2404-gb200-hillsboro/for the baked user policy and deterministic boot qualification..github/workflows/images.yamlandimages/host-ubuntu2404-gb200/verify-boot.shfor the publish gate.internal/metalman/{cloudinit,machineops,netboot}/*_test.gofor bypass, retry, and generic-image compatibility coverage.