Any help on this
Thanks
On 07/31/2017 04:49 PM, Kernel Panic wrote:
Any help on this?
Thanks
Regards
El miércoles, 12 de julio de 2017, 14:07:56 (UTC-3), Kernel Panic
escribió:
Hi there guys
I'm trying to install foreman in a docker container and I'm having
as issue, let me tell you how I did it:
Puppet Server: ( certs copied from the foreman server )
/etc/puppetlabs/puppet/foreman.yaml
---
:url: "https://dockerhost_server"
:ssl_ca: "/etc/puppetlabs/foreman/ssl/certs/ca.pem"
:ssl_cert: "/etc/puppetlabs/foreman/ssl/certs/foreman.local.pem"
:ssl_key: "/etc/puppetlabs/foreman/ssl/private_keys/foreman.local.pem"
:user: ""
:password: ""
:puppetdir: "/var/lib/puppet"
:puppetuser: "puppet"
:facts: true
:timeout: 10
:threads: null
puppet.conf:
storeconfigs = true
storeconfigs_backend = puppetdb
reports = store,puppetdb,foreman
The container is listening on the following ports:
0.0.0.0:443->443/tcp, 0.0.0.0:8140->8140/tcp,
0.0.0.0:8443->8443/tcp foreman
Foreman Server Version: Version 1.6.3
The error I'm getting on the server is while executing puppet-agent:
ERROR [qtp1618055571-71] [puppetserver] Puppet Report processor
failed: Could not send report to Foreman at
https://dockerhost_server/api/config_reports
<https://dockerhost_server/api/config_reports>: No message available
["org/jruby/ext/openssl/SSLContext.java:400:in `setup'",
"org/jruby/ext/openssl/SSLSocket.java:171:in `initialize'",
"/opt/puppetlabs/server/apps/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/1.9/net/http.rb:777: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:66: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:306: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_2114089451.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:2515:in `invoke'", "core.clj:211:in
`invoke'", "core.clj:45:in `invoke'", "core.clj:343:in `invoke'",
"core.clj:51:in `invoke'", "ringutils.clj:83:in `invoke'",
"master_core.clj:430:in `invoke'", "ring.clj:21:in `invoke'",
"ring.clj:12:in `invoke'", "comidi.clj:
Can you help me to debug this?
Thanks
Regards
--
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 [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.