Matt F
2012-May-23 16:14 UTC
[Puppet Users] could not retrieve information from environment
Greetings. I am trying to set up a test puppet server in my environment to evaluate windows clients. On the server side, I am using puppet 2.7.14 (from the repos). I''m using the 2.7.14 windows 64 bit on the client (windows 2008 R2). I have another puppetmaster already using "puppet" hostname in DNS (running a very old version of puppet - can''t upgrade yet for various reasons), so on the client side I am specifying the myserver01.example.com as part of the install. I am getting the following errors on my windows client: err: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Could not evaluate: Could not retrieve information from environment production source(s) puppet://myserver01.example.com/plugins err: /Stage[main]//File[C:/myfiles/engine/engine.exe]: Failed to generate additional resources using ''eval_generate: Server hostname ''myserver01'' did not match serv er certificate; expected one of myserver01.example.com, DNS:myserver01.example.com, DNS: puppet, DNS:puppet.example.com Any help would be greatly appreciated. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Jeff McCune
2012-May-23 16:35 UTC
Re: [Puppet Users] could not retrieve information from environment
On Wed, May 23, 2012 at 9:14 AM, Matt F <mfan2006@gmail.com> wrote:> Greetings. I am trying to set up a test puppet server in my > environment to evaluate windows clients. On the server side, I am > using puppet 2.7.14 (from the repos). I''m using the 2.7.14 windows 64 > bit on the client (windows 2008 R2). I have another puppetmaster > already using "puppet" hostname in DNS (running a very old version of > puppet - can''t upgrade yet for various reasons), so on the client side > I am specifying the myserver01.example.com as part of the install. > > I am getting the following errors on my windows client: > > err: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Could not > evaluate: Could > not retrieve information from environment production source(s) > puppet://myserver01.example.com/plugins > > err: /Stage[main]//File[C:/myfiles/engine/engine.exe]: Failed to > generate additional > resources using ''eval_generate: Server hostname ''myserver01'' did not > match serv > er certificate; expected one of myserver01.example.com, > DNS:myserver01.example.com, DNS: > puppet, DNS:puppet.example.comLooking at this it appears there is a mis match between the server''s name and the name the agent is using to contact the server. Could you run puppet agent with --trace and paste the output? Also, could you run this command on the master: puppet master --configprint certname And on the agent: puppet agent --configprint server And paste the output. This information will help us diagnose the problem. Thanks, -Jeff -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Matt F
2012-May-23 16:56 UTC
[Puppet Users] Re: could not retrieve information from environment
Sure: puppet master --configprint certname myserver01.example.com C:\Windows\system32>puppet agent --trace C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `initialize'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `open'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `connect'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ timeout.rb:67:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ timeout.rb:101:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `connect'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:553:in `do_start'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:542:in `start'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:1035:in `request'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:772:in `get'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:94:in `send'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:94:in `http_request'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:76:in `http_get'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:139:in `search'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ indirection.rb:256:in `search'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:621:in `perform_recursion'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:588:in `recurse_remote'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:587:in `collect'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:587:in `recurse_remote'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:517:in `recurse'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:407:in `eval_generate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:152:in `eval_generate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:384:in `traverse'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:99:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/resource/ catalog.rb:141:in `apply'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/ downloader.rb:32:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ timeout.rb:67:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/ downloader.rb:31:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/ plugin_handler.rb:19:in `download_plugins'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:77:in `prepare'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:138:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent/ locker.rb:21:in `lock'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ sync.rb:230:in `synchronize'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 95:in `with_client'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 41:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `call'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `controlled_run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 39:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 187:in `run_event_loop'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 149:in `loop'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 149:in `run_event_loop'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 127:in `start'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:357:in `main'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:312:in `run_command'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:416:in `hook'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:407:in `exit_on_fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/ command_line.rb:69:in `execute'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/bin/puppet:4 C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ parameter.rb:165:in `fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/ source.rb:163:in `metadata'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/ source.rb:155:in `each'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/ source.rb:155:in `metadata'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/ source.rb:112:in `copy_source_values'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:663:in `retrieve'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type.rb: 728:in `retrieve_resource'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction/resource_harness.rb:32:in `perform_changes'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction/resource_harness.rb:133:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:49:in `apply'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:84:in `eval_resource'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:104:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb: 484:in `thinmark'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ benchmark.rb:308:in `realtime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb: 483:in `thinmark'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:104:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:386:in `traverse'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:99:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/resource/ catalog.rb:141:in `apply'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/ downloader.rb:32:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ timeout.rb:67:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/ downloader.rb:31:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/ plugin_handler.rb:19:in `download_plugins'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:77:in `prepare'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:138:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent/ locker.rb:21:in `lock'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ sync.rb:230:in `synchronize'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 95:in `with_client'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 41:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `call'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `controlled_run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 39:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 187:in `run_event_loop'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 149:in `loop'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 149:in `run_event_loop'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 127:in `start'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:357:in `main'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:312:in `run_command'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:416:in `hook'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:407:in `exit_on_fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/ command_line.rb:69:in `execute'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/bin/puppet:4 C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `initialize'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `open'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `connect'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ timeout.rb:67:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ timeout.rb:101:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `connect'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:553:in `do_start'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:542:in `start'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:1035:in `request'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:845:in `post'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:94:in `send'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:94:in `http_request'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:76:in `http_post'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:116:in `find'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ indirection.rb:196:in `find'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:240:in `retrieve_new_catalog'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb: 484:in `thinmark'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ benchmark.rb:308:in `realtime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb: 483:in `thinmark'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:239:in `retrieve_new_catalog'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:86:in `retrieve_catalog'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:112:in `retrieve_and_apply_catalog'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:152:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent/ locker.rb:21:in `lock'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ sync.rb:230:in `synchronize'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 95:in `with_client'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 41:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `call'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `controlled_run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 39:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 187:in `run_event_loop'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 149:in `loop'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 149:in `run_event_loop'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 127:in `start'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:357:in `main'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:312:in `run_command'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:416:in `hook'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:407:in `exit_on_fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/ command_line.rb:69:in `execute'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/bin/puppet:4 C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `initialize'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `open'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `connect'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ timeout.rb:67:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ timeout.rb:101:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `connect'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:553:in `do_start'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:542:in `start'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:1035:in `request'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:772:in `get'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:94:in `send'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:94:in `http_request'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:76:in `http_get'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:139:in `search'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ indirection.rb:256:in `search'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:621:in `perform_recursion'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:588:in `recurse_remote'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:587:in `collect'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:587:in `recurse_remote'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:517:in `recurse'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:407:in `eval_generate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:152:in `eval_generate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:384:in `traverse'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:99:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/resource/ catalog.rb:141:in `apply'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:122:in `retrieve_and_apply_catalog'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb: 159:in `benchmark'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ benchmark.rb:308:in `realtime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb: 158:in `benchmark'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:121:in `retrieve_and_apply_catalog'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:152:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent/ locker.rb:21:in `lock'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ sync.rb:230:in `synchronize'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 95:in `with_client'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 41:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `call'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `controlled_run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 39:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 187:in `run_event_loop'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 149:in `loop'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 149:in `run_event_loop'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 127:in `start'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:357:in `main'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:312:in `run_command'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:416:in `hook'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:407:in `exit_on_fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/ command_line.rb:69:in `execute'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/bin/puppet:4 C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ parameter.rb:165:in `fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/ source.rb:163:in `metadata'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/ source.rb:155:in `each'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/ source.rb:155:in `metadata'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/ source.rb:112:in `copy_source_values'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:663:in `retrieve'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type.rb: 728:in `retrieve_resource'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction/resource_harness.rb:32:in `perform_changes'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction/resource_harness.rb:133:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:49:in `apply'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:84:in `eval_resource'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:104:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb: 484:in `thinmark'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ benchmark.rb:308:in `realtime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb: 483:in `thinmark'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:104:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:386:in `traverse'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:99:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/resource/ catalog.rb:141:in `apply'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:122:in `retrieve_and_apply_catalog'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb: 159:in `benchmark'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ benchmark.rb:308:in `realtime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb: 158:in `benchmark'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:121:in `retrieve_and_apply_catalog'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:152:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent/ locker.rb:21:in `lock'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ sync.rb:230:in `synchronize'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 95:in `with_client'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 41:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `call'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `controlled_run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 39:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 187:in `run_event_loop'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 149:in `loop'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 149:in `run_event_loop'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 127:in `start'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:357:in `main'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:312:in `run_command '' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:416:in `hook'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:407:in `exit_on_fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/ command_line.rb:69:in `execute'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/bin/puppet:4 C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `initialize'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `open'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `connect'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ timeout.rb:67:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ timeout.rb:101:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `connect'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:553:in `do_start'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:542:in `start'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:1035:in `request'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:857:in `put'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:94:in `send'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:94:in `http_request'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:76:in `http_put'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:152:in `save'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ indirection.rb:272:in `save'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:175:in `send_report'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:169:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent/ locker.rb:21:in `lock'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ sync.rb:230:in `synchronize'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 95:in `with_client'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 41:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `call'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `controlled_run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 39:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 187:in `run_event_loop'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 149:in `loop'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 149:in `run_event_loop'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/daemon.rb: 127:in `start'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:357:in `main'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:312:in `run_command'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:416:in `hook'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:407:in `exit_on_fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/ command_line.rb:69:in `execute'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/bin/puppet:4 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Jeff McCune
2012-May-23 17:44 UTC
Re: [Puppet Users] Re: could not retrieve information from environment
On Wed, May 23, 2012 at 9:56 AM, Matt F <mfan2006@gmail.com> wrote:> Sure: > > puppet master --configprint certname > myserver01.example.com > > > C:\Windows\system32>puppet agent --trace >How about puppet agent --configprint server ? And sorry for being unclear, could you instead please try puppet agent --test --trace --debug ? I think we lost the error messages themselves and instead only got the stack traces. Also, if you''re able could you paste it in a non-line-wrapping manner? Maybe gist.github.com? -Jeff -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Matt F
2012-May-23 18:04 UTC
[Puppet Users] Re: could not retrieve information from environment
Thanks Jeff. Sorry, my security people block github... C:\Windows\system32>puppet agent --configprint server myserver01.example.com C:\Windows\system32>puppet agent --test --trace --debug debug: Failed to load library ''syslog'' for feature ''syslog'' debug: Failed to load library ''selinux'' for feature ''selinux'' debug: Puppet::Type::File::ProviderPosix: feature posix is missing debug: Failed to load library ''ldap'' for feature ''ldap'' debug: Failed to load library ''shadow'' for feature ''libshadow'' debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/graphs]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/client_data]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/classes.txt]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/ last_run_report.yaml]: Autorequiring File[C:/ProgramData/PuppetLabs/ puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/state.yaml]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/ devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/ etc/ssl/certs] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys/ devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/ etc/ssl/private_keys] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/run]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/log]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/ resources.txt]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/ var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/client_yaml]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/ca.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/ certificate_requests]: Autorequiring File[C:/ProgramData/PuppetLabs/ puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/clientbucket]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/ last_run_summary.yaml]: Autorequiring File[C:/ProgramData/PuppetLabs/ puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys/ devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/ etc/ssl/public_keys] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/crl.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/puppet.conf]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/facts]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: Finishing transaction 130254168 debug: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/ca.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/log]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/ certificate_requests]: Autorequiring File[C:/ProgramData/PuppetLabs/ puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/run]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/crl.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys/ devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/ etc/ssl/private_keys] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/ devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/ etc/ssl/certs] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/facts]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys/ devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/ etc/ssl/public_keys] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: Finishing transaction 40900740 debug: Using cached certificate for ca debug: Using cached certificate for devsttst01 debug: Finishing transaction 132152136 debug: Loaded state in 0.00 seconds info: Retrieving plugin debug: file_metadata supports formats: b64_zlib_yaml pson raw yaml; using pson debug: Using cached certificate for ca debug: Using cached certificate for devsttst01 debug: Using cached certificate_revocation_list for ca C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `initialize'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `open'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `connect'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ timeout.rb:67:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ timeout.rb:101:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `connect'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:553:in `do_start'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:542:in `start'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:1035:in `request'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:772:in `get'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:94:in `send'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:94:in `http_request'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:76:in `http_get'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:139:in `search'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ indirection.rb:256:in `search'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:621:in `perform_recursion'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:588:in `recurse_remote'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:587:in `collect'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:587:in `recurse_remote'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:517:in `recurse'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:407:in `eval_generate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:152:in `eval_generate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:384:in `traverse'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:99:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/resource/ catalog.rb:141:in `apply'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/ downloader.rb:32:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ timeout.rb:67:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/ downloader.rb:31:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/ plugin_handler.rb:19:in `download_plugins'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:77:in `prepare'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:138:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent/ locker.rb:21:in `lock'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ sync.rb:230:in `synchronize'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 95:in `with_client'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 41:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `call'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `controlled_run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 39:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:337:in `onetime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:311:in `run_command'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:416:in `hook'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:407:in `exit_on_fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/ command_line.rb:69:in `execute'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/bin/puppet:4 err: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Failed to generate additional resources using ''eval_generate: No connection could be made because the target machine actively refused it. - connect(2) debug: file_metadata supports formats: b64_zlib_yaml pson raw yaml; using pson C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ parameter.rb:165:in `fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/ source.rb:163:in `metadata'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/ source.rb:155:in `each'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/ source.rb:155:in `metadata'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/ source.rb:112:in `copy_source_values'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/ file.rb:663:in `retrieve'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type.rb: 728:in `retrieve_resource'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction/resource_harness.rb:32:in `perform_changes'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction/resource_harness.rb:133:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:49:in `apply'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:84:in `eval_resource'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:104:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb: 484:in `thinmark'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ benchmark.rb:308:in `realtime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb: 483:in `thinmark'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:104:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:386:in `traverse'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ transaction.rb:99:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/resource/ catalog.rb:141:in `apply'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/ downloader.rb:32:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ timeout.rb:67:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/ downloader.rb:31:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/ plugin_handler.rb:19:in `download_plugins'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:77:in `prepare'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:138:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent/ locker.rb:21:in `lock'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ sync.rb:230:in `synchronize'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 95:in `with_client'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 41:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `call'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `controlled_run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 39:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:337:in `onetime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:311:in `run_command'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:416:in `hook'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:407:in `exit_on_fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/ command_line.rb:69:in `execute'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/bin/puppet:4 err: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Could not evaluate: No connection could be made because the target machine actively refused it. - connect(2) Could not retrieve file metadata for puppet://myserver01.example.com/plugins: No connection could be made because the target machine actively refused it. - connect(2) debug: Finishing transaction 131299056 debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `initialize'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `open'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `connect'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ timeout.rb:67:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ timeout.rb:101:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `connect'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:553:in `do_start'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:542:in `start'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:1035:in `request'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:845:in `post'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:94:in `send'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:94:in `http_request'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:76:in `http_post'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:116:in `find'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ indirection.rb:196:in `find'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:240:in `retrieve_new_catalog'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb: 484:in `thinmark'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ benchmark.rb:308:in `realtime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb: 483:in `thinmark'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:239:in `retrieve_new_catalog'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:86:in `retrieve_catalog'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:112:in `retrieve_and_apply_catalog'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:152:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent/ locker.rb:21:in `lock'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ sync.rb:230:in `synchronize'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 95:in `with_client'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 41:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `call'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `controlled_run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 39:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:337:in `onetime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:311:in `run_command'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:416:in `hook'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:407:in `exit_on_fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/ command_line.rb:69:in `execute'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/bin/puppet:4 err: Could not retrieve catalog from remote server: No connection could be made because the target machine actively refused it. - connect(2) warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run debug: Value of ''preferred_serialization_format'' (pson) is invalid for report, using default (b64_zlib_yaml) debug: report supports formats: b64_zlib_yaml raw yaml; using b64_zlib_yaml C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `initialize'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `open'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `connect'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ timeout.rb:67:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ timeout.rb:101:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:560:in `connect'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:553:in `do_start'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:542:in `start'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:1035:in `request'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/net/ http.rb:857:in `put'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:94:in `send'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:94:in `http_request'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:76:in `http_put'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ rest.rb:152:in `save'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/ indirection.rb:272:in `save'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:175:in `send_report'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ configurer.rb:169:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent/ locker.rb:21:in `lock'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/ sync.rb:230:in `synchronize'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 95:in `with_client'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 41:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `call'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:172:in `controlled_run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb: 39:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:337:in `onetime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application/agent.rb:311:in `run_command'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:416:in `hook'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:407:in `exit_on_fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/ application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/ command_line.rb:69:in `execute'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/bin/puppet:4 err: Could not send report: No connection could be made because the target machine actively refused it. - connect(2) C:\Windows\system32> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Jeff McCune
2012-May-23 18:39 UTC
Re: [Puppet Users] Re: could not retrieve information from environment
On Wed, May 23, 2012 at 11:04 AM, Matt F <mfan2006@gmail.com> wrote:> Thanks Jeff. Sorry, my security people block github... > > C:\Windows\system32>puppet agent --configprint server > myserver01.example.comGood, this matches up with the certname configured on the puppet master.> err: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Failed to > generate additional resources using ''eval_generate: No connection > could be made because the target machine actively refused it. - > connect(2) >This looks like a different problem than the original post. Is the puppet master actually running, and if so are any firewalls actively blocking the connection? -Jeff -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Matt F
2012-May-23 19:30 UTC
Re: [Puppet Users] Re: could not retrieve information from environment
Yeah, looks like the puppetmasterd stopped at some point. There is no firewall. Here''s the new client outout. Per the errors below, I just verified that the times are in sync between the client and the server. C:\Windows\system32>puppet agent --test --trace --debug debug: Failed to load library ''syslog'' for feature ''syslog'' debug: Failed to load library ''selinux'' for feature ''selinux'' debug: Puppet::Type::File::ProviderPosix: feature posix is missing debug: Failed to load library ''ldap'' for feature ''ldap'' debug: Failed to load library ''shadow'' for feature ''libshadow'' debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/facts]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/last_run_summary.yaml]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/graphs]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/client_data]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys/devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/log]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/clientbucket]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/state.yaml]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/client_yaml]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/run]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/resources.txt]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/crl.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/puppet.conf]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/last_run_report.yaml]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/ca.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys/devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certificate_requests]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/classes.txt]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: Finishing transaction 130022952 debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certificate_requests]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/run]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/facts]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys/devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/log]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/crl.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys/devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/ca.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: Finishing transaction 40409820 debug: Using cached certificate for ca debug: Using cached certificate for devsttst01 debug: Finishing transaction 131923512 debug: Loaded state in 0.00 seconds info: Retrieving plugin debug: file_metadata supports formats: b64_zlib_yaml pson raw yaml; using pson debug: Using cached certificate for ca debug: Using cached certificate for devsttst01 debug: Using cached certificate_revocation_list for ca C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/rest.rb:97:in `http_request'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/rest.rb:76:in `http_get'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/rest.rb:139:in `search'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/indirection.rb:256:in `search'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file.rb:621:in `perform_recursion'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file.rb:588:in `recurse_remote'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file.rb:587:in `collect'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file.rb:587:in `recurse_remote'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file.rb:517:in `recurse'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file.rb:407:in `eval_generate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:152:in `eval_generate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:384:in `traverse'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:99:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/resource/catalog.rb:141:in `apply'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/downloader.rb:32:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/timeout.rb:67:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/downloader.rb:31:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/plugin_handler.rb:19:in `download_plugins'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer.rb:77:in `prepare'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer.rb:138:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent/locker.rb:21:in `lock'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/sync.rb:230:in `synchronize'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:95:in `with_client'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:41:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:172:in `call'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:172:in `controlled_run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:39:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application/agent.rb:337:in `onetime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application/agent.rb:311:in `run_command'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:416:in `hook'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:407:in `exit_on_fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line.rb:69:in `execute'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/bin/puppet:4 err: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Failed to generate additional resources using ''eval_generate: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or cli ent debug: file_metadata supports formats: b64_zlib_yaml pson raw yaml; using pson C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/parameter.rb:165:in `fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/source.rb:163:in `metadata'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/source.rb:155:in `each'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/source.rb:155:in `metadata'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/source.rb:112:in `copy_source_values'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file.rb:663:in `retrieve'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type.rb:728:in `retrieve_resource'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction/resource_harness.rb:32:in `perform_changes'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction/resource_harness.rb:133:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:49:in `apply'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:84:in `eval_resource'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:104:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb:484:in `thinmark'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb:483:in `thinmark'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:104:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:386:in `traverse'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:99:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/resource/catalog.rb:141:in `apply'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/downloader.rb:32:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/timeout.rb:67:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/downloader.rb:31:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/plugin_handler.rb:19:in `download_plugins'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer.rb:77:in `prepare'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer.rb:138:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent/locker.rb:21:in `lock'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/sync.rb:230:in `synchronize'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:95:in `with_client'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:41:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:172:in `call'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:172:in `controlled_run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:39:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application/agent.rb:337:in `onetime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application/agent.rb:311:in `run_command'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:416:in `hook'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:407:in `exit_on_fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line.rb:69:in `execute'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/bin/puppet:4 err: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Could not evaluate: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client Could not retrieve file metadata for p uppet://myserver01.example.com/plugins: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This i s often because the time is out of sync on the server or client debug: Finishing transaction 131070636 debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/rest.rb:97:in `http_request'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/rest.rb:76:in `http_post'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/rest.rb:116:in `find'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/indirection.rb:196:in `find'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer.rb:240:in `retrieve_new_catalog'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb:484:in `thinmark'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb:483:in `thinmark'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer.rb:239:in `retrieve_new_catalog'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer.rb:86:in `retrieve_catalog'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer.rb:112:in `retrieve_and_apply_catalog'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer.rb:152:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent/locker.rb:21:in `lock'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/sync.rb:230:in `synchronize'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:95:in `with_client'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:41:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:172:in `call'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:172:in `controlled_run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:39:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application/agent.rb:337:in `onetime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application/agent.rb:311:in `run_command'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:416:in `hook'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:407:in `exit_on_fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line.rb:69:in `execute'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/bin/puppet:4 err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run debug: Value of ''preferred_serialization_format'' (pson) is invalid for report, using default (b64_zlib_yaml) debug: report supports formats: b64_zlib_yaml raw yaml; using b64_zlib_yaml C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/rest.rb:97:in `http_request'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/rest.rb:76:in `http_put'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/rest.rb:152:in `save'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/indirector/indirection.rb:272:in `save'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer.rb:175:in `send_report'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer.rb:169:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent/locker.rb:21:in `lock'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/sync.rb:230:in `synchronize'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:95:in `with_client'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:41:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:172:in `call'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:172:in `controlled_run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:39:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application/agent.rb:337:in `onetime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application/agent.rb:311:in `run_command'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:416:in `hook'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:407:in `exit_on_fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line.rb:69:in `execute'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/bin/puppet:4 err: Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client C:\Windows\system32> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/Mt71BkQFFXgJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Jeff McCune
2012-May-23 20:13 UTC
Re: [Puppet Users] Re: could not retrieve information from environment
On Wed, May 23, 2012 at 12:30 PM, Matt F <mfan2006@gmail.com> wrote:> Yeah, looks like the puppetmasterd stopped at some point. There is no > firewall. Here''s the new client outout. Per the errors below, I just > verified that the times are in sync between the client and the server.I''m not exactly sure what the root cause of the problem, but each post has contained slightly different errors. I recommend deleting the agent SSL directory and cleaning the certificate on the master at this point. So, remove C:/ProgramData/PuppetLabs/puppet/etc/ssl/ on the agent And run puppet cert clean devsttst01 on the master. Then re-run the agent and re-sign the certificate on the master. This should get you going. Were you switching between multiple puppet masters at some point? -Jeff -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Matt F
2012-May-23 20:46 UTC
Re: [Puppet Users] Re: could not retrieve information from environment
I deleted & regenerated the cert. Now I''m getting the errors below. I have never switched puppetmaster servers, but I do have another puppetmaster server that has the dns alias ''puppet''. However, the client should not be accessing that server. Running Puppet agent on demand ... info: Retrieving plugin info: Caching certificate_revocation_list for ca err: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Could not evaluate: Could not retrieve information from environment production source(s) puppet://myserver01.example.com/plugins info: Caching catalog for devsttst01 info: Applying configuration version ''1337805313'' err: /Stage[main]//File[C:/myfiles/engine/engine.exe]: Failed to generate additional resources using ''eval_generate: Server hostname ''myserver01'' did not match server certificate; expected one of myserver01.example.com, DNS:myserver01.example.com, DNS:puppet, DNS:puppet.example.com err: /Stage[main]//File[C:/myfiles/engine/engine.exe]: Could not evaluate: Server hostname ''myserver01'' did not match server certificate; expected one of myserver01.example.com, DNS:myserver01.example.com, DNS:puppet, DNS:puppet.example.com Could not retrieve file metadata for puppet://myserver01/files/engine/engine.exe: Server hostname ''myserver01'' did not match server certificate; expected one of myserver01.example.com, DNS:myserver01.example.com, DNS:puppet, DNS:puppet.example.com at /etc/puppet/manifests/site.pp:8 notice: Finished catalog run in 0.28 seconds -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/YpNoTmvmY0MJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Josh Cooper
2012-May-23 21:18 UTC
Re: [Puppet Users] Re: could not retrieve information from environment
Hi Matt, On Wed, May 23, 2012 at 1:46 PM, Matt F <mfan2006@gmail.com> wrote:> I deleted & regenerated the cert. Now I''m getting the errors below. I have > never switched puppetmaster servers, but I do have another puppetmaster > server that has the dns alias ''puppet''. However, the client should not be > accessing that server. > > Running Puppet agent on demand ...This tells me you''re running puppet through the desktop shortcut.> info: Retrieving plugin > info: Caching certificate_revocation_list for ca > err: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Could not evaluate: > Could > > not retrieve information from environment production source(s) > puppet://myserver01.example.com/plugins > info: Caching catalog for devsttst01 > info: Applying configuration version ''1337805313'' > err: /Stage[main]//File[C:/myfiles/engine/engine.exe]: Failed to generate > additional > resources using ''eval_generate: Server hostname ''myserver01'' did not match > server certificate; expected one of myserver01.example.com, > DNS:myserver01.example.com, DNS:puppet, DNS:puppet.example.com > err: /Stage[main]//File[C:/myfiles/engine/engine.exe]: Could not evaluate: > Server hostname ''myserver01'' did not match server certificate; expected one > of myserver01.example.com, DNS:myserver01.example.com, DNS:puppet, > DNS:puppet.example.com Could not retrieve file metadata for > puppet://myserver01/files/engine/engine.exe: > Server hostname ''myserver01'' did not match server certificate; expected one > of myserver01.example.com, DNS:myserver01.example.com, DNS:puppet, > DNS:puppet.example.com at /etc/puppet/manifests/site.pp:8 > notice: Finished catalog run in 0.28 secondsCan you stop the puppet agent, e.g. net stop puppet, delete the ssl certificates as Jeff described, perform the steps described in the ''Start Command Prompt with Puppet''[1], and run ''puppet agent --test --debug'' Thank you, Josh [1] http://docs.puppetlabs.com/windows/running.html -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Matt F
2012-May-24 11:32 UTC
Re: [Puppet Users] Re: could not retrieve information from environment
Thanks Josh - here''s the output: C:\Windows\system32>puppet agent --test --debug debug: Failed to load library ''syslog'' for feature ''syslog'' debug: Failed to load library ''selinux'' for feature ''selinux'' debug: Puppet::Type::File::ProviderPosix: feature posix is missing debug: Failed to load library ''ldap'' for feature ''ldap'' debug: Failed to load library ''shadow'' for feature ''libshadow'' debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/state.yaml]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/log]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys/devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/graphs]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/client_yaml]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/resources.txt]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys/devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/facts]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/last_run_summary.yaml]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/clientbucket]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/client_data]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/last_run_report.yaml]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/run]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/ca.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/puppet.conf]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/classes.txt]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certificate_requests]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/ca.pem]/mode: mode changed ''0660'' to ''0644'' debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys/devsttst01.pem]/mode: mode changed ''0660'' to ''0644'' debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys/devsttst01.pem]/mode: mode changed ''0640'' to ''0600'' debug: Finishing transaction 129729372 debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys/devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/log]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/run]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certificate_requests]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/facts]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys/devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/ca.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs] debug: Finishing transaction 40561044 debug: Using cached certificate for ca warning: peer certificate won''t be verified in this SSL session info: Caching certificate for devsttst01 debug: Puppet::Type::User::ProviderUser_role_add: file passwd does not exist debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderUseradd: file chage does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Finishing transaction 131603244 debug: Loaded state in 0.00 seconds info: Retrieving plugin debug: file_metadata supports formats: b64_zlib_yaml pson raw yaml; using pson debug: Using cached certificate for ca debug: Using cached certificate for devsttst01 info: Caching certificate_revocation_list for ca debug: file_metadata supports formats: b64_zlib_yaml pson raw yaml; using pson err: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Could not evaluate: Could not retrieve information from environment production source(s) puppet://myserver01.example.com/plugins debug: Finishing transaction 130785588 debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson info: Caching catalog for devsttst01 debug: Creating default schedules debug: Loaded state in 0.00 seconds info: Applying configuration version ''1337805313'' debug: /Schedule[daily]: Skipping device resources because running on a host debug: /Schedule[monthly]: Skipping device resources because running on a host debug: /Schedule[hourly]: Skipping device resources because running on a host debug: /Schedule[never]: Skipping device resources because running on a host debug: file_metadata supports formats: b64_zlib_yaml pson raw yaml; using pson err: /Stage[main]//File[C:/engine/engine.exe]: Failed to generate additional resources using ''eval_generate: Server hostname ''myserver01 '' did not match server certificate; expected one of myserver01.example.com, DNS:myserver01.example.com, DNS:puppet, DNS:puppet.example.com debug: file_metadata supports formats: b64_zlib_yaml pson raw yaml; using pson err: /Stage[main]//File[C:/engine/engine.exe]: Could not evaluate: Server hostname ''myserver01'' did not match server certificate; expect ed one of myserver01.example.com, DNS:myserver01.example.com, DNS:puppet, DNS:puppet.example.com Could not retrieve file metadata for puppet://myserver01/files/engine/engine.exe: Server hostname ''myserver01'' did not match server certificate; expected one of myserver01.example.com, D NS:myserver01.example.com, DNS:puppet, DNS:puppet.example.com at /etc/puppet/manifests/site.pp:8 debug: /Schedule[weekly]: Skipping device resources because running on a host debug: /Schedule[puppet]: Skipping device resources because running on a host debug: Finishing transaction 39968364 debug: Storing state debug: Stored state in 0.02 seconds notice: Finished catalog run in 0.30 seconds debug: Value of ''preferred_serialization_format'' (pson) is invalid for report, using default (b64_zlib_yaml) debug: report supports formats: b64_zlib_yaml raw yaml; using b64_zlib_yaml C:\Windows\system32> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/NJESj8MNuG0J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Josh Cooper
2012-May-24 16:23 UTC
Re: [Puppet Users] Re: could not retrieve information from environment
On Thu, May 24, 2012 at 4:32 AM, Matt F <mfan2006@gmail.com> wrote:> > Thanks Josh - here''s the output: > > C:\Windows\system32>puppet agent --test --debug > > debug: Failed to load library ''syslog'' for feature ''syslog'' > debug: Failed to load library ''selinux'' for feature ''selinux'' > debug: Puppet::Type::File::ProviderPosix: feature posix is missing > debug: Failed to load library ''ldap'' for feature ''ldap'' > debug: Failed to load library ''shadow'' for feature ''libshadow'' > debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/state.yaml]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] > debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] > debug: /File[C:/ProgramData/PuppetLabs/puppet/var/log]: Autorequiring > File[C:/ProgramData/PuppetLabs/puppet/var] > debug: > /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys/devsttst01.pem]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys] > debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/graphs]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] > debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl]: Autorequiring > File[C:/ProgramData/PuppetLabs/puppet/etc] > debug: /File[C:/ProgramData/PuppetLabs/puppet/var/client_yaml]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] > debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/resources.txt]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] > debug: > /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys/devsttst01.pem]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys] > debug: /File[C:/ProgramData/PuppetLabs/puppet/var/facts]: Autorequiring > File[C:/ProgramData/PuppetLabs/puppet/var] > debug: > /File[C:/ProgramData/PuppetLabs/puppet/var/state/last_run_summary.yaml]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] > debug: /File[C:/ProgramData/PuppetLabs/puppet/var/clientbucket]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] > debug: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Autorequiring > File[C:/ProgramData/PuppetLabs/puppet/var] > debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] > debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] > debug: /File[C:/ProgramData/PuppetLabs/puppet/var/client_data]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] > debug: > /File[C:/ProgramData/PuppetLabs/puppet/var/state/last_run_report.yaml]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] > debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs]: Autorequiring > File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] > debug: /File[C:/ProgramData/PuppetLabs/puppet/var/run]: Autorequiring > File[C:/ProgramData/PuppetLabs/puppet/var] > debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/ca.pem]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs] > debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/puppet.conf]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc] > debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state]: Autorequiring > File[C:/ProgramData/PuppetLabs/puppet/var] > debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/classes.txt]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] > debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certificate_requests]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] > debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/ca.pem]/mode: > mode changed ''0660'' to ''0644'' > debug: > /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys/devsttst01.pem]/mode: > mode changed ''0660'' to ''0644'' > debug: > /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys/devsttst01.pem]/mode: > mode changed ''0640'' to ''0600'' > debug: Finishing transaction 129729372 > > debug: > /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys/devsttst01.pem]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys] > debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] > debug: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Autorequiring > File[C:/ProgramData/PuppetLabs/puppet/var] > debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs]: Autorequiring > File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] > debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state]: Autorequiring > File[C:/ProgramData/PuppetLabs/puppet/var] > debug: /File[C:/ProgramData/PuppetLabs/puppet/var/log]: Autorequiring > File[C:/ProgramData/PuppetLabs/puppet/var] > debug: /File[C:/ProgramData/PuppetLabs/puppet/var/run]: Autorequiring > File[C:/ProgramData/PuppetLabs/puppet/var] > debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certificate_requests]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] > debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] > debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] > debug: /File[C:/ProgramData/PuppetLabs/puppet/var/facts]: Autorequiring > File[C:/ProgramData/PuppetLabs/puppet/var] > debug: > /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys/devsttst01.pem]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys] > debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl]: Autorequiring > File[C:/ProgramData/PuppetLabs/puppet/etc] > debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/ca.pem]: > Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs] > debug: Finishing transaction 40561044 > > debug: Using cached certificate for ca > warning: peer certificate won''t be verified in this SSL session > info: Caching certificate for devsttst01 > debug: Puppet::Type::User::ProviderUser_role_add: file passwd does not exist > debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does > not exist > debug: Puppet::Type::User::ProviderPw: file pw does not exist > debug: Puppet::Type::User::ProviderUseradd: file chage does not exist > debug: Puppet::Type::User::ProviderLdap: true value when expecting false > debug: Finishing transaction 131603244 > > debug: Loaded state in 0.00 seconds > info: Retrieving plugin > debug: file_metadata supports formats: b64_zlib_yaml pson raw yaml; using > pson > debug: Using cached certificate for ca > debug: Using cached certificate for devsttst01 > info: Caching certificate_revocation_list for ca > debug: file_metadata supports formats: b64_zlib_yaml pson raw yaml; using > pson > err: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Could not evaluate: > Could not retrieve information from environment production source(s) > puppet://myserver01.example.com/plugins > debug: Finishing transaction 130785588 > > debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson > info: Caching catalog for devsttst01 > debug: Creating default schedules > > debug: Loaded state in 0.00 seconds > info: Applying configuration version ''1337805313'' > debug: /Schedule[daily]: Skipping device resources because running on a host > debug: /Schedule[monthly]: Skipping device resources because running on a > host > debug: /Schedule[hourly]: Skipping device resources because running on a > host > debug: /Schedule[never]: Skipping device resources because running on a host > > debug: file_metadata supports formats: b64_zlib_yaml pson raw yaml; using > pson > err: /Stage[main]//File[C:/engine/engine.exe]: Failed to generate additional > resources using ''eval_generate: Server hostname ''myserver01 > > '' did not match server certificate; expected one of myserver01.example.com, > DNS:myserver01.example.com, DNS:puppet, DNS:puppet.example.com > debug: file_metadata supports formats: b64_zlib_yaml pson raw yaml; using > pson > err: /Stage[main]//File[C:/engine/engine.exe]: Could not evaluate: Server > hostname ''myserver01'' did not match server certificate; expect > > ed one of myserver01.example.com, DNS:myserver01.example.com, DNS:puppet, > DNS:puppet.example.com Could not retrieve file metadata for > puppet://myserver01/files/engine/engine.exe: Server hostname ''myserver01'' > did not match server certificate; expected one of myserver01.example.com, D > NS:myserver01.example.com, DNS:puppet, DNS:puppet.example.com at > /etc/puppet/manifests/site.pp:8 > debug: /Schedule[weekly]: Skipping device resources because running on a > host > debug: /Schedule[puppet]: Skipping device resources because running on a > host > debug: Finishing transaction 39968364 > debug: Storing state > debug: Stored state in 0.02 seconds > notice: Finished catalog run in 0.30 seconds > > debug: Value of ''preferred_serialization_format'' (pson) is invalid for > report, using default (b64_zlib_yaml) > debug: report supports formats: b64_zlib_yaml raw yaml; using b64_zlib_yaml > > C:\Windows\system32> > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/NJESj8MNuG0J. > > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en.Hi Matt, Sorry, my bad. Could you redo this but run puppet as: ''puppet agent --test --debug --trace'' The --trace is needed to display the backtrace. Thanks, Josh -- Josh Cooper Developer, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Matt F
2012-May-24 17:02 UTC
Re: [Puppet Users] Re: could not retrieve information from environment
I ended up installing yet another puppetmaster, and I think that resolved my cert issues. However, my client still cannot get a test file from the puppetmaster. There is NO firewall or selinux running on the server (both disabled). fileserver.conf has: [files] path /var/lib/puppet/files allow *.example.com allow 10.0.0.0/8 Here''s the output: C:\Windows\system32>puppet agent --test --debug --trace debug: Failed to load library ''syslog'' for feature ''syslog'' debug: Failed to load library ''selinux'' for feature ''selinux'' debug: Puppet::Type::File::ProviderPosix: feature posix is missing debug: Failed to load library ''ldap'' for feature ''ldap'' debug: Failed to load library ''shadow'' for feature ''libshadow'' debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/last_run_summary.yaml]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/client_yaml]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/ca.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys/devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/classes.txt]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/state.yaml]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/facts]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/resources.txt]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/client_data]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/puppet.conf]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys/devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/graphs]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/log]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/run]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certificate_requests]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state/last_run_report.yaml]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var/state] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/clientbucket]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/crl.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: Finishing transaction 130055220 debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/crl.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/log]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys/devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certificate_requests]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/public_keys]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/ca.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys/devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs/devsttst01.pem]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/facts]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/run]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/certs]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private_keys]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: /File[C:/ProgramData/PuppetLabs/puppet/var/state]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/var] debug: /File[C:/ProgramData/PuppetLabs/puppet/etc/ssl/private]: Autorequiring File[C:/ProgramData/PuppetLabs/puppet/etc/ssl] debug: Finishing transaction 40409412 debug: Using cached certificate for ca debug: Using cached certificate for devsttst01 debug: Finishing transaction 131956356 debug: Loaded state in 0.00 seconds info: Retrieving plugin debug: file_metadata supports formats: b64_zlib_yaml pson raw yaml; using pson debug: Using cached certificate for ca debug: Using cached certificate for devsttst01 debug: Using cached certificate_revocation_list for ca debug: file_metadata supports formats: b64_zlib_yaml pson raw yaml; using pson C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/parameter.rb:165:in `fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/source.rb:166:in `metadata'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/source.rb:112:in `copy_source_values'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file.rb:663:in `retrieve'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type.rb:728:in `retrieve_resource'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction/resource_harness.rb:32:in `perform_changes'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction/resource_harness.rb:133:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:49:in `apply'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:84:in `eval_resource'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:104:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb:484:in `thinmark'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb:483:in `thinmark'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:104:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:386:in `traverse'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:99:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/resource/catalog.rb:141:in `apply'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/downloader.rb:32:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/timeout.rb:67:in `timeout'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/downloader.rb:31:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer/plugin_handler.rb:19:in `download_plugins'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer.rb:77:in `prepare'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer.rb:138:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent/locker.rb:21:in `lock'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/sync.rb:230:in `synchronize'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:95:in `with_client'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:41:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:172:in `call'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:172:in `controlled_run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:39:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application/agent.rb:337:in `onetime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application/agent.rb:311:in `run_command'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:416:in `hook'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:407:in `exit_on_fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line.rb:69:in `execute'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/bin/puppet:4 err: /File[C:/ProgramData/PuppetLabs/puppet/var/lib]: Could not evaluate: Could not retrieve information from environment production source(s) puppet://myserver02.example.com/plugins debug: Finishing transaction 131103432 debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson info: Caching catalog for devsttst01 debug: Creating default schedules debug: Loaded state in 0.02 seconds info: Applying configuration version ''1337878417'' debug: /Schedule[daily]: Skipping device resources because running on a host debug: /Schedule[monthly]: Skipping device resources because running on a host debug: /Schedule[hourly]: Skipping device resources because running on a host debug: file_metadata supports formats: b64_zlib_yaml pson raw yaml; using pson C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/parameter.rb:165:in `fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/source.rb:163:in `metadata'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/source.rb:155:in `each'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/source.rb:155:in `metadata'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file/source.rb:112:in `copy_source_values'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type/file.rb:663:in `retrieve'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/type.rb:728:in `retrieve_resource'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction/resource_harness.rb:32:in `perform_changes'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction/resource_harness.rb:133:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:49:in `apply'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:84:in `eval_resource'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:104:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb:484:in `thinmark'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb:483:in `thinmark'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:104:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:386:in `traverse'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/transaction.rb:99:in `evaluate'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/resource/catalog.rb:141:in `apply'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer.rb:122:in `retrieve_and_apply_catalog'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb:159:in `benchmark'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util.rb:158:in `benchmark'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer.rb:121:in `retrieve_and_apply_catalog'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/configurer.rb:152:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent/locker.rb:21:in `lock'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/1.8/sync.rb:230:in `synchronize'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:43:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:95:in `with_client'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:41:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:172:in `call'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:172:in `controlled_run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/agent.rb:39:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application/agent.rb:337:in `onetime'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application/agent.rb:311:in `run_command'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:416:in `hook'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:407:in `exit_on_fail'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:309:in `run'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line.rb:69:in `execute'' C:/Program Files (x86)/Puppet Labs/Puppet/puppet/bin/puppet:4 err: /Stage[main]//File[C:\\engine\\engine.exe]: Could not evaluate: No connection could be made because the target machine actively refused it. - connect( 2) Could not retrieve file metadata for puppet://myserver02/files/engine/engine.exe: No connection could be made because the target machine activel y refused it. - connect(2) at /etc/puppet/manifests/site.pp:7 debug: /Schedule[never]: Skipping device resources because running on a host debug: /Schedule[weekly]: Skipping device resources because running on a host debug: /Schedule[puppet]: Skipping device resources because running on a host debug: Finishing transaction 39871896 debug: Storing state debug: Stored state in 0.02 seconds notice: Finished catalog run in 1.14 seconds debug: Value of ''preferred_serialization_format'' (pson) is invalid for report, using default (b64_zlib_yaml) debug: report supports formats: b64_zlib_yaml raw yaml; using b64_zlib_yaml C:\Windows\system32> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/1tnLMXOlBvgJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Jeff McCune
2012-May-24 17:39 UTC
Re: [Puppet Users] Re: could not retrieve information from environment
On Thu, May 24, 2012 at 10:02 AM, Matt F <mfan2006@gmail.com> wrote:> I ended up installing yet another puppetmaster, and I think that resolved > my cert issues. However, my client still cannot get a test file from the > puppetmaster. There is NO firewall or selinux running on the server (both > disabled). > > fileserver.conf has: >Ah ha! This is the issue. So, you should never really need to modify fileserver.conf in modern versions of Puppet (versions after 0.23). Puppet will automatically serve up files located in modules. For more information please see: http://docs.puppetlabs.com/learning/modules1.html (Particularly the Module Structure section)> [files] > path /var/lib/puppet/files > allow *.example.com > allow 10.0.0.0/8Your client certificate does not have the domain example.com. It only has the short name of devsttst01 as we saw when you ran puppet agent --configprint certname. As a result, devsttst01 does not match the glob *.example.com and as a result the puppet master is marking the requests as unauthenticated. To fix this, if you move the file on the master into a module, for example /etc/puppet/modules/engine/files/engine.exe And then reference the file using the module URI: source => "puppet:///engine/engine.exe" Then Puppet will automatically serve up the file without the need for an entry in fileserver.conf. Hope this helps, -Jeff -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Matt F
2012-May-24 19:35 UTC
Re: [Puppet Users] Re: could not retrieve information from environment
Do I _have_ to use a module? I''m starting out with the very basics. All I want to do is copy a single file. would this work with a class instead of a module? I''m starting to read your "Pro Puppet" book... and on pg 20 modules are described as "an ADVANCED, portable..." keyword ADVANCED. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/y-ch1U3tMv0J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Jeff McCune
2012-May-24 20:09 UTC
Re: [Puppet Users] Re: could not retrieve information from environment
On Thu, May 24, 2012 at 12:35 PM, Matt F <mfan2006@gmail.com> wrote:> Do I _have_ to use a module? I''m starting out with the very basics. All I > want to do is copy a single file. would this work with a class instead of a > module? I''m starting to read your "Pro Puppet" book... and on pg 20 modules > are described as "an ADVANCED, portable..." keyword ADVANCED.Hrm, we probably shouldn''t have described modules as advanced. They''re fundamental. They''re also fairly lightweight. You can just just take any class and put it inside of a manifest file that conforms to the conventions of module organization and presto! It''s a module. The same thing applies with a static file. You just put the file in the right directory and presto! It''s inside of a module. -Jeff -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
jcbollinger
2012-May-24 21:13 UTC
[Puppet Users] Re: could not retrieve information from environment
On May 24, 2:35 pm, Matt F <mfan2...@gmail.com> wrote:> Do I _have_ to use a module? I''m starting out with the very basics. All I > want to do is copy a single file. would this work with a class instead of a > module? I''m starting to read your "Pro Puppet" book... and on pg 20 modules > are described as "an ADVANCED, portable..." keyword ADVANCED.Modules are "advanced" in the sense that the the feature is powerful, forward-looking, well-designed, etc.. It''s marketing-speak, if you will (forgive me, Jeff). *Creation and Use* of modules is simple, and in many ways easier than using Puppet without modules. And starting with modules from the beginning will mean that you don''t have to convert code to modules later. Pretty much all your manifest code should be in modules, with the exception of site.pp and node declarations. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.