oVirt / ovirt-node-ng-image

The source for oVirt Node NG installer ISO and RPM image
GNU General Public License v2.0
19 stars 13 forks source link

Build oVirt Node 9 based on AlmaLinux OS 9 #49

Open LKHN opened 2 years ago

LKHN commented 2 years ago

Hey oVirt Team,

Since you are considering producing oVirt Node builds based on a more stable distribution than CentOS Stream 9. As a member of the AlmaLinux OS Virt SIG, I'd like to add another option to this decision:

The AlmaLinux OS 9.0 Beta 1 is available with its cloud images from 18th April 2022. We also expect the 9.0 stable in a couple of days. As AlmaLinux OS Virt SIG, we would love and be honoured to help.

sandrobonazzola commented 2 years ago

welcome aboard!

srbala commented 2 years ago

@sandrobonazzola thanks for the invite.

sandrobonazzola commented 2 years ago

Test build: https://resources.ovirt.org/repos/testing/alma/

srbala commented 2 years ago

@sandrobonazzola Can this ISO can work in VM environment? ISO booted ok, after install system did not booted, showed Grub shell as below. VM had 4 cpus, 8G RAM and 200GB hdd image

srbala commented 2 years ago

VM had UEFI and secure boot enabled

sandrobonazzola commented 2 years ago

Looks like it requires some debugging :-/ Worked on CentOS Stream 9 to this point so we need to figure out why this is happening.

srbala commented 2 years ago

@andrewlukoshko recommended to check EFI boot folder creation, since Almalinux and Rocky has it own https://github.com/rhinstaller/anaconda/blob/rhel-9/data/product.d/almalinux.conf#L13

sandrobonazzola commented 2 years ago

Thanks @srbala and @andrewlukoshko , need to dig into this.

srbala commented 2 years ago

@sandrobonazzola It looks like os installer creates the grub.cfg file under centos folder, it is expected under almalinux folder. Moving the file to right location get the system get booted.

Current

image

Expected

image

sandrobonazzola commented 2 years ago

Thanks @srbala ! #57 should solve

sandrobonazzola commented 2 years ago

New test build has been uploaded to https://resources.ovirt.org/repos/testing/alma/

srbala commented 2 years ago

@sandrobonazzola Grub boot issue resolved, grub menu shows correctly and boots as expected.

Few points of observations: Testing ISO in VMWare, 4cpus, 9G RAM, 200G HDD

image

image

sandrobonazzola commented 2 years ago

Reported the missing file issue on imgbased project.

As for the additional user, oVirt Node is not expected to be administered by anyone else than oVirt Engine itself, so no additional user is being created. About the localhost at first prompt, I would consider it cosmetic.

sandrobonazzola commented 2 years ago

I think now the leftovers are:

lveyde commented 2 years ago

@srbala what help (if any) is needed from us to advance this project?

czadikem commented 2 years ago

Yes I would love to use ovirt with almalinux. So what needs to happen to help change or at least have this option available?

lveyde commented 2 years ago

Yes I would love to use ovirt with almalinux. So what needs to happen to help change or at least have this option available?

Just to avoid confusion - I think that it's possible to use oVirt with AlmaLinux already.

This issue is about creating a native AlmaLinux based node. Please note the last comment by @sandrobonazzola that listed the last few things we need for that to happen.