Skip to content

test: boot a small CirrOS guest for the migration checks - #418

Open
fwiesel wants to merge 2 commits into
refactor/integration-hv-prepfrom
test/cirros-guest
Open

fwiesel wants to merge 2 commits into
refactor/integration-hv-prepfrom
test/cirros-guest

Conversation

@fwiesel

@fwiesel fwiesel commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

The migration checks need a guest that boots, accepts SSH, and carries a marker
across a live migration. CirrOS 0.6.3 does that with a raw disk of about
112 MiB, so the seeded Ubuntu cloud image is gone.

The guest no longer represents an Ubuntu workload or its cloud-init behaviour,
so this change makes no release or readiness claim.

The Ubuntu cloud image takes several minutes to convert, copy, and boot
inside nested virtualization. CirrOS 0.6.3 ships a hybrid GPT disk with
an EFI System Partition that boots under stock UEFI firmware in seconds
and shrinks the raw guest disk copy to 112 MiB. CirrOS parses its
NoCloud metadata as JSON and runs user-data as a shell script rather
than through cloud-init.

Signed-off-by: Fabian Wiesel <fabian.wiesel@sap.com>
The CirrOS image does not allow root SSH, so map the guest network to
the cirros user and move the migration marker into that user's home.

Signed-off-by: Fabian Wiesel <fabian.wiesel@sap.com>
@fwiesel
fwiesel added this pull request to stack #423 November 16, 2026 13:03
@fwiesel
fwiesel marked this pull request as ready for review November 16, 2026 13:04
@fwiesel
fwiesel requested review from a team as code owners November 16, 2026 13:04

This branch has not been deployed

No deployments
Sign up for free to 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