Issue #2517 has been updated by Luke Kanies. Status changed from Accepted to Needs more information
Can anyone else reproduce this? I've seen this 'stack level too deep' problem once on a client's existing test site, but couldn't reproduce it and can't reproduce it on my own systems. ---------------------------------------- Bug #2517: new clients unable to fetch certificate http://projects.reductivelabs.com/issues/2517 Author: Ohad Levy Status: Needs more information Priority: Normal Assigned to: Category: SSL Target version: 0.25.0 Complexity: Unknown Affected version: 0.25.0rc1 Keywords: when using a 0.25rc1 client and server: (verified on both centos5 and fedora11 clients) upon initial run, a certificate request is generated: <pre> info: Creating a new SSL key for c5.lan warning: peer certificate won't be verified in this SSL session info: Caching certificate for ca warning: peer certificate won't be verified in this SSL session warning: peer certificate won't be verified in this SSL session info: Creating a new SSL certificate request for c5.lan warning: peer certificate won't be verified in this SSL session warning: peer certificate won't be verified in this SSL session info: Caching certificate for ca warning: peer certificate won't be verified in this SSL session warning: peer certificate won't be verified in this SSL session info: Caching certificate for ca warning: peer certificate won't be verified in this SSL session Exiting; no certificate found and waitforcert is disabled </pre> (why does it print more than one warning messages) then the client fails to fetch the certificate and the following error is observed: <pre> err: Could not retrieve catalog from remote server: stack level too deep </pre> trace: <pre> [r...@f11 ~]# puppetd -tv --trace /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:39:in `cache' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:213:in `find_in_cache' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:189:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:51:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:174:in `certificate' /usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:27:in `init_localhost' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `send' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `cached_value' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:46:in `localhost' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_pool.rb:19:in `ssl_host' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_pool.rb:56:in `cert_setup' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_pool.rb:104:in `http_instance' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:63:in `network' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:67:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:198:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:51:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:174:in `certificate' /usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:27:in `init_localhost' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `send' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `cached_value' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:46:in `localhost' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_pool.rb:19:in `ssl_host' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_pool.rb:56:in `cert_setup' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_pool.rb:104:in `http_instance' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:63:in `network' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:67:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:198:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:51:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:174:in `certificate' /usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:27:in `init_localhost' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `send' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `cached_value' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:46:in `localhost' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_pool.rb:19:in `ssl_host' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_pool.rb:56:in `cert_setup' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_pool.rb:104:in `http_instance' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:63:in `network' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:67:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:198:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:51:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:174:in `certificate' /usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:27:in `init_localhost' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `send' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `cached_value' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:46:in `localhost' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_pool.rb:19:in `ssl_host' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_pool.rb:56:in `cert_setup' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_pool.rb:104:in `http_instance' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:63:in `network' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:67:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:198:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:51:in `find' /usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:174:in `certificate' /usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:27:in `init_localhost' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `send' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `cached_value' /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:46:in `localhost' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_pool.rb:19:in `ssl_host' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_pool.rb:56:in `cert_setup' /usr/lib/ruby/site_ruby/1.8/puppet/network/http_pool.rb:104:in `http_instance' /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:193:in `puts': stack level too deep (SystemStackError) from /usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:193:in `find' from /usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:51:in `find' from /usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:174:in `certificate' from /usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:27:in `init_localhost' from /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `send' from /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `cached_value' from /usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:46:in `localhost' from /usr/lib/ruby/site_ruby/1.8/puppet/network/http_pool.rb:19:in `ssl_host' ... 1485 levels... from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:216:in `run' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:216:in `run' from /usr/sbin/puppetd:159 </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
