Page 1 of 1

Offline installation on RHEL 8.2 fails

Posted: Thu Sep 03, 2020 5:39 am
by odino2016
Hello,
I'm trying to install nagiosxi on a new RHEL 8.2 in offline mode.
I've locally synced all the repos needed but when I try to run the fullinstall script I get back this error message even if no previous nagios packages have been installed on this machine.

Any Idea what could be the issue?
Updating Subscription Management repositories.
Last metadata expiration check: 0:36:42 ago on Thu Sep 3 09:45:38 2020.
Error:
Problem 1: conflicting requests
- nothing provides graphviz = 2.40.1-39.el8 needed by graphviz-gd-2.40.1-39.el8.x86_64
Problem 2: package nagiosxi-nxti-5.7.2-1.el8.x86_64 conflicts with snmptt provided by snmptt-1.4-0.1.el8.noarch
- conflicting requests
Problem 3: package nagiosxi-shellinabox-5.7.2-1.el8.x86_64 conflicts with shellinabox provided by shellinabox-2.20-9.el8.x86_64
- conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, fapolicyd, generate_completion_cache, needs-restarting, playground, product-id, repoclosure, repodiff, repograph, repomanage, reposync, subscription-manager, uploadprofile
Updating Subscription Management repositories.
DNF version: 4.2.17
cachedir: /var/cache/dnf
User-Agent: constructed: 'libdnf (Red Hat Enterprise Linux 8.2; generic; Linux.x86_64)'
repo: using cache for: dvd-BaseOS
dvd-BaseOS: using metadata from Sat Apr 4 07:52:33 2020.
repo: using cache for: dvd-AppStream
dvd-AppStream: using metadata from Sat Apr 4 07:52:03 2020.
repo: using cache for: local-codeready
local-codeready: using metadata from Mon Aug 10 14:10:01 2020.
repo: using cache for: local-epel
local-epel: using metadata from Wed Sep 2 13:45:29 2020.
repo: using cache for: local-epel-modular
local-epel-modular: using metadata from Mon Aug 31 16:17:09 2020.
repo: using cache for: local-nagios-base
local-nagios-base: using metadata from Tue Aug 18 18:59:38 2020.
repo: using cache for: local-nagiosxi-deps
local-nagiosxi-deps: using metadata from Mon Aug 10 22:27:50 2020.
Last metadata expiration check: 0:48:02 ago on Thu Sep 3 09:45:38 2020.
Completion plugin: Generating completion cache...

Repo-id : dvd-AppStream
Repo-name : DVD for RHEL8 - AppStream
Repo-revision : 1585986722
Repo-updated : Sat Apr 4 07:52:03 2020
Repo-pkgs : 5359
Repo-available-pkgs: 4924
Repo-size : 6.2 G
Repo-baseurl : file:///mnt/disc/AppStream
Repo-expire : 172800 second(s) (last: Thu Sep 3 09:45:33 2020)
Repo-filename : /etc/yum.repos.d/rhel8dvd.repo

Repo-id : dvd-BaseOS
Repo-name : DVD for RHEL8 - BaseOS
Repo-revision : 1585986753
Repo-updated : Sat Apr 4 07:52:33 2020
Repo-pkgs : 1681
Repo-available-pkgs: 1679
Repo-size : 1.0 G
Repo-baseurl : file:///mnt/disc/BaseOS
Repo-expire : 172800 second(s) (last: Thu Sep 3 09:45:32 2020)
Repo-filename : /etc/yum.repos.d/rhel8dvd.repo

Repo-id : local-codeready
Repo-name : Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs)
Repo-revision : 1597068601
Repo-updated : Mon Aug 10 14:10:01 2020
Repo-pkgs : 2999
Repo-available-pkgs: 2207
Repo-size : 1.9 G
Repo-baseurl : file:///opt/repo/CodeReady/codeready-builder-for-rhel-8-x86_64-rpms/
Repo-expire : 172800 second(s) (last: Thu Sep 3 09:45:34 2020)
Repo-filename : /etc/yum.repos.d/rhel8dvd.repo

