Puppet(err) : Could not retrieve catalog from remote server. Error 400 on SERVER:could not parse YAML data for node

Should you have the following error : “Puppet(err) : Could not retrieve catalog from remote server. Error 400 on SERVER:could not parse YAML data for node”, the following steps helped me solving this problem :

On the Puppet master :

root@puppetmaster:~# rm /var/lib/puppet/yaml/node/FQDN_node
root@puppetmaster:~# rm /var/lib/puppet/yaml/facts/FQDN_node

On the host (represented here as FQDN_node) running Puppet agent :

root@puppet_agent:~# service puppet stop
root@puppet_agent:~# puppet agent --test --server FQDN_puppet_master

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s