Project

General

Profile

Actions

Bug #18831

closed

foreman-installer --scenario foreman-proxy-content installation failed

Added by Denis Müller about 7 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
High
Category:
Foreman Proxy Content
Target version:
Difficulty:
medium
Triaged:
Fixed in Releases:
Found in Releases:

Description

After following this guide:https://theforeman.org/plugins/katello/3.3/installation/smart_proxy.html i'm getting this error:

Something went wrong! Check the log for ERROR-level output
The full log is at /var/log/foreman-installer/foreman-proxy-content.log
/usr/share/katello-installer-base/hooks/post/29-create_package_httpd_conf.rb:13:in `initialize': No such file or directory - /etc/httpd/conf.d/pulp.conf (Errno::ENOENT)
from /usr/share/katello-installer-base/hooks/post/29-create_package_httpd_conf.rb:13:in `open'
from /usr/share/katello-installer-base/hooks/post/29-create_package_httpd_conf.rb:13:in `block (5 levels) in load'
from /usr/share/katello-installer-base/hooks/post/29-create_package_httpd_conf.rb:11:in `each'
from /usr/share/katello-installer-base/hooks/post/29-create_package_httpd_conf.rb:11:in `block (4 levels) in load'
from /usr/share/gems/gems/kafo-1.0.5/lib/kafo/hooking.rb:34:in `instance_eval'
from /usr/share/gems/gems/kafo-1.0.5/lib/kafo/hooking.rb:34:in `block (4 levels) in load'
from /usr/share/gems/gems/kafo-1.0.5/lib/kafo/hook_context.rb:15:in `instance_exec'
from /usr/share/gems/gems/kafo-1.0.5/lib/kafo/hook_context.rb:15:in `execute'
from /usr/share/gems/gems/kafo-1.0.5/lib/kafo/hooking.rb:51:in `block in execute'
from /usr/share/gems/gems/kafo-1.0.5/lib/kafo/hooking.rb:49:in `each'
from /usr/share/gems/gems/kafo-1.0.5/lib/kafo/hooking.rb:49:in `execute'
from /usr/share/gems/gems/kafo-1.0.5/lib/kafo/kafo_configure.rb:455:in `block in run_installation'
from /usr/share/gems/gems/kafo-1.0.5/lib/kafo/exit_handler.rb:27:in `call'
from /usr/share/gems/gems/kafo-1.0.5/lib/kafo/exit_handler.rb:27:in `exit'
from /usr/share/gems/gems/kafo-1.0.5/lib/kafo/kafo_configure.rb:160:in `exit'
from /usr/share/gems/gems/kafo-1.0.5/lib/kafo/kafo_configure.rb:454:in `run_installation'
from /usr/share/gems/gems/kafo-1.0.5/lib/kafo/kafo_configure.rb:147:in `execute'
from /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:68:in `run'
from /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:133:in `run'
from /usr/share/gems/gems/kafo-1.0.5/lib/kafo/kafo_configure.rb:154:in `run'
from /usr/sbin/foreman-installer:8:in `<main>'

Files

foreman-proxy-content.log foreman-proxy-content.log 244 KB Denis Müller, 03/08/2017 03:36 AM

Related issues 1 (0 open1 closed)

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

Updated by Justin Sherrill about 7 years ago

It looks like the docs may just be wrong. Can you try with

--foreman-proxy-content-pulp-oauth-secret=XXXXXXXXXXXXXXXXXXXXXX

where XXXXXXXXXXXXXXXXXXXXXX is the oauth token from your /etc/pulp/server.conf on your Foreman/Katello server:

  1. grep oauth_secret /etc/pulp/server.conf

oauth_secret: bCaz7LBVgKU3uoARGMgvsFcqdjxKYheQ

Actions #2

Updated by Justin Sherrill about 7 years ago

  • Assignee set to Justin Sherrill
Actions #3

Updated by Justin Sherrill about 7 years ago

  • Status changed from New to Need more information
Actions #4

Updated by Denis Müller about 7 years ago

Justin Sherrill wrote:

It looks like the docs may just be wrong. Can you try with

--foreman-proxy-content-pulp-oauth-secret=XXXXXXXXXXXXXXXXXXXXXX

where XXXXXXXXXXXXXXXXXXXXXX is the oauth token from your /etc/pulp/server.conf on your Foreman/Katello server:

  1. grep oauth_secret /etc/pulp/server.conf

oauth_secret: bCaz7LBVgKU3uoARGMgvsFcqdjxKYheQ

Worked for me. Thank you.

Actions #5

Updated by Justin Sherrill about 7 years ago

  • Status changed from Need more information to Rejected
  • translation missing: en.field_release set to 166

This was fixed as part of a docs update. Thanks for testing that option!

Actions #6

Updated by Sean O'Keeffe over 6 years ago

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

Also available in: Atom PDF