Project

General

Profile

Bug #32003

can't deploy katello/candlepin - enable_only is missing

Added by benjamin tuffreau 8 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
RPMs
Target version:

Description

Hello,

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.

Associated revisions

Revision 3cf9359c (diff)
Added by Ewoud Kohl van Wijngaarden 7 months ago

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
foreman-installer-katello package.

History

#1 Updated by Ewoud Kohl van Wijngaarden 8 months ago

Which Puppet version are you using? enable_only was added in Puppet 5.5.20 and 6.15.0.

#2 Updated by Ewoud Kohl van Wijngaarden 8 months ago

  • Category changed from foreman-installer script to RPMs
  • Project changed from Installer to Packaging

#3 Updated by The Foreman Bot 8 months ago

  • Assignee set to Ewoud Kohl van Wijngaarden
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-packaging/pull/6368 added

#4 Updated by benjamin tuffreau 8 months ago

Ewoud Kohl van Wijngaarden wrote:

Which Puppet version are you using? enable_only was added in Puppet 5.5.20 and 6.15.0.

That was the issue indeed, I've upgraded to 6.21 and deployed a fresh katello 4 instance without any problem.

Thank you!

#5 Updated by The Foreman Bot 7 months ago

  • Fixed in Releases 2.5.0 added

#6 Updated by The Foreman Bot 7 months ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/6436 added

#7 Updated by Ewoud Kohl van Wijngaarden 7 months ago

  • Status changed from Ready For Testing to Closed

#8 Updated by Ewoud Kohl van Wijngaarden 7 months ago

  • Triaged changed from No to Yes
  • Target version set to 2.4.0
  • Fixed in Releases 2.4.0 added
  • Fixed in Releases deleted (2.5.0)

Also available in: Atom PDF