Issue #20901 has been updated by Matthaus Owens. Status changed from Merged - Pending Release to Closed
Released in Puppet 3.2.3-rc1. ---------------------------------------- Bug #20901: puppet --version is unnecessarily slow https://projects.puppetlabs.com/issues/20901#change-94904 * Author: Josh Cooper * Status: Closed * Priority: Normal * Assignee: * Category: * Target version: 3.2.3 * Affected Puppet version: 3.2.1 * Keywords: webrick * Branch: https://github.com/puppetlabs/puppet/pull/1667 ---------------------------------------- As of 2.7.0, puppet agents POST fact data avoiding the maximum GET URI length imposed by most proxy & webservers, see #6117. In 3.2.1, a patch was added to increasee webrick's MAX_URI_LENGTH enabling puppet masters to accept facts from older agents, see #18781. However, the patch requires 'webrick' during puppet startup (as opposed to when starting webrick). And webrick performs a reverse DNS lookup of the local IP, which may take awhile depending on your DNS configuration. As a result, some users have seen `puppet --version` take upwards of 10 seconds. One fix would be to move webrick monkey patching to the puppet's `lib/network/http/webrick` code. However, Puppet 3 does not support 2.6 agents, so we can drop this patch entirely. Note this issue is similar to issue #20194, except that issue was about puppet's webrick performing reverse DNS lookups of each connected client, and this is about webrick performing a reverse lookup of its local IP address. -- 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 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
