Project

General

Profile

Actions

Bug #32003

closed

can't deploy katello/candlepin - enable_only is missing

Added by benjamin tuffreau about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
RPMs
Target version:
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Ewoud Kohl van Wijngaarden about 3 years ago

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

Actions #2

Updated by Ewoud Kohl van Wijngaarden about 3 years ago

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

Updated by The Foreman Bot about 3 years ago

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

Updated by benjamin tuffreau about 3 years 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!

Actions #5

Updated by The Foreman Bot about 3 years ago

  • Fixed in Releases 2.5.0 added
Actions #6

Updated by The Foreman Bot about 3 years ago

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

Updated by Ewoud Kohl van Wijngaarden about 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #8

Updated by Ewoud Kohl van Wijngaarden about 3 years ago

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

Also available in: Atom PDF