Hi there, Puppet client version 3.8.7 Every first puppet run I've got this error:
Nov 10 12:01:30 myinstance-172 puppet-agent[935]: ( /File[/var/lib/puppet/lib/puppet/type/rabbitmq_vhost.rb]/ensure) defined content as '{md5}ff6fc35bb9c22b1c493b84adf6bb3167' Nov 10 12:01:31 myinstance-172 puppet-agent[935]: ( /File[/var/lib/puppet/lib/puppet/provider/rabbitmq_user/rabbitmqctl.rb]/ ensure) defined content as '{md5}eeddc61ef6c57e7225c818e494fc6e47' Nov 10 12:01:31 myinstance-172 puppet-agent[935]: ( /File[/var/lib/puppet/lib/puppet/parser/functions/nslookup.rb]/ensure) defined content as '{md5}976cfe36eec535d97a17139c7408f0bd' Nov 10 12:02:34 myinstance-172 puppet-agent[935]: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed when searching for node myinstance-9p23t0xkmtu6vxv: Failed to find myinstance-9p23t0xkmtu6vxv via exec: Execution of '/etc/puppet/node.rb myinstance-9p23t0xkmtu6vxv' returned 1: Nov 10 12:02:34 myinstance-172 puppet-agent[935]: Using cached catalog Nov 10 12:02:34 myinstance-172 puppet-agent[935]: Could not retrieve catalog ; skipping run Nov 10 12:02:48 myinstance-172 puppet: /usr/share/ruby/vendor_ruby/puppet/ agent.rb:87:in `exit': no implicit conversion from nil to integer (TypeError) Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/puppet/agent.rb:87:in `block in run_in_fork' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/puppet/agent.rb:84:in `fork' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/ puppet/agent.rb:84:in `run_in_fork' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/puppet/agent.rb:43:in `block in run' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/puppet/application.rb:179:in `call' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/ puppet/application.rb:179:in `controlled_run' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/puppet/agent.rb:41:in `run' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/puppet/daemon.rb:175:in `block in run_event_loop' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/ puppet/scheduler/job.rb:49:in `call' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/puppet/scheduler/job.rb:49:in `run' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/puppet/scheduler/scheduler.rb:39:in `block in run_ready' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/ puppet/scheduler/scheduler.rb:34:in `each' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/puppet/scheduler/scheduler.rb:34:in `run_ready' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/puppet/scheduler/scheduler.rb:11:in `run_loop' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/ puppet/daemon.rb:198:in `run_event_loop' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/puppet/daemon.rb:154:in `start' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/puppet/application/agent.rb:383:in `main' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/ puppet/application/agent.rb:329:in `run_command' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block (2 levels) in run' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/puppet/application.rb:507:in `plugin_hook' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/ puppet/application.rb:381:in `block in run' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/puppet/util.rb:496:in `exit_on_fail' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `run' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/ puppet/util/command_line.rb:146:in `run' Nov 10 12:02:48 myinstance-172 puppet: from /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:92:in `execute' Nov 10 12:02:48 myinstance-172 puppet: from /usr/bin/puppet:8:in `<main>' Enter code here... And on the master the same time: Nov 10 11:59:40 ip-172-19-135-11 puppet-master[98099]: myinstance- 9p23t0xkmtu6vxv has a waiting certificate request Nov 10 11:59:40 ip-172-19-135-11 puppet-master[98099]: Signed certificate request for myinstance-9p23t0xkmtu6vxv Nov 10 11:59:40 ip-172-19-135-11 puppet-master[98099]: Removing file Puppet ::SSL::CertificateRequest myinstance-9p23t0xkmtu6vxv at '/var/lib/puppet/ssl/ca/requests/myinstance-9p23t0xkmtu6vxv.pem' Nov 10 11:59:40 ip-172-19-135-11 puppet-master[98099]: Could not resolve 172.22.23.178: no name for 172.22.23.178 Nov 10 11:59:42 ip-172-19-135-11 puppet-master[98099]: Failed to find myinstance-9p23t0xkmtu6vxv via exec: Execution of '/etc/puppet/node.rb myinstance-9p23t0xkmtu6vxv' returned 1: On the second and next runs everything is working perfectly. Please advice where to look to fix this type of issue? Thank you. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/4f09c921-525a-4abb-a5ff-f3bab30f08e1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.