coreos / fedora-coreos-tracker

Issue tracker for Fedora CoreOS
https://fedoraproject.org/coreos/
262 stars 59 forks source link

Please provide FCOS OVA image for VMware on aarch64/MacOS #1594

Open martinhinze opened 11 months ago

martinhinze commented 11 months ago

Describe the enhancement

Currently there is no OVA image provided for using FCOS on VMware and aarch64 with an ignition file on the project's download page. The FCOS user guide advises using an OVA image for provisioning FCOS in VMware systems. This is especially important for doing this in an automated way with shell scripts.

System details

VMware Fusion on aarch64/MacOS

Additional information

No response

patrickb777 commented 7 months ago

I'm also looking for an arm64 FCOS ova.

fifofonix commented 7 months ago

In the past I have occasionally had the need to spin up local VMs especially when investigating/reproducing issues with next, or investigating new functionality, or contributing to test days. An arm64 FCOS ova would help given I'm using VMWare Fusion although I know I have other virtualization options open to me ... and perhaps should investigate ...

jbtrystram commented 7 months ago

This was discussed today in the community meeting.

It was agreed that we will build vmware aarch64 artifacts and test them out. If all goes well we will enable it in the pipeline and publish those.

item list from @dustymabe

@fifofonix was volunteer'ed for testing :)

enabling the build in the pipeling can be done here https://github.com/coreos/fedora-coreos-pipeline/blob/fb1c673c4f391b973c84726fc9c99366330899ad/config.yaml#L56

fifofonix commented 7 months ago

I just had a look at the fedora-coreos-pipeline project for the first time. If I understand things correctly I should be able to make a one line change in the config.yaml linked above in a forked version of the project. Then I would be able to trigger a developer build of one of the streams using the deploy tooling. This of course would necessitate a configured pipeline processing infrastructure or using the existing core project infrastructure by applying for access with a sponsor etc. Have I understood the steps roughly? Half hoping I could have a crack at this this coming weekend if we could sort the access out quickly.

jbtrystram commented 7 months ago

yes that's about it. Maybe you could also build the artifact manually using coreos-assembler ?

fifofonix commented 7 months ago

Sounds like it is time for me to try coreos-assembler!

jlebon commented 7 months ago

It sounds totally fine to me to enable it in a non-production stream first (e.g. rawhide) and then you can test the artifact that comes out of that: https://github.com/coreos/fedora-coreos-pipeline/pull/960

Building it with cosa is cool too if you'd like to do that, but the most valuable part for us to unblock this is actually checking if the artifact works. :)

fifofonix commented 7 months ago

I am unable to get either of the last two days' VMWare OVA artifacts for aarch64 to work with VMWare Fusion 13.5.0 on an arm64 MacOS machine. The boot does not even begin with Fusion believing that the OVA in question is actually x86 as opposed to arm64. The precise message is:

image

I actually used two different methods for launching a VMWare Fusion VM and both had the same result (one of the methods was that documented in the FAQ).

I also went back to an x86 machine and confirmed that when selecting an x86 artifact that still worked as expected (it has been a long time since I've created a VM this way). No issues there so I feel pretty sure we're getting a real failure. Over to you chaps on why this might be the case, or for other tests you'd like me to run.

dustymabe commented 7 months ago

Maybe there is something in the vmware ovf/ova template file that needs to specify what architecture the disk image is? the template we then modify is located here: https://github.com/coreos/coreos-assembler/blob/main/src/vmware-template.xml

fifofonix commented 5 months ago

Wanted to run the VMWare Fusion test for Fedora40 test week but that is still not possible absent an arm64 OVA.

dustymabe commented 5 months ago

we reverted it because it appeared additional work would be needed to make it actually work. I can try to give you a one-off build, but I don't anticipate it would have magically just started working without someone identifying why it wasn't working to begin with and fixing it.

LMK if you want that one-off build.

fifofonix commented 5 months ago

Got it. No need for a on-off build. Thanks @dustymabe

dustymabe commented 5 months ago

Now, don't get me wrong. We'd love to fix it and get it delivered. Let me know if anyone finds out the reason and we can try to get it added.