wont detect dnf for AlmaLinux. ok_to_use_dnf (src/otopi/packager.py) should also check for "AlmaLinux" distribution. I am trying to install ovirt on AlmaLinux 8.5 using engine-setup. This only works if I set OTOPI_DNF_ENABLE=1. Otherwise I get "Failed to execute stage 'Environment setup': No supported package manager found in your system".
Thanks for the bug. Do you want to push a patch? Otopi is now managed on github. I don't mind pushing a patch for you - should be trivial - but do not have time/resources for verifying it. Thanks!
Pushed a PR. Please verify. Thanks!
Thanks, PR works on AlmaLinux 8.5
(In reply to etienne.muesse from comment #3) > Thanks, PR works on AlmaLinux 8.5 Thanks for the report. Was this enough for completing engine-setup? Anything else missing?
QE: On CentOS/RHEL, sanity testing is enough (e.g. engine-setup doing an upgrade).
Yes, I just replaced the packager.py file with your PR. After that I could finish engine-setup.
I tried to replace the packager.py file with the modified one and it didn't work instead I got an error. I am also unable to install ovirt4.5 so how can I do that as I said here https://almalinux.discourse.group/t/almalinux-ovirt-install-help/1007
(In reply to czadikem from comment #7) > I tried to replace the packager.py file with the modified one and it didn't > work instead I got an error. I am also unable to install ovirt4.5 so how > can I do that as I said here > https://almalinux.discourse.group/t/almalinux-ovirt-install-help/1007 If this was a question to me (as the bug owner), then sorry - I don't know, never tried almalinux myself. comment 3 and comment 6 seem to imply that it does work. I suggest to ask on a mailing list - users@ovirt or an almalinux list.
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022. Since the problem described in this bug report should be resolved in oVirt 4.5.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.