Ask Your Question
0

err: Could not retrieve catalog from remote server

asked 2014-02-11 08:26:27 -0500

baguette gravatar image

I have that problem but cleaning and signing against gives me the same error, any ideas?

root@ubuntu:~# puppet agent --server=master--waitforcert 20 –test
Could not prepare for execution: Could not create PID file: /var/run/puppet/agent.pid    
root@ubuntu:~# puppet agent -t --verbose
    info: Creating a new SSL key for ubuntu.lan
    info: Caching certificate for ca
    info: Creating a new SSL certificate request for ubuntu.lan
    info: Certificate Request fingerprint (md5): B2:BE:E6:5B:E6:92:07:AE:3F:D3:8F:23:DB:2F:25:9E
    info: Caching certificate for ubuntu.lan
    info: Caching certificate_revocation_list for ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2014-02-11 11:25:28 -0500

spuder gravatar image

From the log output, it looks like there are two problems.

  1. Are the clocks in sync between both the puppet master and the node? If the clocks are too far apart even a valid ssl certificate will be rejected.

  2. Puppet is unable to create a lock file "Could not create PID file: /var/run/puppet/agent.pid" Is /var/run/puppet a writable directory? Also, do you already have a puppet agent running? See this question here.

edit flag offensive delete link more

Comments

thanks, I just had to synch the clocks with ntpdate ntp.ubuntu.com thanks

baguette gravatar imagebaguette ( 2014-02-13 09:29:53 -0500 )edit

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: 2014-02-11 08:26:27 -0500

Seen: 74 times

Last updated: Feb 11 '14