Project

General

Profile

Bug #20615

Installer doesnt work unless you run --help first.

Added by Sean O'Keeffe almost 3 years ago. Updated almost 2 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
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

Has duplicate Katello - Bug #18818: posttrans(foreman-installer-katello-3.3.0-5.el7.noarch) scriptlet failedClosed2017-03-07

History

#1 Updated by Eric Helms almost 3 years ago

  • Legacy Backlogs Release (now unused) set to 114

#2 Updated by Sean O'Keeffe almost 3 years ago

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

#3 Updated by Sean O'Keeffe almost 3 years ago

  • Status changed from New to Duplicate

#4 Updated by Sean O'Keeffe almost 3 years ago

  • Legacy Backlogs Release (now unused) changed from 114 to 166

Also available in: Atom PDF