Foreman 3.0 and Katello 4.2 Installation problem

[root@foreman ~]# foreman-installer --scenario katello --foreman-initial-organization “Company” --foreman-initial-location “Location” --foreman-initial-admin-username admin --foreman-initial-admin-password Pa$$w0rd
2021-09-30 20:33:48 [NOTICE] [root] Loading installer configuration. This will take some time.
2021-09-30 20:34:03 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2021-09-30 20:34:03 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2021-09-30 20:34:31 [NOTICE] [configure] Starting system configuration.
2021-09-30 20:34:45 [NOTICE] [configure] 250 configuration steps out of 1899 steps complete.
2021-09-30 20:34:47 [NOTICE] [configure] 500 configuration steps out of 1901 steps complete.
2021-09-30 20:34:50 [NOTICE] [configure] 750 configuration steps out of 1903 steps complete.
2021-09-30 20:34:51 [NOTICE] [configure] 1000 configuration steps out of 1909 steps complete.
2021-09-30 20:34:52 [NOTICE] [configure] 1250 configuration steps out of 1911 steps complete.
2021-09-30 20:35:28 [NOTICE] [configure] 1500 configuration steps out of 1911 steps complete.
2021-09-30 20:35:28 [NOTICE] [configure] 1750 configuration steps out of 1911 steps complete.
2021-09-30 20:35:29 [ERROR ] [configure] ‘pulpcore-manager migrate --noinput’ returned 1 instead of one of [0]
2021-09-30 20:35:29 [ERROR ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: change from ‘notrun’ to [‘0’] failed: ‘pulpcore-manager migrate --noinput’ returned 1 instead of one of [0]
2021-09-30 20:35:31 [NOTICE] [configure] System configuration has finished.

There were errors detected during install.
Please address the errors and re-run the installer to ensure the system is properly configured.
Failing to do so is likely to result in broken functionality.

The full log is at /var/log/foreman-installer/katello.log
[root@foreman ~]# pulpcore-manager migrate
Traceback (most recent call last):
File “/bin/pulpcore-manager”, line 6, in
from pkg_resources import load_entry_point
File “/usr/lib/python3.6/site-packages/pkg_resources/”, line 3095, in
File “/usr/lib/python3.6/site-packages/pkg_resources/”, line 3079, in _call_aside
f(*args, **kwargs)
File “/usr/lib/python3.6/site-packages/pkg_resources/”, line 3108, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File “/usr/lib/python3.6/site-packages/pkg_resources/”, line 570, in _build_master
File “/usr/lib/python3.6/site-packages/pkg_resources/”, line 888, in require
needed = self.resolve(parse_requirements(requirements))
File “/usr/lib/python3.6/site-packages/pkg_resources/”, line 774, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The ‘markuppy’ distribution was not found and is required by tablib

**Expected outcome: Finish Installation

**Foreman and Proxy versions: Foreman version 3.0 and Katello 4.2

**Distribution and version: CentOS Stream Release 8

Other relevant data:

katello.log (2.8 MB)

I’m fairly sure the root cause here is that you have EPEL enabled, per the documentation EPEL is not supported on CentOS 8.

1 Like

Yupp, the underlying bug is 1986965 – python3-tablib has an undeclared dependency on MarkupPy

You can install python3-markuppy manually and it should work afterwards, but Mamba is right - we don’t test and thus don’t support installations with EPEL8 enabled.

Hello Evgeni,

Installing the python3-markuppy package manually and with the EPEL enabled I was able to run the installer without any problem.