Project

General

Profile

Actions

Bug #17492

closed

smart proxy with content installer documentation is wrong

Added by Slava Bendersky over 7 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
High
Category:
Documentation
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hello Everyone,
Having issue run installer for new capsule.
It look like it try use mix of options from different scenario

[root@cacap00 ~]#  foreman-installer --scenario capsule\
>                     --capsule-parent-fqdn                         "my.primary.com"\
>                     --foreman-proxy-register-in-foreman           "true"\
>                     --foreman-proxy-foreman-base-url              "https://my.primary.com"\
>                     --foreman-proxy-trusted-hosts                 "my.primary.com"\
>                     --foreman-proxy-trusted-hosts                 "my.capsule.com"\
>                     --foreman-proxy-oauth-consumer-key            ""\
>                     --foreman-proxy-oauth-consumer-secret         ""\
>                     --capsule-pulp-oauth-secret                   ""\
>                     --capsule-certs-tar                           "~/my.capsule.com-certs.tar" 

ERROR: Unrecognised option '--foreman-proxy-register-in-foreman'

See: 'foreman-installer --help'

[root@cacap00 ~]# rpm -qa | grep katello
katello-capsule-3.2.0-4.el7.noarch
katello-ca-consumer-my.primary.com-1.0-1.noarch
katello-client-bootstrap-1.1.0-1.el7.noarch
katello-agent-fact-plugin-2.7.0-1.el7.noarch
katello-default-ca-1.0-1.noarch
katello-installer-base-3.2.1-1.el7.noarch
katello-debug-3.2.0-4.el7.noarch
python-urllib3-1.10.2-2.katello.el7.noarch
katello-service-3.2.0-4.el7.noarch
katello-server-ca-1.0-1.noarch
katello-certs-tools-2.4.0-1.el7.noarch
katello-agent-2.7.0-1.el7.noarch
katello-selinux-3.0.1-1.el7.noarch
foreman-installer-katello-3.2.1-1.el7.noarch
Actions #1

Updated by Slava Bendersky over 7 years ago

Also based on this wiki

https://theforeman.org/plugins/katello/3.2/installation/capsule.html

non of the options doesn't match installer.

Actions #2

Updated by Justin Sherrill over 7 years ago

  • Subject changed from capsule installer to smart proxy with content installer documentation is wrong
  • Category changed from Installer to Documentation
  • Translation missing: en.field_release changed from 162 to 188
Actions #3

Updated by Rudnei Bertol Jr. over 7 years ago

Try this workaround.

I'm installing this (foreman-installer foreman-installer-katello) manually packages and after running normally foreman-installer.

yum install foreman-installer foreman-installer-katello
foreman-installer --scenario foreman-proxy-content\
--foreman-proxy-content-parent-fqdn "FQDN-KATELLO"\
--foreman-proxy-register-in-foreman "true"\
--foreman-proxy-foreman-base-url "https://FQDN-KATELLO"\
--foreman-proxy-trusted-hosts "FQDN-KATELLO"\
--foreman-proxy-trusted-hosts "FQDN-SMART-PROXY"\
--foreman-proxy-oauth-consumer-key "FOREMAN-KEY"\
--foreman-proxy-oauth-consumer-secret "FOREMAN-SECRET"\
--foreman-proxy-content-pulp-oauth-secret "PULP-PASSWORD"\
--foreman-proxy-content-certs-tar "/root/CAPSULE-CERTIFICATE"
Actions #4

Updated by Justin Sherrill over 7 years ago

  • Status changed from New to Resolved
  • Assignee set to Justin Sherrill
Actions

Also available in: Atom PDF