can't deploy katello/candlepin - enable_only is missing
When attempting to deploy katello 4 (katello-4.0.0-0.9.rc2.el8), I get:
[root@rhel8-1 functions]# foreman-installer --scenario katello 2021-03-03 14:02:38 [NOTICE] [root] Loading default values from puppet modules... 2021-03-03 14:02:42 [NOTICE] [root] ... finished 2021-03-03 14:02:45 [NOTICE] [root] Running validation checks 2021-03-03 14:02:46 [NOTICE] [configure] Starting system configuration. The total number of configuration tasks may increase during the run. Observe logs or specify --verbose-log-level to see individual configuration tasks. 2021-03-03 14:02:52 [ERROR ] [configure] no parameter named 'enable_only' (file: /usr/share/foreman-installer/modules/candlepin/manifests/install.pp, line: 15) on Package[pki-core] (file: /usr/share/foreman-installer/modules/candlepin/manifests/install.pp, line: 15) on node rhel8-1.internal.lab 2021-03-03 14:02:52 [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@rhel8-1 functions]# dnf module list pki-core Updating Subscription Management repositories. Last metadata expiration check: 0:07:48 ago on Wed 03 Mar 2021 01:55:21 PM CET. Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) Name Stream Profiles Summary pki-core 10.6 [e] PKI Core module for PKI 10.6 or later Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled [root@rhel8-1 functions]# lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: RedHatEnterprise Description: Red Hat Enterprise Linux release 8.3 (Ootpa) Release: 8.3 Codename: Ootpa
I've checked against the latest foreman-installer (nightly) and I got the same output.
I've commented out the block from the /usr/share/foreman-installer/modules/candlepin/manifests/install.pp to move forward.
Fixes #32003 - Require Puppet with DNF module support
On EL8 DNF module support in Puppet is needed. This was introduced in
Puppet 5.5.20 and Puppet 6.15.0. By requiring this at the packaging
level, any incompatibility is handled. It uses rich dependencies only
available on EL8.
This is only relevant for the katello package so it's added to the
#7 Updated by Ewoud Kohl van Wijngaarden 7 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman-packaging|3cf9359ce338ac7c98855d44aca7b5dfa48280d1.