Problem:
I want to install TheForeman beside our Puppet Enterprise Server for provisioning’s aspect.
So I installed TheForeman without Puppet on a new server and also installed foreman smart-proxy
from rpm on our Puppet Enterprise server and configured Puppet and Puppetca smart-proxy.
But something is going wrong because I’ve an error when I start foreman-proxy service.
Expected outcome:
Smart proxies started
Foreman and Proxy versions:
1.17
Foreman and Proxy plugin versions:
1.17
Other relevant data:
smart-proxy logs:
W, [2018-06-14T15:28:24.850396 #4595] WARN – : Couldn’t find settings file /etc/foreman-proxy/settings.d/foreman_proxy.yml. Using default settings.
I, [2018-06-14T15:28:24.850535 #4595] INFO – : ‘foreman_proxy’ settings were initialized with default values: :enabled: true
I, [2018-06-14T15:28:24.852652 #4595] INFO – : ‘facts’ module is disabled.
I, [2018-06-14T15:28:24.852883 #4595] INFO – : ‘dns’ module is disabled.
I, [2018-06-14T15:28:24.853141 #4595] INFO – : ‘templates’ module is disabled.
I, [2018-06-14T15:28:24.853350 #4595] INFO – : ‘tftp’ module is disabled.
I, [2018-06-14T15:28:24.853606 #4595] INFO – : ‘dhcp’ module is disabled.
E, [2018-06-14T15:28:24.856357 #4595] ERROR – : Couldn’t enable plugin puppetca: Gem loading error: cannot load such file – puppet:/usr/share/gems/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:30:in strict_error'/n/usr/share/gems/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:56:in
rescue in block in system_require’/n/usr/share/gems/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:37:in block in system_require'/n/usr/share/gems/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:35:in
each’/n/usr/share/gems/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:35:in system_require'/n/usr/share/foreman-proxy/lib/bundler_helper.rb:22:in
require_groups’/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:153:in configure_plugin'/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:24:in
block in configure_loaded_plugins’/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:24:in each'/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:24:in
configure_loaded_plugins’/n/usr/share/foreman-proxy/lib/smart_proxy.rb:122:in launch'/n/usr/share/foreman-proxy/bin/smart-proxy:6:in
’
E, [2018-06-14T15:28:24.859397 #4595] ERROR – : Couldn’t enable plugin puppet: Gem loading error: cannot load such file – puppet:/usr/share/gems/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:30:in strict_error'/n/usr/share/gems/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:56:in
rescue in block in system_require’/n/usr/share/gems/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:37:in block in system_require'/n/usr/share/gems/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:35:in
each’/n/usr/share/gems/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:35:in system_require'/n/usr/share/foreman-proxy/lib/bundler_helper.rb:22:in
require_groups’/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:153:in configure_plugin'/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:24:in
block in configure_loaded_plugins’/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:24:in each'/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:24:in
configure_loaded_plugins’/n/usr/share/foreman-proxy/lib/smart_proxy.rb:122:in launch'/n/usr/share/foreman-proxy/bin/smart-proxy:6:in
’
I, [2018-06-14T15:28:24.859623 #4595] INFO – : ‘bmc’ module is disabled.
I, [2018-06-14T15:28:24.859951 #4595] INFO – : ‘realm’ module is disabled.
W, [2018-06-14T15:28:24.860094 #4595] WARN – : Missing SSL setup, https is disabled.
E, [2018-06-14T15:28:24.860162 #4595] ERROR – : Both http and https are disabled, unable to start.
Maybe someone could help for understanding this error message and find out the issue.
Best Regards