Re: [Puppet Users] Re: could not retrieve information from environment

Matt F
Thu, 24 May 2012 17:02:34 -0000

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