Skip to content

kola/testiso: fix pxe-*.rootfs-appended test on s390x#4049

Merged
nikita-dubrovskii merged 1 commit intocoreos:mainfrom
nikita-dubrovskii:s390x_fix_pxe_rootfs_appended
Apr 24, 2025
Merged

kola/testiso: fix pxe-*.rootfs-appended test on s390x#4049
nikita-dubrovskii merged 1 commit intocoreos:mainfrom
nikita-dubrovskii:s390x_fix_pxe_rootfs_appended

Conversation

@nikita-dubrovskii
Copy link
Copy Markdown
Contributor

On s390x, mk-s390image is used to create a bootable pxelinux.0 image from the live-kernel, live-initramfs, and cmdline. Because the cmdline doesn't include coreos.liveiso, systemd starts the coreos-livepxe-rootfs.service, which checks for the presence of the coreos.live.rootfs_url karg or the /etc/coreos-live-rootfs file, but neither is present. At the same time, kola generates a concatenated initramfs. This PR uses that initramfs as input for mk-s390image.

Issue: coreos/fedora-coreos-tracker#1883

@nikita-dubrovskii
Copy link
Copy Markdown
Contributor Author

Until new, based on F42, cosa comes, or qemu-9.1.3 gets a backport of https://patchwork.ozlabs.org/project/qemu-devel/patch/20240927005117.1679506-4-jrossi@linux.ibm.com/, this PR should be on hold.

Comment thread mantle/platform/metal.go
On s390x, `mk-s390image` is used to create a bootable `pxelinux.0`
image from the live-kernel, live-initramfs, and cmdline. Because
the cmdline doesn't include `coreos.liveiso`, systemd starts the
`coreos-livepxe-rootfs.service`, which checks for the presence of
the `coreos.live.rootfs_url` karg or the `/etc/coreos-live-rootfs`
file, but neither is present. At the same time, `kola` generates
a concatenated initramfs. This PR uses that initramfs as input
for `mk-s390image`.
@nikita-dubrovskii nikita-dubrovskii force-pushed the s390x_fix_pxe_rootfs_appended branch from 3350dea to 48ec544 Compare March 21, 2025 12:49
@dustymabe dustymabe marked this pull request as draft March 21, 2025 12:54
@dustymabe
Copy link
Copy Markdown
Member

Converted this to draft because we are blocked on F42 COSA for now.

@nikita-dubrovskii nikita-dubrovskii marked this pull request as ready for review April 24, 2025 06:09
@nikita-dubrovskii nikita-dubrovskii merged commit 65c8e24 into coreos:main Apr 24, 2025
5 checks passed
@nikita-dubrovskii nikita-dubrovskii deleted the s390x_fix_pxe_rootfs_appended branch April 24, 2025 08:57
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.

2 participants