On Tue, Feb 6, 2018 at 3:04 AM, SCHAER Frederic <frederic.sch...@cea.fr> wrote:
> Hi, > > > > On my dev puppetserver, I have : > > # puppet config print environmentpath > > /puppet/code/envs > > > > # grep env /etc/puppetlabs/puppet/puppet.conf > > environmentpath = /puppet/code/envs > > environment = preprod > > > > (yes, the puppetserver for dev hosts is in env preprod ;) ) > > > > On all client nodes referring to that puppetserver, I see since today : > > # puppet agent -t > > Warning: Unable to fetch my node definition, but the agent run will > continue: > > Warning: Could not intern from application/json: Could not find a > directory environment named 'dev' anywhere in the path: > /etc/puppetlabs/code/environments. Does the directory exist? > > Info: Retrieving pluginfacts > > (…) > > And configuration goes on as before. If I change something in puppet, the > change is seen despite the warning. > > > > > > If I downgrade the puppet-server, this changes nothing. > > If I downgrade the puppet-agent, the warning goes away. But configuration > fails because of some unfound ruby gems – that’s new: > > Error: Could not convert change ensure to string: No such file or > directory @ rb_sysopen - /opt/puppetlabs/puppet/lib/ > ruby/gems/2.4.0/gems/fast_gettext-1.1.0/lib/fast_gettext/vendor/empty.mo > > Error: No such file or directory @ rb_sysopen - /opt/puppetlabs/puppet/lib/ > ruby/gems/2.4.0/gems/fast_gettext-1.1.0/lib/fast_gettext/vendor/empty.mo > > > > > > The puppet agent indeed has a default config that I did not specify – and > don’t want to, I’m running with a puppetserver : > > # puppet config print environmentpath > > /etc/puppetlabs/code/environments > > # grep env /etc/puppetlabs/puppet/puppet.conf > > environment = dev > > > > > > > > ð Question : what am I doing wrong ? > > > This was a regression in puppet-agent 5.3.4 involving non-default environments[1]. It will be fixed in puppet-agent 5.3.5. We have many acceptance tests for this functionality, but unfortunately they did not catch this particular failure mode when the initial node request fails. We'll be updating those tests to avoid regressing in the future[2]. Thanks > > > > > > *De :* puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] > *De la part de* Molly Waggett > *Envoyé :* lundi 5 février 2018 21:10 > *À :* puppet-users@googlegroups.com > *Objet :* [Puppet Users] Announce: Puppet Platform 5.3.4 is now available > > > > This is a bug-fix release of Puppet Platform. All three components - > puppet-agent, PuppetDB, and Puppet Server - have been updated. > > > > This release of Puppet Agent updates Puppet to 5.3.4 and Facter to 3.9.4. > Puppet 5.3.4 adds two new settings, `sourceaddress` and `runtimeout`. It > also adds module translation distribution to pluginsync, improves Japanese > localization, and fixes several bugs. This release also adds support for > macOS 10.13 (High Sierra), EL 7 on arm64, and Amazon Linux 2. For details, > see the Puppet Agent > <https://puppet.com/docs/puppet/5.3/release_notes_agent.html> release > notes. > > > > PuppetDB 5.1.4 and Puppet Server 5.1.5 add Debian 9 (Stretch) packages, as > well as additional bug fixes. For details, see the Puppet Server > <https://puppet.com/docs/puppetserver/5.1/release_notes.html> and PuppetDB > <https://puppet.com/docs/puppetdb/5.1/release_notes.html> release notes. > > > > Thanks! > > > > -- > > *Molly Waggett* > > Release Engineer @ Puppet, Inc. > > -- > 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/CAFOE68B9vb1VfqAoq6S%2BOmmV6987S61n2NNxkHtCpxpXoEkC > XQ%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CAFOE68B9vb1VfqAoq6S%2BOmmV6987S61n2NNxkHtCpxpXoEkCXQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- > 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/CAB586860327CB498EF79903967FEA231A7A720B%40E-EXDAGE-A0. > extra.cea.fr > <https://groups.google.com/d/msgid/puppet-users/CAB586860327CB498EF79903967FEA231A7A720B%40E-EXDAGE-A0.extra.cea.fr?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > Josh [1] https://tickets.puppetlabs.com/browse/PUP-8419 [2] https://tickets.puppetlabs.com/browse/PUP-8459 -- Josh Cooper | Software Engineer j...@puppet.com | @coopjn -- 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/CA%2Bu97u%3DHtbKDkiK1KXWcgSrUtJfVc_wWc5o6bX-38g5YJ3H1xw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.