Project

General

Profile

Actions

Bug #20615

closed

Installer doesnt work unless you run --help first.

Added by Sean O'Keeffe over 6 years ago. Updated almost 6 years ago.

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

Description

Do the following results in a error just like http://projects.theforeman.org/issues/18831:

yum remove foreman-installer -y ; rm -rf /etc/foreman-installer/
yum install foreman-proxy-content -y
cp ~/foreman-proxy-content-answers.yaml /etc/foreman-installer/scenarios.d/foreman-proxy-content-answers.yaml
foreman-installer --scenario foreman-proxy-content --disable-system-checks

But doing the works (notice the extra --help cmd):

yum remove foreman-installer -y ; rm -rf /etc/foreman-installer/
yum install foreman-proxy-content -y
cp ~/foreman-proxy-content-answers.yaml /etc/foreman-installer/scenarios.d/foreman-proxy-content-answers.yaml
foreman-installer --scenario foreman-proxy-content --help
foreman-installer --scenario foreman-proxy-content --disable-system-checks

See https://paste.fedoraproject.org/paste/TXYAHsmLXYfui44Bxqdbcw for a copy of ~/foreman-proxy-content-answers.yaml. Its just the original foreman-proxy-content-answers.yaml file with the extra vars you get when generating the Proxy certs tar. e.g

--foreman-proxy-content-parent-fqdn   "katello.example.com"\
--foreman-proxy-register-in-foreman "true"\
--foreman-proxy-foreman-base-url "https://katello.example.com"\
--foreman-proxy-trusted-hosts "katello.example.com"\
--foreman-proxy-trusted-hosts "myproxy.example.com"\
--foreman-proxy-oauth-consumer-key "UVrAZfMaCfBiiWejoUVLYCZHT2xhzuFV"\
--foreman-proxy-oauth-consumer-secret "ZhH8p7M577ttNU3WmUGWASag3JeXKgUX"\
--foreman-proxy-content-certs-tar "/root/myproxy.example.com-certs.tar"

Related issues 1 (0 open1 closed)

Has duplicate Katello - Bug #18818: posttrans(foreman-installer-katello-3.3.0-5.el7.noarch) scriptlet failedClosedEric Helms03/07/2017Actions
Actions #1

Updated by Eric Helms over 6 years ago

  • translation missing: en.field_release set to 114
Actions #2

Updated by Sean O'Keeffe over 6 years ago

  • Has duplicate Bug #18818: posttrans(foreman-installer-katello-3.3.0-5.el7.noarch) scriptlet failed added
Actions #3

Updated by Sean O'Keeffe over 6 years ago

  • Status changed from New to Duplicate
Actions #4

Updated by Sean O'Keeffe over 6 years ago

  • translation missing: en.field_release changed from 114 to 166
Actions

Also available in: Atom PDF