About | FAQ | Help
Ask Your Question

In Windows 2012, puppet agent --test fails with the following error, but goes through when passed the --server

asked 2014-09-12 05:21:15 -0500

devops gravatar image

updated 2014-09-15 14:44:54 -0500

c:\Program Files (x86)\Puppet Labs\Puppet\bin>puppet agent --test err: Could not retrieve catalog from remote server: getaddrinfo: The storage control blocks were destroyed. warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run err: Could not send report: getaddrinfo: The storage control blocks were destroyed.

c:\Program Files (x86)\Puppet Labs\Puppet\bin>puppet agent --server puppetmaster.xx.com --test info: Caching catalog for hmecd000057v.xx.com info: Applying configuration version '1410516470' notice: Finished catalog run in 0.28 seconds

Please Help..

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-09-15 11:48:36 -0500

joshc gravatar image

The "storage control blocks" error indicates the agent cannot resolve the DNS name of the puppet master, see https://docs.puppetlabs.com/windows/t...

You can execute the following as an Administrator to determine which server the agent is trying to connect to:

puppet agent --configprint server

You can execute the following command to set the property from the command line:

puppet config set server --section main <puppetmaster FQDN>
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-09-12 05:21:15 -0500

Seen: 493 times

Last updated: Sep 15 '14