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
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
xmpp:
j...@obspm.fr
Heure local/Local time:
ven. 3 févr. 2017 13:58:35 CET
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone :
+33 1 45 07 76 26/
+33 6 86 69 95 71
ven. 3 févr. 2017 13:59:50 CET