Peter Berghold
2010-Nov-01 23:15 UTC
[Puppet Users] puppetd misbehaving on a debian based box.
Hi folks, Recently I put Linux Mint on my box at home and I am trying to manage it via puppet. This went well a few times and now I''m getting a very cryptic message that does not make sense to me. info: Retrieving plugin err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using ''eval_generate'': undefined method `closed?'' for nil:NilClass err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: undefined method `closed?'' for nil:NilClass Could not retrieve file metadata for puppet://puppet/plugins: undefined method `closed?'' for nil:NilClass info: Loading facts in acpi_available info: Loading facts in interfaces info: Loading facts in acpi_available info: Loading facts in interfaces err: Could not retrieve catalog from remote server: undefined method `closed?'' for nil:NilClass warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run What''s up with all that? peter@kennel ~ $ puppetd --version 0.25.4 Can someone nudge me in the right direction to get this working again? Thanks in advance... -- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Nigel Kersten
2010-Nov-01 23:56 UTC
Re: [Puppet Users] puppetd misbehaving on a debian based box.
On Mon, Nov 1, 2010 at 11:15 PM, Peter Berghold <salty.cowdawg@gmail.com> wrote:> Hi folks, > > Recently I put Linux Mint on my box at home and I am trying to manage it via > puppet. This went well a few times and now I''m getting a very cryptic > message that does not make sense to me. > > info: Retrieving plugin > err: /File[/var/lib/puppet/lib]: Failed to generate additional resources > using ''eval_generate'': undefined method `closed?'' for nil:NilClass > err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of > resource: undefined method `closed?'' for nil:NilClass Could not retrieve > file metadata for puppet://puppet/plugins: undefined method `closed?'' for > nil:NilClass > info: Loading facts in acpi_available > info: Loading facts in interfaces > info: Loading facts in acpi_available > info: Loading facts in interfaces > err: Could not retrieve catalog from remote server: undefined method > `closed?'' for nil:NilClass > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping run > > What''s up with all that?Were you distributing plugins in the lib/ sub-directory of modules and you''ve since deleted them from the master?> > peter@kennel ~ $ puppetd --version > 0.25.4 > > > Can someone nudge me in the right direction to get this working again? > Thanks in advance... > > > -- > Peter L. Berghold > Owner, Shark River Technical Solutions LLC > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- Nigel Kersten - Puppet Labs - http://www.puppetlabs.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Peter Berghold
2010-Nov-02 01:18 UTC
Re: [Puppet Users] puppetd misbehaving on a debian based box.
On Mon, Nov 1, 2010 at 7:56 PM, Nigel Kersten <nigel@puppetlabs.com> wrote:> > > Were you distributing plugins in the lib/ sub-directory of modules and > you''ve since deleted them from the master? > > > > > > >I should wish it was that easy! Nope... I wasn''t distributing plugins... from anywhere... -- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Peter Berghold
2010-Nov-02 01:38 UTC
Re: [Puppet Users] puppetd misbehaving on a debian based box.
Deleted and re-installed puppetd and things are working again... that was wierd. Still not sure what happened. -- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Bruce Richardson
2010-Nov-02 01:55 UTC
Re: [Puppet Users] puppetd misbehaving on a debian based box.
On Mon, Nov 01, 2010 at 09:38:53PM -0400, Peter Berghold wrote:> Deleted and re-installed puppetd and things are working again... that was > wierd. > > Still not sure what happened.Removing the package may have removed a state file that was causing a problem. If it happens again, try taking a copy of /var/lib/puppet before you remove, then compare the contents when you reinstall. May help you find the problem. -- Bruce Bitterly it mathinketh me, that I spent mine wholle lyf in the lists against the ignorant. -- Roger Bacon, "Doctor Mirabilis"
Patrick
2010-Nov-02 05:59 UTC
Re: [Puppet Users] puppetd misbehaving on a debian based box.
Just in case you find this error again On Nov 1, 2010, at 4:15 PM, Peter Berghold wrote:> undefined method `closed?'' for nil:NilClassThis error is a bug that is fixes in later versions of puppet. It means, something went wrong (this might be your fault) and the cleanup code failed (this part isn''t your fault). More information at: http://projects.puppetlabs.com/issues/3101 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.