[ZBX-24291] Server and Proxy packages fail to install on Red Hat Universal Base Images Created: 2024 Apr 02 Updated: 2024 Jul 03 Resolved: 2024 Jun 07 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Packages (C), Proxy (P), Server (S) |
Affects Version/s: | 6.0.29rc1, 6.4.14rc1, 7.0.0beta2 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Juris Lambda | Assignee: | Arturs Dancis |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Red Hat Universal Base Image 8, Red Hat Universal Base Image 9 |
Team: | |
Story Points: | 0.1 |
Description |
The zabbix-{server,proxy}-* fail to install on Red Hat Universal Base Image 8 and 9 systems due to the applications depending on libOpenIPMI.so and libOpenIPMIposix.so libraries, which are not provided by any package in the package manager repositories enabled by default. This has made the packages unusable on systems based on these images. An example excerpt of attempting to install zabbix-{server,proxy}-pgsql 6.4 packages on UBI9: [root@fb72629ed1d6 ~]# dnf install -y zabbix-{server,proxy}-pgsql Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. Last metadata expiration check: 0:16:55 ago on Tue Apr 2 10:24:32 2024. Error: Problem 1: cannot install the best candidate for the job - nothing provides libOpenIPMI.so.0()(64bit) needed by zabbix-server-pgsql-6.4.13-release1.el9.x86_64 from zabbix - nothing provides libOpenIPMIposix.so.0()(64bit) needed by zabbix-server-pgsql-6.4.13-release1.el9.x86_64 from zabbix Problem 2: cannot install the best candidate for the job - nothing provides libOpenIPMI.so.0()(64bit) needed by zabbix-proxy-pgsql-6.4.13-release1.el9.x86_64 from zabbix - nothing provides libOpenIPMIposix.so.0()(64bit) needed by zabbix-proxy-pgsql-6.4.13-release1.el9.x86_64 from zabbix (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) [root@fb72629ed1d6 ~]# |
Comments |
Comment by Juris Lambda [ 2024 Apr 02 ] |
So, the libraries are provided by the OpenIPMI-libs package, which is not available in the ubi repositories, and is instead provided by the redhat-#-for-[arch]-appstream-rpms repository. Access to this repository is curated via subscriptions, which in the case of ubi containers, get propagated by mounting repository configuration and secrets directories of the RHEL host into the container file-system namespace. This is described more in detail here and a user discussion here. This is also how the RHEL Zabbix container images are bootstrapped, as seen here. I ran into this with containers running on a Fedora 39 host, which obviously does not have subscriptions to these repositories. A thank you goes out to dotneft for pointing this out. As the packages are labeled as intended for RHEL systems (not RHEL compliant environments), I would consider this to be a user error. Should I CLOSE this as WON'T FIX? |
Comment by Arturs Dancis [ 2024 Jun 06 ] |
Documentation updated: |
Comment by Daniel Black [ 2024 Jun 30 ] |
Note - https://developers.redhat.com/articles/ubi-faq #34 - you can request packages to be added. I requested two recently and both where processed within a day. Notably it was added to ubi 9 repo and not 8. |