Skip to content
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

Build oVirt Node 9 based on AlmaLinux OS 9 #49

Open
LKHN opened this issue May 18, 2022 · 17 comments
Open

Build oVirt Node 9 based on AlmaLinux OS 9 #49

LKHN opened this issue May 18, 2022 · 17 comments

Comments

@LKHN
Copy link
Collaborator

LKHN commented May 18, 2022

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 sandrobonazzola self-assigned this May 18, 2022
@sandrobonazzola
Copy link
Member

welcome aboard!

@srbala
Copy link
Collaborator

srbala commented May 18, 2022

@sandrobonazzola thanks for the invite.

@sandrobonazzola sandrobonazzola added this to the ovirt-4.5.1 milestone May 18, 2022
sandrobonazzola added a commit that referenced this issue May 26, 2022
As for issues #46 and #49, preparing for building node based on
alma/rocky.

We'll need to find compute power for buidling respective ISO and publish
the result for testing it.

Signed-off-by: Sandro Bonazzola <[email protected]>
sandrobonazzola added a commit that referenced this issue Jun 3, 2022
As for issues #46 and #49, preparing for building node based on
alma/rocky.

We'll need to find compute power for buidling respective ISO and publish
the result for testing it.

Adjusted for GA builds consumption.

Signed-off-by: Sandro Bonazzola <[email protected]>
(cherry picked from commit 13f1834)
@sandrobonazzola
Copy link
Member

@srbala
Copy link
Collaborator

srbala commented Jun 4, 2022

@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
Copy link
Collaborator

srbala commented Jun 4, 2022

VM had UEFI and secure boot enabled

@sandrobonazzola
Copy link
Member

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
Copy link
Collaborator

srbala commented Jun 7, 2022

@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
Copy link
Member

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

@srbala
Copy link
Collaborator

srbala commented Jun 9, 2022

@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
Copy link
Member

Thanks @srbala ! #57 should solve

@sandrobonazzola
Copy link
Member

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

@srbala
Copy link
Collaborator

srbala commented Jun 10, 2022

@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

  • One service failure (Configure Image Layers due to FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/factory/etc/iscsi/initiatorname.iscsi'
  • Installer interface - only root user to create/update password - is it by design? It would be nice to have non-root user, which can be oVirt admin
  • It would be nice to show the IP address link on boot instead of localhost link, which shows after login

image

image

@sandrobonazzola
Copy link
Member

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
Copy link
Member

I think now the leftovers are:

  • Ensure that an Almalinux based node won't update into a CentOS Stream node and the other way around
  • Get AlmaLinux build running somewhere and artifacts published somewhere

@lveyde
Copy link
Member

lveyde commented Sep 7, 2022

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

@czadikem
Copy link

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
Copy link
Member

lveyde commented Sep 13, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants