General Bug in foreman-installer? Even fresh install does not work anymore

Good Evening together,

my foreman-installer always throws the same exception in different installation scenarios:

  1. Foreman 1.16.0 and Puppet 4 -> Upgrade to 1.16.0 and Puppet 5
  2. Foreman 1.16.0 and Puppet 4 -> Upgrade to Foreman 1.17.0 RC1
  3. Fresh Installation of a new Foreman Server -> Foreman 1.16.0 and Puppet 5

I always get a bunch of Exceptions and i really dont know whats the problem, because it even causes on a new server setup with foreman-installer at firstinstall. Ive never have this before, start foreman using at 1.13.0.

>     [DEBUG 2018-03-02 18:52:16 main] Exit with status code: 6 (signal was 6)
> [ERROR 2018-03-02 18:52:16 main] Errors encountered during run:
> [ERROR 2018-03-02 18:52:16 main]  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[puppetmaster03.xxxx.com]: Could not evaluate: Exception 404 "Not Found" in get request to: https://puppetmaster03.xxxx.com/api/v2/smart_proxies?search=name=%22puppetmaster03.xxxx.com%22
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_resource/rest_v3.rb:89:in `rescue in request'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_resource/rest_v3.rb:71:in `request'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:6:in `proxy'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:13:in `id'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:17:in `exists?'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property/ensure.rb:81:in `retrieve'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type.rb:1070:in `retrieve'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type.rb:1098:in `retrieve_resource'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:302:in `from_resource'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:20:in `evaluate'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:257:in `apply'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:277:in `eval_resource'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:181:in `call'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:181:in `block (2 levels) in evaluate'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:517:in `block in thinmark'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:516:in `thinmark'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:181:in `block in evaluate'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:121:in `traverse'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:171:in `evaluate'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/gems/gems/kafo-2.0.1/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:30:in `evaluate_with_trigger'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:238:in `block in apply'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/log.rb:156:in `with_destination'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/report.rb:144:in `as_logging_destination'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:237:in `apply'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:174:in `block in apply_catalog'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:232:in `block in benchmark'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:231:in `benchmark'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:173:in `apply_catalog'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:348:in `run_internal'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:224:in `block in run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:198:in `run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:354:in `apply_catalog'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:280:in `block (2 levels) in main'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:280:in `block in main'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:233:in `main'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:174:in `run_command'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `block in run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:665:in `exit_on_fail'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:73:in `execute'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/bin/puppet:5:in `<main>'
> [ERROR 2018-03-02 18:52:16 main] Wrapped exception:
> [ERROR 2018-03-02 18:52:16 main] 404 "Not Found"
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/net/http/response.rb:122:in `error!'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/net/http/response.rb:131:in `value'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/net/http.rb:925:in `connect'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/net/http.rb:887:in `do_start'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/net/http.rb:876:in `start'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/net/http.rb:1407:in `request'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/gems/2.4.0/gems/oauth-0.5.1/lib/oauth/consumer.rb:161:in `request'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_resource/rest_v3.rb:76:in `request'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:6:in `proxy'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:13:in `id'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:17:in `exists?'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property/ensure.rb:81:in `retrieve'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type.rb:1070:in `retrieve'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type.rb:1098:in `retrieve_resource'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:302:in `from_resource'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:20:in `evaluate'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:257:in `apply'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:277:in `eval_resource'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:181:in `call'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:181:in `block (2 levels) in evaluate'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:517:in `block in thinmark'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:516:in `thinmark'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:181:in `block in evaluate'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:121:in `traverse'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:171:in `evaluate'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/gems/gems/kafo-2.0.1/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:30:in `evaluate_with_trigger'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:238:in `block in apply'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/log.rb:156:in `with_destination'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/report.rb:144:in `as_logging_destination'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:237:in `apply'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:174:in `block in apply_catalog'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:232:in `block in benchmark'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:231:in `benchmark'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:173:in `apply_catalog'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:348:in `run_internal'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:224:in `block in run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:198:in `run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:354:in `apply_catalog'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:280:in `block (2 levels) in main'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:280:in `block in main'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:233:in `main'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:174:in `run_command'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `block in run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:665:in `exit_on_fail'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:73:in `execute'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/bin/puppet:5:in `<main>'
> [ERROR 2018-03-02 18:52:16 main]  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[puppetmaster03.xxxx.com]: Failed to call refresh: Exception 404 "Not Found" in get request to: https://puppetmaster03.xxxx.com/api/v2/smart_proxies?search=name=%22puppetmaster03.xxxx.com%22
> [ERROR 2018-03-02 18:52:16 main]  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[puppetmaster03.xxxx.com]: Exception 404 "Not Found" in get request to: https://puppetmaster03.xxxx.com/api/v2/smart_proxies?search=name=%22puppetmaster03.xxxx.com%22
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_resource/rest_v3.rb:89:in `rescue in request'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_resource/rest_v3.rb:71:in `request'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:6:in `proxy'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:13:in `id'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:17:in `exists?'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property/ensure.rb:81:in `retrieve'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/type/foreman_smartproxy.rb:72:in `refresh'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:147:in `process_callback'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:34:in `block in process_events'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:119:in `block in queued_events'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:118:in `each'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:118:in `queued_events'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:33:in `process_events'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:278:in `eval_resource'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:181:in `call'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:181:in `block (2 levels) in evaluate'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:517:in `block in thinmark'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:516:in `thinmark'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:181:in `block in evaluate'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:121:in `traverse'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:171:in `evaluate'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/gems/gems/kafo-2.0.1/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:30:in `evaluate_with_trigger'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:238:in `block in apply'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/log.rb:156:in `with_destination'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/report.rb:144:in `as_logging_destination'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:237:in `apply'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:174:in `block in apply_catalog'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:232:in `block in benchmark'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:231:in `benchmark'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:173:in `apply_catalog'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:348:in `run_internal'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:224:in `block in run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:198:in `run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:354:in `apply_catalog'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:280:in `block (2 levels) in main'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:280:in `block in main'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:233:in `main'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:174:in `run_command'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `block in run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:665:in `exit_on_fail'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:73:in `execute'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/bin/puppet:5:in `<main>'
> [ERROR 2018-03-02 18:52:16 main] Wrapped exception:
> [ERROR 2018-03-02 18:52:16 main] 404 "Not Found"
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/net/http/response.rb:122:in `error!'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/net/http/response.rb:131:in `value'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/net/http.rb:925:in `connect'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/net/http.rb:887:in `do_start'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/net/http.rb:876:in `start'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/net/http.rb:1407:in `request'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/gems/2.4.0/gems/oauth-0.5.1/lib/oauth/consumer.rb:161:in `request'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_resource/rest_v3.rb:76:in `request'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:6:in `proxy'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:13:in `id'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:17:in `exists?'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/property/ensure.rb:81:in `retrieve'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/foreman-installer/modules/foreman/lib/puppet/type/foreman_smartproxy.rb:72:in `refresh'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:147:in `process_callback'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:34:in `block in process_events'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:119:in `block in queued_events'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:118:in `each'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:118:in `queued_events'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/event_manager.rb:33:in `process_events'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:278:in `eval_resource'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:181:in `call'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:181:in `block (2 levels) in evaluate'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:517:in `block in thinmark'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:516:in `thinmark'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:181:in `block in evaluate'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:121:in `traverse'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:171:in `evaluate'
> [ERROR 2018-03-02 18:52:16 main] /usr/share/gems/gems/kafo-2.0.1/modules/kafo_configure/lib/puppet/parser/functions/add_progress.rb:30:in `evaluate_with_trigger'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:238:in `block in apply'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/log.rb:156:in `with_destination'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction/report.rb:144:in `as_logging_destination'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:237:in `apply'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:174:in `block in apply_catalog'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:232:in `block in benchmark'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/2.4.0/benchmark.rb:308:in `realtime'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:231:in `benchmark'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:173:in `apply_catalog'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:348:in `run_internal'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:224:in `block in run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:198:in `run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:354:in `apply_catalog'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:280:in `block (2 levels) in main'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:280:in `block in main'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:233:in `main'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:174:in `run_command'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `block in run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:665:in `exit_on_fail'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application.rb:375:in `run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/command_line.rb:73:in `execute'
> [ERROR 2018-03-02 18:52:16 main] /opt/puppetlabs/puppet/bin/puppet:5:in `<main>'
> [DEBUG 2018-03-02 18:52:16 main] Cleaning /tmp/kafo_puppet20180302-21390-1eueba0.conf
> [DEBUG 2018-03-02 18:52:16 main] Cleaning /tmp/kafo_hiera20180302-21390-dqig7e
> [DEBUG 2018-03-02 18:52:16 main] Cleaning /tmp/kafo_puppet20180302-21390-jmykdi.conf
> [DEBUG 2018-03-02 18:52:16 main] Cleaning /tmp/default_values.yaml
> [ INFO 2018-03-02 18:52:16 main] Installer finished in 615.692284063 seconds

For your fresh install, are you re-using your old foreman-answers.yaml file, or did you generate a fresh one? I can tell you from experience that utilizing the old one will not work.

Thanks for you answer.
Its a fresh install from scratch. I dont use in this scenario any old files. Just a new Installation as its described in the documentation.

I have testet now a fresh installation of Foreman 1.17.0 RC1 and Puppet 5.

Same Error.

Sorry @ the dev’s, but Iam sure the Puppet 5 Integration was never testet correctly. Foreman is not install-able from scratch anymore as it described in the foreman-install documentaito and not update-able.

and it seems iam not the only one with this problem:

https://projects.theforeman.org/issues/21664

What is failing is the registration from the proxy to the foreman server. There are multiple reasons it could result in a 404. The most likely one being that the foreman is not installed on puppetmaster03.xxxx.com. If that is the case, you should be using the --foreman-proxy-foreman-base-url https://foreman.xxxx.com option so it knows where to register itself.

Hi ekohl,

thanks for your answer.
Yes of course foreman is not installed, thats what the foreman-installer should do?!

I have installed dozens of foreman-server always the same way as it described at the foreman-manual at the quick start installation and upgrade manual.

Set Firewall Rules, then:

For 1.17 RC:

yum -y install https://yum.puppetlabs.com/puppet5/puppet5-release-el-7.noarch.rpm

yum -y install http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum -y install https://yum.theforeman.org/releases/1.17/el7/x86_64/foreman-release.rpm

yum -y install foreman-installer

foreman-installer

https://theforeman.org/manuals/1.17/index.html#2.1Installation

The last thing i did is Upgrade from 1.15.4 to 1.16.0 - that works - but a fresh installation of 1.16.0 or 1.17 dooes not work anymore as it described. Even if i re-run foreman-installer on a running 1.16.0 instance it runs in this error.

Iam sure there is a bug and the quick-firstinstall was not tested as its described.
Did the Foreman Team ever test the quick-install tutorial at the foreman documentation on 1.16 and 1.17 ?

I repeat. I have always install it like this from 1.13 on. Now it runs exception - does not matter if i install in my company infrastructure or on VirtualBox at home. my QA feeling said: Its not tested this way.

That is actually pretty much how we test it. From my experience I’d verify the following:

  • DNS points to the correct ip
  • The apache vhost exists
  • There is no HTTP(S) proxy in the way
  • Manually calling curl on that URL

I’d also be helpful to see the installation logs and answer files.

Hi ekohl,

the installation log ive posted alredy above.
Where do i find the answer file?

thanks in advance

best regards

That was only the error, not the full log as would be generated in /var/log/foreman-installer. Answers are in /etc/foreman-installer.

1 Like

Hello eko,

thanks for the informations. I didnt know that.
I attache the log and answer file.

logs_answerfile.tar (2.0 MB)

Thanks for your help

best regards

I can not install foreman with plain foreman-install either.

the error from the log

[ERROR 2018-03-11 20:29:40 main]  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman.rfiserve.net]: Could not evaluate: Proxy foreman.rfiserve.net cannot be registered (Could not load data from FOREMAN_LINK`

