oVirt / ovirt-engine

The oVirt Engine virtualization manager
Other
492 stars 259 forks source link

Deployment Failure with oVirt Hosted Engine on CentOS Stream 9 #950

Closed KhalTarabien closed 2 weeks ago

KhalTarabien commented 3 weeks ago

I've encountered a failure while trying to deploy the oVirt Hosted Engine using the oVirt Node NG Installer on a system running CentOS Stream 9. Here are the details:

Environment:

OS: CentOS Stream 9 (oVirt Node 4.5.5) oVirt Version: 4.5.5 Installer ISO: oVirt Node NG Installer 4.5.5-2023113015 for el9 Issue: During the deployment of the hosted engine, the process failed with several error messages, notably failing to download metadata for the 'centos-ceph-pacific' repository due to no URLs in the mirrorlist, and a failure deploying the engine on the local VM.

Error Messages:

Failed to download metadata for repo 'centos-ceph-pacific': Cannot prepare internal mirrorlist: No URLs in mirrorlist There was a failure deploying the engine on the local engine VM. The system may not be provisioned according to the playbook results: please check the logs for the issue, fix accordingly or re-deploy from scratch. Deprecation warning for the Python crypt module. Steps Taken:

Attempted deployment using the hosted-engine --deploy command. Used the specified installer ISO. Seeking Help: Has anyone faced similar issues, or does anyone have suggestions on how to resolve the mirrorlist problem and the deployment issue? Any help or guidance would be greatly appreciated!

KhalTarabien commented 2 weeks ago

Solved! just want to share it think centos 9 was using ovirt appliance with el8. so downloaded the last version of appliance for el9

steps:

dnf update -y
curl -o ovirt-appliance.rpm  https://resources.ovirt.org/repos/ovirt/github-ci/ovirt-appliance/el9/ovirt-engine-appliance-4.5-20240613070926.1.el9.x86_64.rpm
rpm -i ovirt-appliance.rpm (it will save to /usr/share/ovirt-engine-appliance/ovirt-engine-appliance-4.5-*.el9.ova)
dnf install -y centos-release-ovirt45
dnf install ovirt-hosted-engine-setup
hosted-engine --deploy
... after few steps 
it will ask for appliance 
If you want to deploy with a custom engine appliance image, please specify the path to the OVA archive you would like to use.
 Entering no value will use the image from the rhvm-appliance rpm, installing it if needed.
 Appliance image path []:/usr/share/ovirt-engine-appliance/ovirt-engine-appliance-4.5-*.el9.ova (HERE you set it )

you good to go !