It seem that I can run puppet agent -t --debug on my foremanserver with the 
CA of my public (3rdparty) cert in the webserver.conf

I'm still not able to run it on the agents tho.

Op zaterdag 15 oktober 2016 13:12:12 UTC+2 schreef Matt:
>
> OK I was able to fix the reports using the following workaround, if you 
> Google it's a known Java issue.
>
>
> https://groups.google.com/forum/#!topic/foreman-users/BTDjr9rZOaA/m2tBWCngAQAJ
>
>
> The issue for receiving no catalog still remains and I wonder why this 
> happens, I can't see anything strange in the logs, no errors or so.
>
>
> Op zaterdag 15 oktober 2016 12:38:02 UTC+2 schreef Matt:
>>
>> Hi All,
>>
>> I'm having is strange issue on a setup where I have splitted my CA from 
>> my foreman/master server and also replaced the webgui certs using the docs 
>> with signed ones from a public CA. When I do a puppet run on a client, 
>> there are no errors but there is also no catalog picked up and no 
>> possibility to push the report to foreman from puppet.
>>
>> I have checked the SSL certs and it seems to be fine so far, even with 
>> defaults it doesn't work (anymore), there is a handshake alert.
>>
>> Here is a log from the puppetserver.log while doing the run on an agent
>>
>> I hope someone has a clue there.
>>
>> 2016-10-15 12:16:34,012 INFO  [qtp114655566-68] [puppetserver] Puppet 
>> Caching node for testserver.my.domain
>> 2016-10-15 12:16:38,376 INFO  [qtp114655566-68] [puppetserver] Puppet 
>> 'replace_facts' command for testserver.my.domain submitted to PuppetDB with 
>> UUID f7268f6b-48b3-4807-bc91-ba42077a4f2c
>> 2016-10-15 12:16:38,436 INFO  [qtp114655566-68] [puppetserver] Puppet 
>> Caching node for testserver.my.domain
>> 2016-10-15 12:16:38,568 INFO  [qtp114655566-68] [puppetserver] Puppet 
>> Compiled catalog for testserver.my.domain in environment production in 0.05 
>> seconds
>> 2016-10-15 12:16:38,568 INFO  [qtp114655566-68] [puppetserver] Puppet 
>> Caching catalog for testserver.my.domain
>> 2016-10-15 12:16:38,929 INFO  [qtp114655566-68] [puppetserver] Puppet 
>> 'replace_catalog' command for testserver.my.domain submitted to PuppetDB 
>> with UUID 1bba25fc-69e7-48a1-948f-bf7751698584
>> 2016-10-15 12:16:39,723 ERROR [qtp114655566-68] [puppetserver] Puppet 
>> Report processor failed: Could not send report to Foreman at 
>> https://foreman.my.domain/api/reports: handshake alert:  
>> unrecognized_name
>> ["org/jruby/ext/openssl/SSLSocket.java:215:in `connect'", 
>> "/opt/puppetlabs/server/apps/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:800:in
>>  
>> `connect'", "org/jruby/ext/timeout/Timeout.java:98:in `timeout'", 
>> "/opt/puppetlabs/server/apps/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:800:in
>>  
>> `connect'", 
>> "/opt/puppetlabs/server/apps/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:756:in
>>  
>> `do_start'", 
>> "/opt/puppetlabs/server/apps/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:745:in
>>  
>> `start'", 
>> "/opt/puppetlabs/server/apps/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:1293:in
>>  
>> `request'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/reports/foreman.rb:65:in 
>> `process'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/report/processor.rb:37:in
>>  
>> `process'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/report/processor.rb:53:in
>>  
>> `processors'", "org/jruby/RubyArray.java:1613:in `each'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/report/processor.rb:51:in
>>  
>> `processors'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/report/processor.rb:30:in
>>  
>> `process'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/report/processor.rb:14:in
>>  
>> `save'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/indirection.rb:285:in
>>  
>> `save'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/api/indirected_routes.rb:176:in
>>  
>> `do_save'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/api/indirected_routes.rb:48:in
>>  
>> `call'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in 
>> `override'", "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:241:in 
>> `override'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/api/indirected_routes.rb:47:in
>>  
>> `call'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/route.rb:82:in
>>  
>> `process'", "org/jruby/RubyArray.java:1613:in `each'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/route.rb:81:in
>>  
>> `process'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/route.rb:87:in
>>  
>> `process'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/route.rb:87:in
>>  
>> `process'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/handler.rb:60:in
>>  
>> `process'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in
>>  
>> `profile'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in 
>> `profile'", 
>> "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/handler.rb:58:in
>>  
>> `process'", 
>> "file:/opt/puppetlabs/server/apps/puppetserver/puppet-server-release.jar!/puppetserver-lib/puppet/server/master.rb:42:in
>>  
>> `handleRequest'", "Puppet$$Server$$Master_937425430.gen:13:in 
>> `handleRequest'", "request_handler_core.clj:273:in `invoke'", 
>> "jruby_request.clj:46:in `invoke'", "jruby_request.clj:31:in `invoke'", 
>> "request_handler_service.clj:34:in `handle_request'", 
>> "request_handler.clj:3:in `invoke'", "request_handler.clj:3:in `invoke'", 
>> "core.clj:2493:in `invoke'", "master_core.clj:430:in `invoke'", 
>> "ring.clj:21:in `invoke'", "ring.clj:12:in `invoke'", "comidi.clj:249:in 
>> `invoke'", "ring_middleware.clj:284:in `invoke'", "core.clj:168:in 
>> `invoke'", "core.clj:211:in `invoke'", "core.clj:45:in `invoke'", 
>> "core.clj:343:in `invoke'", "core.clj:51:in `invoke'", "ringutils.clj:86:in 
>> `invoke'", "legacy_routes_core.clj:114:in `invoke'", 
>> "legacy_routes_core.clj:94:in `invoke'", "legacy_routes_core.clj:184:in 
>> `invoke'", "legacy_routes_core.clj:153:in `invoke'", "ring.clj:21:in 
>> `invoke'", "ring.clj:12:in `invoke'", "comidi.clj:249:in `invoke'", 
>> "jetty9_core.clj:424:in `invoke'", "normalized_uri_helpers.clj:80:in 
>> `invoke'"]
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/reports/foreman.rb:67:in 
>> `process'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/report/processor.rb:37:in
>>  
>> `process'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/report/processor.rb:53:in
>>  
>> `processors'
>> org/jruby/RubyArray.java:1613:in `each'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/report/processor.rb:51:in
>>  
>> `processors'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/report/processor.rb:30:in
>>  
>> `process'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/report/processor.rb:14:in
>>  
>> `save'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/indirection.rb:285:in
>>  
>> `save'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/api/indirected_routes.rb:176:in
>>  
>> `do_save'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/api/indirected_routes.rb:48:in
>>  
>> `call'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in 
>> `override'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:241:in `override'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/api/indirected_routes.rb:47:in
>>  
>> `call'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/route.rb:82:in
>>  
>> `process'
>> org/jruby/RubyArray.java:1613:in `each'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/route.rb:81:in
>>  
>> `process'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/route.rb:87:in
>>  
>> `process'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/route.rb:87:in
>>  
>> `process'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/handler.rb:60:in
>>  
>> `process'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in
>>  
>> `profile'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in 
>> `profile'
>> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/handler.rb:58:in
>>  
>> `process'
>> file:/opt/puppetlabs/server/apps/puppetserver/puppet-server-release.jar!/puppetserver-lib/puppet/server/master.rb:42:in
>>  
>> `handleRequest'
>> Puppet$$Server$$Master_937425430.gen:13:in `handleRequest'
>> request_handler_core.clj:273:in `invoke'
>> jruby_request.clj:46:in `invoke'
>> jruby_request.clj:31:in `invoke'
>> request_handler_service.clj:34:in `handle_request'
>> request_handler.clj:3:in `invoke'
>> request_handler.clj:3:in `invoke'
>> core.clj:2493:in `invoke'
>> master_core.clj:430:in `invoke'
>> ring.clj:21:in `invoke'
>> ring.clj:12:in `invoke'
>> comidi.clj:249:in `invoke'
>> ring_middleware.clj:284:in `invoke'
>> core.clj:168:in `invoke'
>> core.clj:211:in `invoke'
>> core.clj:45:in `invoke'
>> core.clj:343:in `invoke'
>> core.clj:51:in `invoke'
>> ringutils.clj:86:in `invoke'
>> legacy_routes_core.clj:114:in `invoke'
>> legacy_routes_core.clj:94:in `invoke'
>> legacy_routes_core.clj:184:in `invoke'
>> legacy_routes_core.clj:153:in `invoke'
>> ring.clj:21:in `invoke'
>> ring.clj:12:in `invoke'
>> comidi.clj:249:in `invoke'
>> jetty9_core.clj:424:in `invoke'
>> normalized_uri_helpers.clj:80:in `invoke'
>> 2016-10-15 12:16:40,042 INFO  [qtp114655566-68] [puppetserver] Puppet 
>> 'store_report' command for testserver.my.domain submitted to PuppetDB with 
>> UUID 998f9008-e3fe-48ae-817a-cb414a101c40
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to