I think this is a Selinux Issue

[root@foreman audit]# audit2allow -a
#============= httpd_t ==============
allow httpd_t foreman_log_t:file write;
allow httpd_t foreman_var_run_t:dir write;
[root@foreman audit]# 

[root@foreman audit]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core) 
[root@foreman audit]# 

the trace

Permission denied - /usr/share/foreman/tmp/cache (Errno::EACCES)
  /opt/rh/ruby193/root/usr/share/ruby/fileutils.rb:247:in `mkdir'
  /opt/rh/ruby193/root/usr/share/ruby/fileutils.rb:247:in `fu_mkdir'
  /opt/rh/ruby193/root/usr/share/ruby/fileutils.rb:221:in `block (2 levels) in mkdir_p'
  /opt/rh/ruby193/root/usr/share/ruby/fileutils.rb:219:in `reverse_each'
  /opt/rh/ruby193/root/usr/share/ruby/fileutils.rb:219:in `block in mkdir_p'
  /opt/rh/ruby193/root/usr/share/ruby/fileutils.rb:205:in `each'
  /opt/rh/ruby193/root/usr/share/ruby/fileutils.rb:205:in `mkdir_p'
  /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache/file_store.rb:161:in `ensure_cache_path'
  /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache/file_store.rb:90:in `write_entry'
  /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:140:in `write_entry'
  /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache.rb:364:in `block in write'
  /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache.rb:520:in `instrument'
  /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache.rb:362:in `write'
  /usr/share/foreman/app/models/setting.rb:57:in `[]'