Repo-id : local-epel
Repo-name : Extra Packages for Enterprise Linux 8 - x86_64
Repo-revision : 1599054295
Repo-updated : Wed Sep 2 13:45:29 2020
Repo-pkgs : 6368
Repo-available-pkgs: 6367
Repo-size : 9.0 G
Repo-baseurl : file:///opt/repo/epel
Repo-expire : 172800 second(s) (last: Thu Sep 3 09:45:35 2020)
Repo-filename : /etc/yum.repos.d/rhel8dvd.repo

Repo-id : local-epel-modular
Repo-name : Extra Packages for Enterprise Linux Modular 8 - x86_64
Repo-revision : 1598890608
Repo-updated : Mon Aug 31 16:17:09 2020
Repo-pkgs : 72
Repo-available-pkgs: 0
Repo-size : 78 M
Repo-baseurl : file:///opt/repo/epel-modular
Repo-expire : 172800 second(s) (last: Thu Sep 3 09:45:38 2020)
Repo-filename : /etc/yum.repos.d/rhel8dvd.repo

Repo-id : local-nagios-base
Repo-name : Nagios
Repo-revision : 1597777184
Repo-updated : Tue Aug 18 18:59:38 2020
Repo-pkgs : 19
Repo-available-pkgs: 19
Repo-size : 150 M
Repo-baseurl : file:///opt/repo/nagios-base
Repo-expire : 172800 second(s) (last: Thu Sep 3 09:45:38 2020)
Repo-filename : /etc/yum.repos.d/rhel8dvd.repo

Repo-id : local-nagiosxi-deps
Repo-name : Nagios XI Dependencies
Repo-revision : 1597098478
Repo-updated : Mon Aug 10 22:27:50 2020
Repo-pkgs : 28
Repo-available-pkgs: 28
Repo-size : 4.4 M
Repo-baseurl : file:///opt/repo/nagiosxi-deps
Repo-expire : 172800 second(s) (last: Thu Sep 3 09:45:38 2020)
Repo-filename : /etc/yum.repos.d/rhel8dvd.repo
Total packages: 16526
[root@ngsx nagiosxi]# cat /etc/*lease
NAME="Red Hat Enterprise Linux"
VERSION="8.2 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.2"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.2 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.2:GA"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.2
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.2"
Red Hat Enterprise Linux release 8.2 (Ootpa)
Red Hat Enterprise Linux release 8.2 (Ootpa)

Re: Offline installation on RHEL 8.2 fails

Posted: Thu Sep 03, 2020 4:42 pm
by ssax
There isn't currently an EL8 offline package, you may have additional issues trying to do what you're doing because the main nagiosxi RPM is NOT meant for offline systems and still calls out for things during the installation:

https://repo.nagios.com/?repo=offline

Here are the deps for EL8 but I can't guarantee you doing what you're doing is going to upgrade it properly if if the main nagiosxi RPM can't reach out and do what it needs to do:

https://repo.nagios.com/nagiosxi-deps/8/

You'll likely need to wait for the EL8 offline package or grant online access to the system.

Edited for clarity

Re: Offline installation on RHEL 8.2 fails

Posted: Mon Sep 07, 2020 3:16 am
by odino2016
Thanks ssax for the info.
I saw this package nagiosxi-5.7.2-1.el8.x86_64.tar.gz in the offline repo and tought it was for RHEL 8.

Do you have a roadmap for the offline installation on REHL 8? We've to build a system based on rhel 8 that can't be connected online in any way.

Thanks for the support.

Re: Offline installation on RHEL 8.2 fails

Posted: Tue Sep 08, 2020 3:58 pm
by lmiltchev
We are still testing the RPM installs that will be bundled into an offline install. I don't have the exact ETA but they should be available soon. Thank you!