Repository navigation
feat(argo): add reusable Dakota VM boot test pod template and Just recipe - #1166
Merged
Merged
Conversation
…cipe Add dakota-vm-boot-test WorkflowTemplate for direct QEMU/KVM kernel boot verification of Dakota images inside an ephemeral privileged pod. The template unpacks image layers directly into an ext4 raw disk via mkfs.ext4 -d (plain-root approach, avoiding loop devices and bootc install splitstream failures), injects root SSH credentials, boots QEMU/KVM with host CPU passthrough, and executes in-VM evidence commands over SSH. Add dakota-vm-boot semaphore to workflow-semaphores, run-dakota-vm-boot recipe to Justfile, unit tests, and documentation. Assisted-by: Copilot Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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
Adds a documented, reusable "Dakota VM boot test pod" capability to
projectbluefin/lab.Approach (plain-root boot)
/work/rootwithtar -xpf ... --xattrs --xattrs-include='*' --numeric-owner./work/rootusingmkfs.ext4 -q -L root -d /work/root disk.raw, eliminating loop devices completely.vmlinuzandinitramfs.imgfrom/usr/lib/modules/<version>/.sshd.service.-machine q35,accel=kvm -cpu host) androot=/dev/vda rw systemd.firstboot=no console=ttyS0,115200.127.0.0.1:2222to execute in-VM evidence commands and captures outputs.dakota-vm-boot: "1"semaphore inmanifests/workflow-semaphores.yaml.Deliverables
argo/workflow-templates/dakota-vm-boot-test.yamlrun-dakota-vm-boot image="..."docs/skills/kubevirt-vms/SKILL.md,docs/reference/workflow-reference.md,docs/ops/RUNBOOK.md,docs/skills/argo-workflows/patterns.md,docs/skills/dakota-pr-review/SKILL.md, andAGENTS.md.tests/unit/test_dakota_vm_boot_test.py.Assisted-by: Copilot