Project

General

Profile

Actions

Bug #25684

closed

foreman-installer missing dependencies

Added by Sophian Mehboub over 5 years ago. Updated about 5 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Foreman modules
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Hello,

when I try to install the foreman with the katello scenario by this command

foreman-installer --scenario katello \
--foreman-initial-organization "Capensis" \
--foreman-initial-location "Lille" \
--foreman-proxy-content-puppet=false \
--puppet-agent=false \
--no-enable-puppet \
--puppet-server=false \
--puppet-server-ca=false \
--foreman-proxy-puppet=false \
--foreman-proxy-puppetca=false \
--foreman-proxy-manage-puppet-group=false \
--foreman-proxy-dhcp=false \
--foreman-proxy-dns=false \
--foreman-proxy-tftp=false \
--foreman-puppetrun=false

I get an error during the smart proxy registration step because apache isn't started at this time yet.
If I restart the installer, the problem doesn't appear anymore.

For the installation to succeed the first time, I have to do this.

sed -i 's/foreman_smartproxy { $foreman_proxy::registered_name:/foreman_smartproxy { $foreman_proxy::registered_name:\n require => Class['apache::service'],/g' \
/usr/share/foreman-installer/modules/foreman_proxy/manifests/register.pp

Technical environment :

Centos 7.5.1804
Foreman 1.19.0-1
Katello 3.8.0-5

Thanks in advance.
Rgs,

Sophian Mehboub


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #23054: Smart proxy register error when apache is not started first ClosedEwoud Kohl van WijngaardenActions
Actions #1

Updated by Tomer Brisker over 5 years ago

  • Project changed from Foreman to Installer
Actions #2

Updated by Ewoud Kohl van Wijngaarden over 5 years ago

  • Related to Bug #23054: Smart proxy register error when apache is not started first added
Actions #3

Updated by Ewoud Kohl van Wijngaarden over 5 years ago

  • Category set to Foreman modules
  • Triaged changed from No to Yes
  • Found in Releases 1.19.0 added

I think this is a duplicate of #23054 for which just last night I merged what I think is a fix. It'll be tricky to backport though but it's good to know a proper reproducer for this.

Actions #4

Updated by Ewoud Kohl van Wijngaarden about 5 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF