On 03/02/17 13:59, Albert Shih wrote:
Le 02/02/2017 à 18:09:58+0100, Henrik Lindberg a écrit
On 02/02/17 14:28, Albert Shih wrote:
Hi,
We just update puppet-agent (Debian, puppetlabs repot) on the puppetserver
(last version), and every agent stop working with this error
Info: Using configured environment 'jas'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 500 on SERVER:
Server Error: hiera configuration version 3 cannot be used in an environment on
node node_fqdn
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Anyone have this problem ?
Any idea ?
You have a hiera.yaml in the root of your environment. It should not be
there. Rename it or move it out of the way.
You're absolute right.
Here the thing you NEED to do when you pass to 1.9.0 :
Make sure you don't have ANY hiera.yaml in /code/environments/*
Make sure you don't have any EMPTY hiera file in hieradata
after that everything work fine.
Regards.
JAS
Thanks JAS for the writeup. Both of these problems will be addressed in
a 4.9.2 release coming shortly.
In 4.9.2 you should still move the hiera.yaml out of environment roots,
but it will not fail if there is a hiera.yaml version 3 file there.
Best, and sorry for all the trouble.
- henrik
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/o71v3v%241ue%241%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.