if i do setenforce 0, foreman-insaller finishes succesfully

[root@foreman audit]# setenforce 0
[root@foreman audit]# foreman-installer 
Installing             Done                                               [100%] [................................................................................................................................]
  Success!
  * Foreman is running at  FOREMAN_LINK
      Initial credentials are admin / fze3QkJYxNTcxrox
  * Foreman Proxy is running at FOREMAN_LINK 
  * Puppetmaster is running at port 8140
  The full log is at /var/log/foreman-installer/foreman-installer.log
[root@foreman audit]#

had to replace https://foreman links with FOREMAN_LINK the blody security module on this forum is returning strange error “New user can post only 2 URLs”

oh just in case i do have the relevant selinux packages installed

[root@foreman audit]# rpm -qa foremanselinux
foreman-selinux-1.9.3-1.el7.noarch
foreman-proxy-selinux-1.9.3-1.el7.noarch
[root@foreman audit]#

[root@foreman audit]# semanage boolean -l | grep foreman
foreman_proxy_manage_tftp (on , on) Allow foreman to proxy manage tftp
foreman_proxy_use_sudo (on , on) Allow foreman to proxy use sudo
foreman_proxy_manage_puppetca (on , on) Allow foreman to proxy manage puppetca
httpd_run_foreman (on , on) Allow httpd to run foreman
foreman_proxy_manage_puppet (on , on) Allow foreman to proxy manage puppet
foreman_proxy_manage_dhcp_isc (on , on) Allow foreman to proxy manage dhcp isc
foreman_proxy_manage_dhcp_generic (on , on) Allow foreman to proxy manage dhcp generic
passenger_run_foreman (on , on) Allow passenger to run foreman
foreman_proxy_manage_dns_nsupdate (on , on) Allow foreman to proxy manage dns nsupdate
[root@foreman audit]#

