Skip to content

Add local VM sandbox for testing IPA image changes - #17

Merged
abbaszai merged 5 commits into
mainfrom
add-ipa-vm-test-sandbox
Jun 29, 2026
Merged

Add local VM sandbox for testing IPA image changes#17
abbaszai merged 5 commits into
mainfrom
add-ipa-vm-test-sandbox

Conversation

@abbaszai

Copy link
Copy Markdown

What

A self-contained workflow to prove that what you bake into the IPA ramdisk
shows up on a booted node
, using `metal3-dev-env` + sushy-tools + libvirt VMs
as fake bare-metal hosts — no physical hardware, no real BMCs, no prod clusters.

Why

Validating IPA changes on real hardware is slow and entangled with prod. This
gives a fast, isolated local loop: build a custom IPA from this repo → inject it
→ PXE-boot a VM node → SSH in and confirm the change is present.

Contents (`ipa-dev/`)

  • `testing-ipa-with-vm-sandbox.md` — the end-to-end guide (provision a KVM host,
    stand up metal3-dev-env, build a custom IPA, inject it, boot a node, verify),
    including the gotchas hit along the way.
  • `testing-ipa-with-vm.sh` — launch a KVM-capable AWS `c5.metal` host (handles
    accounts with no default VPC; records created resources for cleanup).
  • `cleanup-sandbox.sh` — tear down the AWS resources it created.

Validated end-to-end: built a marker IPA, injected it into the sandbox's Ironic,
booted a metal3-dev-env node, and confirmed the baked-in file on the running
ramdisk.

🤖 Generated with Claude Code

abbaszaiand others added 3 commits June 18, 2026 18:18
Adds a self-contained workflow to validate that changes baked into the IPA
ramdisk show up on a booted node, using metal3-dev-env + sushy-tools + libvirt
VMs as fake bare-metal hosts — no physical hardware or prod clusters.
- ipa-dev/testing-ipa-with-vm-sandbox.md: end-to-end guide (provision a KVM
host, stand up metal3-dev-env, build a custom IPA, inject it, boot a node,
verify the bake-in) with the gotchas we hit.
- ipa-dev/testing-ipa-with-vm.sh: launches a KVM-capable AWS c5.metal host
(handles accounts with no default VPC), records created resources.
- ipa-dev/cleanup-sandbox.sh: tears down the AWS resources it created.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Phased end-to-end validation plan for the qual flow (clean-wait hold ->
install -> enroll -> terminal states -> orchestration -> soak) plus a
reproducible walkthrough for building/booting the qual-agent IPA in the
metal3 VM sandbox, with the gotchas hit along the way.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@abbaszai
abbaszai merged commit 8ab2842 into mainJun 29, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@abbaszai