Reloading puppet master with kill -HUP causes agent connection problems

asked 2016-06-22 04:37:20 -0500

mouse256 gravatar image

We're currently trying to figure out what the best way is to restart the puppet master when some configuration files change. Currently we're sending a "kill -HUP" as described in the documentation: However during that restart puppet agents that run during that timeframe fail with something like:

(err): Could not evaluate: Could not retrieve file metadata for puppet:///modules/puppetmaster/autosign.conf: Connection refused - connect(2) for "our.puppet.master.address" port 8140

Our puppet agents are configured pretty default, so according to the documentation this means a http timeout of 2min. I don't see that happening, it seems to fail immediately.

Is there a way to solve this?

edit retag flag offensive close merge delete