Bug 2060006 - dnf packager on AlmaLinux
Summary: dnf packager on AlmaLinux
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: otopi
Classification: oVirt
Component: Plugins.packagers
Version: master
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.5.0
: 1.10.0
Assignee: Yedidyah Bar David
QA Contact: Guilherme Santos
URL:
Whiteboard:
Depends On:
Blocks: 2034313
TreeView+ depends on / blocked
 
Reported: 2022-03-02 14:06 UTC by etienne.muesse
Modified: 2022-04-28 09:26 UTC (History)
2 users (show)

Fixed In Version: otopi-1.10.0
Doc Type: Enhancement
Doc Text:
OTOPI packager detection has been extended to implicitly support all RHEL rebuilds, such as AlmaLinux.
Clone Of:
Environment:
Last Closed: 2022-04-28 09:26:34 UTC
oVirt Team: Integration
Embargoed:
sbonazzo: ovirt-4.5+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github https://github.com/oVirt otopi pull 16 0 None None None 2022-03-02 15:18:28 UTC
Red Hat Issue Tracker RHV-45001 0 None None None 2022-03-02 14:17:13 UTC

Description etienne.muesse 2022-03-02 14:06:16 UTC
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".

Comment 1 Yedidyah Bar David 2022-03-02 14:28:12 UTC
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!

Comment 2 Yedidyah Bar David 2022-03-02 15:18:28 UTC
Pushed a PR. Please verify. Thanks!

Comment 3 etienne.muesse 2022-03-03 08:34:44 UTC
Thanks, PR works on AlmaLinux 8.5

Comment 4 Yedidyah Bar David 2022-03-03 10:50:30 UTC
(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?

Comment 5 Yedidyah Bar David 2022-03-03 10:50:51 UTC
QE: On CentOS/RHEL, sanity testing is enough (e.g. engine-setup doing an upgrade).

Comment 6 etienne.muesse 2022-03-03 10:55:32 UTC
Yes, I just replaced the packager.py file with your PR. After that I could finish engine-setup.

Comment 7 czadikem 2022-04-17 03:58:20 UTC
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

Comment 8 Yedidyah Bar David 2022-04-25 12:14:44 UTC
(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.

Comment 10 Sandro Bonazzola 2022-04-28 09:26:34 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.