@Gwmngilfen - perhaps we could change the default to a bit larger? this isn’t the first case I’ve seen of users being blocked from uploading logs due to this.

It’s a spam prevention thing - spammers tend to post multiple links to the same site, so the defaults block it for brand-new users (this doesn’t apply to level 1+ users).

I’ve upped it from 2 to 5, but I’m not sure it will help. Logs tend to have many references to a foreman URL, so I think we have to decide if we need this protection. I’m OK to trial raising it to some very high number, but I wanted to explain the risk first. Shall I raise it to say, 1000 (which is effectively disabling it :P)?

@anpk from the log it looks like Apache was configured correctly. Have you looked at the Apache logs to see if the request arrives at the correct vhost? Do you see anything show up in /var/log/foreman/production.log?

@ekohl

the httpd error seems “clean” for me, the access logs are empty. But httpd is running.
I installed new vm’s multiple times, (centos and ubuntu) and sometimes i can access the web-ui, but it seems there is no smart-proxy / puppet configured. In this case, i cant access the web-ui. I attach the production.log. in the production log it said, no smart-proxy server found.

production.tar (77 KB)

Thanks in advance

If access logs are empty, are you sure there’s no HTTP proxy rerouting the requests to an incorrect location? Is DNS pointing to the correct host?

Hi ecol,

ok i have installed it again. Same Exceptions, but i can access the ui. DNS Pointing is correct. Maybe we start from this point.

If i access the web-ui, what i see is:

  1. Smart Proxy is not configured
  2. Puppet does not send any log files

I meen, that the smart proxy is not “availible” is exactly what the exception said or?

/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foremaneval.testlab.com]: Could not evaluate: Exception 404 “Not Found” in get request to: https://foremaneval.testlab.com/api/v2/smart_proxies?search=name=“foremaneval.testlab.com”

if i access the request-URL i get a “json ui” said.

total 0
subtotal 0
page 1
per_page 20
search “name=“foremaneval.testlab.com””
sort
by null
order null
results []

the httpd access logs are still empty in some way. Dont know its normal.
/var/log/httpd/access.log is empty and /var/log/httpd/foreman_access.log has this two entrys:

127.0.0.1 - - [13/Mar/2018:10:16:10 +0100] “HEAD / HTTP/1.1” 301 - “-” "-"
127.0.0.1 - - [13/Mar/2018:10:16:10 +0100] “HEAD / HTTP/1.1” 301 - “-” “-”

i really dont understand whats the problem :persevere: …

thanks for the help