Issue #7035 has been updated by Dan Bode. Subject changed from Puppet node create should work with intermittent network failures to Puppet node create should handle network failures while waiting for fingerprint
---------------------------------------- Bug #7035: Puppet node create should handle network failures while waiting for fingerprint https://projects.puppetlabs.com/issues/7035 Author: Dan Bode Status: Unreviewed Priority: Normal Assignee: Category: Target version: Affected Puppet version: Keywords: Branch: Rerunning the same command resulted in a successful run the second time. I am pretty sure this is the result of shoddy connectivity. If the network connectivity is lost for a short time, the command fails. It should only fail if network is out for some specified period (timeout). <pre> # puppet node create --group=puppet --keypair=dans-e2c-key --image=ami-3e02f257 Connecting to AWS ... Done Creating new instance ... Done Starting up ...................................................... Done Waiting for host fingerprints ................................................................................................................................................................................................................................................................../opt/puppet/lib/ruby/gems/1.8/gems/excon-0.6.1/lib/excon/connection.rb:262:in `initialize': getaddrinfo: Temporary failure in name resolution (Excon::Errors::SocketError) from /opt/puppet/lib/ruby/gems/1.8/gems/excon-0.6.1/lib/excon/connection.rb:262:in `open' from /opt/puppet/lib/ruby/gems/1.8/gems/excon-0.6.1/lib/excon/connection.rb:262:in `open_socket' from /opt/puppet/lib/ruby/gems/1.8/gems/excon-0.6.1/lib/excon/connection.rb:203:in `connect' from /opt/puppet/lib/ruby/gems/1.8/gems/excon-0.6.1/lib/excon/connection.rb:268:in `socket' from /opt/puppet/lib/ruby/gems/1.8/gems/excon-0.6.1/lib/excon/connection.rb:148:in `request' from /opt/puppet/lib/ruby/gems/1.8/gems/fog-0.7.2/lib/fog/core/connection.rb:20:in `request' from /opt/puppet/lib/ruby/gems/1.8/gems/fog-0.7.2/lib/fog/compute/aws.rb:260:in `request' from /opt/puppet/lib/ruby/gems/1.8/gems/fog-0.7.2/lib/fog/compute/requests/aws/get_console_output.rb:25:in `get_console_output' from /opt/puppet/lib/ruby/gems/1.8/gems/fog-0.7.2/lib/fog/compute/models/aws/server.rb:59:in `console_output' from /usr/local/dev/puppet-cloudpack/lib/puppet/string/node/create.rb:46:in `create implementation, required on Ruby 1.8' from /usr/local/dev/puppet-interfaces/lib/puppet/string/action.rb+eval:82:in `__send__' from /usr/local/dev/puppet-interfaces/lib/puppet/string/action.rb+eval:82:in `create' from /usr/local/dev/puppet-interfaces/lib/puppet/application/string_base.rb:125:in `send' from /usr/local/dev/puppet-interfaces/lib/puppet/application/string_base.rb:125:in `main' from /usr/local/dev/puppet/lib/puppet/application.rb:314:in `run_command' from /usr/local/dev/puppet/lib/puppet/application.rb:306:in `run' from /usr/local/dev/puppet/lib/puppet/application.rb:405:in `hook' from /usr/local/dev/puppet/lib/puppet/application.rb:306:in `run' from /usr/local/dev/puppet/lib/puppet/application.rb:396:in `exit_on_fail' from /usr/local/dev/puppet/lib/puppet/application.rb:306:in `run' from /usr/local/dev/puppet/lib/puppet/util/command_line.rb:62:in `execute' from /usr/local/dev/puppet/bin/puppet:4 </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://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.
