Project

General

Profile

Bug #18831

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

Added by Denis Müller about 5 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
High
Category:
Foreman Proxy Content
Target version:
Difficulty:
medium
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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>'
foreman-proxy-content.log foreman-proxy-content.log 244 KB Denis Müller, 03/08/2017 03:36 AM

Related issues

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

History

#1 Updated by Justin Sherrill about 5 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

#2 Updated by Justin Sherrill about 5 years ago

  • Assignee set to Justin Sherrill

#3 Updated by Justin Sherrill about 5 years ago

  • Status changed from New to Need more information

#4 Updated by Denis Müller about 5 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.

#5 Updated by Justin Sherrill about 5 years ago

  • Status changed from Need more information to Rejected
  • Legacy Backlogs Release (now unused) set to 166

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

#6 Updated by Sean O'Keeffe almost 5 years ago

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

Also available in: Atom PDF