centreon-poller rpm package relies on perl-dbd-mysql
hecko opened this issue · 1 comments
hecko commented
Feature explanation
Remove hard dependency on perl-dbd-mysql rpm package from RHEL8 for centreon-poller rpm
What is the value of the wanted feature ?
RH officially supported UBI8 Docker layer does not offer this package in the list of supported packages
https://hub.docker.com/r/redhat/ubi8
Additional information
perl DBD::MySQL module can be installed using cpanm, but the dependency in centreon-poller does not detect the module being installed.
Dockerfile snippet:
RUN dnf install -y \
perl-App-cpanminus \
&& dnf clean all
RUN cpanm -v DBD::mysql
Output from Docker image build:
Step 35/84 : RUN dnf install -y centreon-poller && dnf clean all
---> Running in 8528de754013
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.
Centreon open source software repository. 27 MB/s | 2.5 MB 00:00
Centreon open source software repository. 2.3 MB/s | 206 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 25 MB/s | 13 MB 00:00
Extra Packages for Enterprise Linux Modular 8 - 420 kB/s | 733 kB 00:01
Ghettoforge packages that won't overwrite core 1.7 MB/s | 111 kB 00:00
Ghettoforge packages that will overwrite core d 970 kB/s | 59 kB 00:00
Red Hat Universal Base Image 8 (RPMs) - BaseOS 9.8 MB/s | 810 kB 00:00
Red Hat Universal Base Image 8 (RPMs) - AppStre 29 MB/s | 3.0 MB 00:00
Red Hat Universal Base Image 8 (RPMs) - CodeRea 329 kB/s | 20 kB 00:00
Error:
Problem: cannot install the best candidate for the job
- nothing provides perl-DBD-MySQL needed by centreon-poller-centreon-engine-21.04.20-2.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
The command '/bin/bash -o pipefail -c dnf install -y centreon-poller && dnf clean all' returned a non-zero code: 1
Error: Process completed with exit code 1.
hecko commented
Im closing this. The UBI8 distro has multiple issues running centreon, not just this limitation. Ill re-open the issue if reasonable.