-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for 4k metal images #1130
Conversation
Let's hold this until #1024 gets in, and I'll rebase on top of that. |
Discussions about this in coreos/fedora-coreos-tracker#385. |
looks like #1024 was closed, is there anything else holding this up? |
Got the artifact working, but need to complete wiring it up on the kola side to make it easier to test. |
metal4k
build artifacts
OK, dropped WIP on this and marked ready for review! I updated the first comment with the commit message, but this is worth highlighting again:
I think this is probably fine since f32 is almost out. But given that we extensively use libguestfs, it's possible we'll hit regressions too. |
There's a lot of other stuff to enhance for this, including coreos-installer support and |
Updated! |
/approve |
We don't pass extra args to some program. So stop trying to handle `--`. Plus, it wouldn't work anyway since the `*)` preceding it would catch it.
First, add a new `buildextend-metal4k` command to create 4k disk images. Then, teach `kola` and `cosa run` to read these images. To test: host$ cosa run -I metal4k ... vm$ sudo fdisk -l /dev/vda ... Sector size (logical/physical): 4096 bytes / 4096 bytes ... One potentially controversial bit here is that this requires a newer libguestfs which isn't in f31 yet, so we pull it from f32 for now. Closes: coreos/fedora-coreos-tracker#385
Any more thoughts on this? |
With the FCOS release that just went out, this would be a good time to get this in and let it bake and rollback the libguestfs bump if necessary. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, jlebon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
qemu: Clean up argv handling a bit
First, add a new
buildextend-metal4k
command to create 4k disk images.Then, teach
kola
andcosa run
to read these images.To test:
One potentially controversial bit here is that this requires a newer
libguestfs which isn't in f31 yet, so we pull it from f32 for now.
Closes: coreos/fedora-coreos-tracker#385