Skip to content

bp e00f796e45c4305bb87ac8b6854ccf9fe3d7e80d - #451

Closed
toanju wants to merge 215 commits into
mainfrom
bp-e00f796e45c4305bb87ac8b6854ccf9fe3d7e80d
Closed

toanju wants to merge 215 commits into
mainfrom
bp-e00f796e45c4305bb87ac8b6854ccf9fe3d7e80d

Conversation

@toanju

@toanju toanju commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

5kt and others added 30 commits November 21, 2025 13:35
update package version of libvirtd and cloud hypervisor
```diff
-LIBVIRT_VERSION="11.3.0-29gl0%2Bbp1877"
-CLOUD_HYPERVISOR_VERSION="48.0-5gl0%2Bbp1877"
+LIBVIRT_VERSION="11.3.0-31gl0%2Bbp1877"
+CLOUD_HYPERVISOR_VERSION="48.0-6gl0%2Bbp1877"
```
Co-authored-by: Fabian Koller <10155170+anokfireball@users.noreply.github.com>
Co-authored-by: Fabian Koller <10155170+anokfireball@users.noreply.github.com>
Pull in oras from a more recent version of GL
* Disable virtchd* sockets and service
* List downloaded packages during sci feature `exec.config`
```diff
-LIBVIRT_VERSION="11.3.0-32gl0%2Bbp1877"
-CLOUD_HYPERVISOR_VERSION="48.0-7gl0%2Bbp1877"
+LIBVIRT_VERSION="11.10.0-2gl0%2Bbp1877"
+CLOUD_HYPERVISOR_VERSION="50.0-1gl0%2Bbp1877"
```
```diff
-EDK2_VERSION="20250503-5gl0%2Bbp1877"
+EDK2_VERSION="20250503-6gl0%2Bbp1877"
```
```diff
-EDK2_VERSION="20250503-6gl0%2Bbp1877"
-LIBVIRT_VERSION="11.10.0-2gl0%2Bbp1877"
-CLOUD_HYPERVISOR_VERSION="50.0-1gl0%2Bbp1877"
+EDK2_VERSION="20250503-7gl0%2Bbp1877"
+LIBVIRT_VERSION="11.10.0-2gl2%2Bbp1877"
+CLOUD_HYPERVISOR_VERSION="50.0-1gl1%2Bbp1877"
```
renovate Bot and others added 25 commits October 29, 2026 20:27
…260221+261029-1gl0 (#392)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
For now inherit sci in the scidev to address missing config.

Signed-off-by: Tobias Jungel <1773291+toanju@users.noreply.github.com>
Co-authored-by: Tobias Jungel <1773291+toanju@users.noreply.github.com>
Signed-off-by: Tobias Jungel <1773291+toanju@users.noreply.github.com>
Co-authored-by: Tobias Jungel <1773291+toanju@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Tobias Jungel <1773291+toanju@users.noreply.github.com>
Co-authored-by: Tobias Jungel <1773291+toanju@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…260221+261104-1gl0 (#407)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Track upstream 1877 release 1877.30.0

* Update workflows

Signed-off-by: Tobias Jungel <1773291+toanju@users.noreply.github.com>

---------

Signed-off-by: Tobias Jungel <1773291+toanju@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tobias Jungel <1773291+toanju@users.noreply.github.com>
* Update workflows to use least privilege permissions

Signed-off-by: Tobias Jungel <1773291+toanju@users.noreply.github.com>

* Apply more hardening to workflows and action scripts

Backports bcbf58d

Signed-off-by: Tobias Jungel <1773291+toanju@users.noreply.github.com>

---------

Signed-off-by: Tobias Jungel <1773291+toanju@users.noreply.github.com>
Co-authored-by: Tobias Jungel <1773291+toanju@users.noreply.github.com>
The iteration caps were fixed, so a slower nested boot could not be given
more room. Keep the 10 s polling and the historical defaults, but let the
caller raise either cap through BOOT_MAX_ITER and VERIFY_MAX_ITER.

Signed-off-by: Fabian Wiesel <fabian.wiesel@sap.com>
(cherry picked from commit 902e315)
In-place sed replacements mutate tracked template files and silently
leave literal placeholders behind when a variable name changes or is
unset. Rendering through envsubst with explicit unset-variable guards
keeps the source templates clean and fails fast when a required value is
missing.

envsubst reads the process environment, not the shell variables of the
calling step, and $GITHUB_ENV reaches only the later steps. Without the
export, the key and the password hash render as empty strings into the
ignition file, and the hypervisor rejects every login until the job
times out.

Signed-off-by: Fabian Wiesel <fabian.wiesel@sap.com>
(cherry picked from commit 4ec4666)
Keep the identity and the bounds in one ssh config, and retry the
migrated-file check, so a transient stall does not fail the migration.

A bounded wait can expire on a frozen guest, whose journal is then
unreachable. Keep the hypervisor serial consoles beside the runner logs,
because the final kernel output of that guest exists nowhere else.

Signed-off-by: Fabian Wiesel <fabian.wiesel@sap.com>
(cherry picked from commit d82da9b)
The QEMU guest stays resident on HV2, so the Cloud Hypervisor scenario
starts on a saturated host. Destroy and undefine it at the end of the
QEMU stage.

The same hypervisor domains need virtiofsd for their shares and a
reachable /dev/kvm once the libvirt security driver is off. Install both
with the other dependencies, so a later hypervisor test reuses one
install instead of extending the shared action.

Signed-off-by: Fabian Wiesel <fabian.wiesel@sap.com>
(cherry picked from commit 4465284)
Start an inactive libvirt network and restore its reservations, so local
runs match the hosted runners.

Signed-off-by: Fabian Wiesel <fabian.wiesel@sap.com>
(cherry picked from commit eab5b85)
Preparing the nested test guest, building the hypervisor image, and
booting the hypervisor pair are independent stages. Separating them lets
another hypervisor build step reuse the same guest preparation and the
same hypervisor boot sequence without duplicating or branching inside
either stage.

Each action now carries the tools and templates it consumes: build
installs oras and butane, validates the tag it builds, renders its own
domain XML, and hashes the password of the image it builds, while guest
owns the seed files of the guest it prepares.

Signed-off-by: Fabian Wiesel <fabian.wiesel@sap.com>
(cherry picked from commit d554587)
Signed-off-by: Fabian Wiesel <fabian.wiesel@sap.com>
(cherry picked from commit 3aa6e3a)
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>
(cherry picked from commit af91c99)
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>
(cherry picked from commit ec22474)
Cloud Hypervisor live migration requires both hosts to use the same
backing disk. Sharing the raw disk and boot seed over virtiofs makes
guest writes available at the destination and supplies the seed on
both hosts.

Signed-off-by: Fabian Wiesel <fabian.wiesel@sap.com>
(cherry picked from commit e13cf9e)
The QEMU and CloudHypervisor test actions ran the same wait, migrate, and
verify steps and differed only in the domain, the connection, the
migration target, and the storage mode. Merge them into test/migrate,
which takes those as inputs.

With the workflow's per-hypervisor inputs both tests behave as before:
QEMU stages the cirros disk on HV1 and migrates it with
--copy-storage-all, CloudHypervisor migrates the shared disk in place.

The dependency install and the test guest preparation move into a
prepare action, the shared prefix of every test run.

The CloudHypervisor test now stops and undefines the guest after the
check, as the QEMU test already did. A started domain owns an nvram
vars file that a plain undefine refuses to remove, so the cleanup
retries with --nvram.

Signed-off-by: Fabian Wiesel <fabian.wiesel@sap.com>
(cherry picked from commit 907537a)
Signed-off-by: Tobias Jungel <1773291+toanju@users.noreply.github.com>
)

cloud-hypervisor 54 removed disk image type autodetection: image_type
must now be sent with every disk. libvirt's ch driver only includes
image_type in the API request when the domain XML declares the format
via <driver type='...'>; without it cloud-hypervisor rejects the domain
with "Image type required for disk" once the first interface is added.

Signed-off-by: Fabian Wiesel <fabian.wiesel@sap.com>
(cherry picked from commit e00f796)
@toanju
toanju requested review from a team as code owners December 2, 2026 14:35
@toanju

toanju commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator Author

wrong target branch

@toanju toanju closed this Dec 2, 2026
@toanju
toanju deleted the bp-e00f796e45c4305bb87ac8b6854ccf9fe3d7e80d branch December 2, 2026 15:22
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.

4 participants