Issue #10258 has been reported by James Turnbull. ---------------------------------------- Bug #10258: LDAP node indirector broken https://projects.puppetlabs.com/issues/10258
Author: James Turnbull Status: Needs Decision Priority: High Assignee: Nigel Kersten Category: LDAP Target version: Affected Puppet version: 2.6.4 Keywords: Branch: Get the following error when LDAP nodes are used: <pre> warning: Retrying LDAP connection /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/ldap.rb:65:in `connection' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/ldap.rb:39:in `ldapsearch' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/node/ldap.rb:24:in `name2hash' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/node/ldap.rb:36:in `find' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/node/ldap.rb:35:in `each' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/node/ldap.rb:35:in `find' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:193:in `find' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector.rb:50:in `find' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:90:in `find_node' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:118:in `node_from_request' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:32:in `find' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:193:in `find' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector.rb:50:in `find' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:101:in `do_find' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `send' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `process' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick/rest.rb:24:in `service' /opt/puppet/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /opt/puppet/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:45:in `listen' /opt/puppet/lib/ruby/1.8/webrick/server.rb:173:in `call' /opt/puppet/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /opt/puppet/lib/ruby/1.8/webrick/server.rb:162:in `start' /opt/puppet/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /opt/puppet/lib/ruby/1.8/webrick/server.rb:95:in `start' /opt/puppet/lib/ruby/1.8/webrick/server.rb:92:in `each' /opt/puppet/lib/ruby/1.8/webrick/server.rb:92:in `start' /opt/puppet/lib/ruby/1.8/webrick/server.rb:23:in `start' /opt/puppet/lib/ruby/1.8/webrick/server.rb:82:in `start' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:42:in `listen' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `initialize' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `new' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `listen' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:38:in `synchronize' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:38:in `listen' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/server.rb:127:in `listen' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/server.rb:142:in `start' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/daemon.rb:124:in `start' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application/master.rb:114:in `main' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application/master.rb:46:in `run_command' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:287:in `run' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:393:in `exit_on_fail' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:287:in `run' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:55:in `execute' /usr/local/bin/puppet:4 /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:93:in `find_node' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:118:in `node_from_request' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:32:in `find' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:193:in `find' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector.rb:50:in `find' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:101:in `do_find' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `send' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `process' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick/rest.rb:24:in `service' /opt/puppet/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /opt/puppet/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:45:in `listen' /opt/puppet/lib/ruby/1.8/webrick/server.rb:173:in `call' /opt/puppet/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /opt/puppet/lib/ruby/1.8/webrick/server.rb:162:in `start' /opt/puppet/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /opt/puppet/lib/ruby/1.8/webrick/server.rb:95:in `start' /opt/puppet/lib/ruby/1.8/webrick/server.rb:92:in `each' /opt/puppet/lib/ruby/1.8/webrick/server.rb:92:in `start' /opt/puppet/lib/ruby/1.8/webrick/server.rb:23:in `start' /opt/puppet/lib/ruby/1.8/webrick/server.rb:82:in `start' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:42:in `listen' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `initialize' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `new' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `listen' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:38:in `synchronize' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:38:in `listen' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/server.rb:127:in `listen' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/server.rb:142:in `start' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/daemon.rb:124:in `start' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application/master.rb:114:in `main' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application/master.rb:46:in `run_command' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:287:in `run' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:393:in `exit_on_fail' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:287:in `run' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:55:in `execute' /usr/local/bin/puppet:4 err: Failed when searching for node web001.se.map2.nweacolo.pvt: LDAP Search failed /opt/puppet/lib/ruby/1.8/net/http.rb:560:in `initialize' /opt/puppet/lib/ruby/1.8/net/http.rb:560:in `open' /opt/puppet/lib/ruby/1.8/net/http.rb:560:in `connect' /opt/puppet/lib/ruby/1.8/timeout.rb:53:in `timeout' /opt/puppet/lib/ruby/1.8/timeout.rb:101:in `timeout' /opt/puppet/lib/ruby/1.8/net/http.rb:560:in `connect' /opt/puppet/lib/ruby/1.8/net/http.rb:553:in `do_start' /opt/puppet/lib/ruby/1.8/net/http.rb:542:in `start' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/reports/http.rb:18:in `process' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/report/processor.rb:32:in `process' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/report/processor.rb:25:in `each' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/report/processor.rb:25:in `process' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/report/processor.rb:14:in `save' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:253:in `save' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/indirector.rb:64:in `save' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:168:in `save_object' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:143:in `do_save' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `send' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `process' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick/rest.rb:24:in `service' /opt/puppet/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /opt/puppet/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:45:in `listen' /opt/puppet/lib/ruby/1.8/webrick/server.rb:173:in `call' /opt/puppet/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /opt/puppet/lib/ruby/1.8/webrick/server.rb:162:in `start' /opt/puppet/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /opt/puppet/lib/ruby/1.8/webrick/server.rb:95:in `start' /opt/puppet/lib/ruby/1.8/webrick/server.rb:92:in `each' /opt/puppet/lib/ruby/1.8/webrick/server.rb:92:in `start' /opt/puppet/lib/ruby/1.8/webrick/server.rb:23:in `start' /opt/puppet/lib/ruby/1.8/webrick/server.rb:82:in `start' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:42:in `listen' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `initialize' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `new' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:41:in `listen' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:38:in `synchronize' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:38:in `listen' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/server.rb:127:in `listen' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/network/server.rb:142:in `start' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/daemon.rb:124:in `start' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application/master.rb:114:in `main' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application/master.rb:46:in `run_command' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:287:in `run' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:393:in `exit_on_fail' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/application.rb:287:in `run' /opt/puppet/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:55:in `execute' /usr/local/bin/puppet:4 err: Report http failed: Connection refused - connect(2) notice: Caught INT; calling stop </pre> LDAP logs show a connection but no bind and no search. I've tested back to 2.6.4. -- 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://projects.puppetlabs.com/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.
