Ask Your Question
0

Puppet Client: certificate request fails

asked 2015-02-16 04:05:51 -0500

bantubanerji gravatar image

From puppet client, when I run "puppet agent --test --server=xxx.xyz.com" It fails with the following error -

Info: Retrieving plugin Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class xxx for xyz.foo.com on node xyz.foo.com Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run

At the beginning it was working. In puppet server, I have executed - puppet cert --revoke <client> puppet node clean <client> Now, in puppet server, puppet cert list --all shows no information about the client. But still I am unable to raise new certificate request from client.
Please help

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-02-18 13:39:57 -0500

GregLarkin gravatar image

Please make sure to follow all of the steps detailed here: https://docs.puppetlabs.com/pe/latest/agentcertregen.html

Once you regenerate the certificate for your node and accept it on your Puppet master, you may still have the separate problem of "Could not find class xxx...". If you do, please post a new question to this site with as many details as you can supply. That problem is not related to the client's certificate, so you don't have to regenerate it to solve it.

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

Stats

Asked: 2015-02-16 04:05:51 -0500

Seen: 106 times

Last updated: Feb 18 '15