Bug #18831
closedforeman-installer --scenario foreman-proxy-content installation failed
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
Updated by Justin Sherrill almost 8 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:
- grep oauth_secret /etc/pulp/server.conf
oauth_secret: bCaz7LBVgKU3uoARGMgvsFcqdjxKYheQ
Updated by Justin Sherrill almost 8 years ago
- Status changed from New to Need more information
Updated by Denis Müller almost 8 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:
- grep oauth_secret /etc/pulp/server.conf
oauth_secret: bCaz7LBVgKU3uoARGMgvsFcqdjxKYheQ
Worked for me. Thank you.
Updated by Justin Sherrill almost 8 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!
Updated by Sean O'Keeffe over 7 years ago
- Related to Bug #18818: posttrans(foreman-installer-katello-3.3.0-5.el7.noarch) scriptlet failed added