Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

puppetserver 2 times out because it cannot find a key

Fresh install on Centos (tried both 6 and 7) from the PC1 repo. Starting puppetserver munchs away at my RAM for a few minutes then fails with this error:

Exception in thread "main" java.lang.IllegalStateException: Cannot initialize master with partial state; need all files or none.
Found:
/etc/puppetlabs/puppet/ssl/private_keys/puppet.novalocal.pem
Missing:
/etc/puppetlabs/puppet/ssl/certs/puppet.novalocal.pem

It seems that it is looking in the wrong directory for the public key as it appears to have been created elsewhere:

[chris@puppet ~]$ sudo find /etc/puppetlabs/ -name puppet.novalocal.pem
/etc/puppetlabs/puppet/ssl/private_keys/puppet.novalocal.pem
/etc/puppetlabs/puppet/ssl/public_keys/puppet.novalocal.pem

I am dumbly following the official docs. so it may mean a little correction there or in the install package