Bug #1518

Puppet::Parser::Compiler failed with error NameError: uninitialized constant ParamValue

Added by Tim Stoop almost 4 years ago. Updated almost 2 years ago.

Status:Closed Start date:08/18/2008
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Affected Puppet version:0.24.5 Branch:
Keywords:
Votes: 0

Description

This seems to be related to #1510:

$ sudo puppetd --no-daemonize --no-splay --onetime --logdest console --logdest syslog --trace --debug
info: Loading fact perc
info: Loading fact backupsshkey
info: Loading fact drbd
info: Loading fact xen
debug: Creating default schedules
debug: Failed to load library 'ldap' for feature 'ldap'
debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/lib/puppet/lib/facter]: Autorequiring File[/var/lib/puppet/lib]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/lib/puppet/ssl]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/private_keys/backup.nl.informatm.com.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/puppet/ssl]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[puppetd]/File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/var/lib/puppet/ssl/certs]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/certs/backup.nl.informatm.com.pem]: Autorequiring File[/var/lib/puppet/ssl/certs]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/var/lib/puppet/ssl]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/public_keys/backup.nl.informatm.com.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl]
debug: Finishing transaction 23456252064900 with 0 changes
debug: Puppet::Network::Client::File: defining fileserver.describe
debug: Puppet::Network::Client::File: defining fileserver.list
debug: Puppet::Network::Client::File: defining fileserver.retrieve
info: Retrieving plugins
debug: Calling fileserver.list
debug: /File[/var/lib/puppet/lib]/checksum: Initializing checksum hash
debug: /File[/var/lib/puppet/lib]: Creating checksum {mtime}Mon Mar 24 19:05:26 +0100 2008
debug: Calling fileserver.describe
debug: Calling fileserver.list
debug: /File[/var/lib/puppet/lib/types]/checksum: Initializing checksum hash
debug: /File[/var/lib/puppet/lib/types]: Creating checksum {mtime}Mon Mar 24 19:05:26 +0100 2008
debug: Calling fileserver.describe
debug: Calling fileserver.list
debug: /File[/var/lib/puppet/lib/facter]/checksum: Initializing checksum hash
debug: /File[/var/lib/puppet/lib/facter]: Creating checksum {mtime}Mon Aug 11 16:55:03 +0200 2008
debug: Calling fileserver.describe
debug: Calling fileserver.list
debug: /File[/var/lib/puppet/lib/facter/perc.rb]/checksum: Initializing checksum hash
debug: /File[/var/lib/puppet/lib/facter/perc.rb]: Creating checksum {md5}ba16242f3239667ea9d84f4a41ee8bb4
debug: Calling fileserver.describe
debug: Calling fileserver.list
debug: /File[/var/lib/puppet/lib/facter/backupsshkey.rb]/checksum: Initializing checksum hash
debug: /File[/var/lib/puppet/lib/facter/backupsshkey.rb]: Creating checksum {md5}15f355575afae46cb188b4f2af2a9f32
debug: Calling fileserver.describe
debug: Calling fileserver.list
debug: /File[/var/lib/puppet/lib/facter/drbd.rb]/checksum: Initializing checksum hash
debug: /File[/var/lib/puppet/lib/facter/drbd.rb]: Creating checksum {md5}b40ad038e7246c73a773629dd7f4b085
debug: Calling fileserver.describe
debug: Calling fileserver.list
debug: /File[/var/lib/puppet/lib/facter/xen.rb]/checksum: Initializing checksum hash
debug: /File[/var/lib/puppet/lib/facter/xen.rb]: Creating checksum {md5}500d2542dac32411ec0731d48fe3d6c1
debug: Calling fileserver.describe
debug: Finishing transaction 23673955835360 with 0 changes
info: Loading fact perc
info: Loading fact backupsshkey
info: Loading fact drbd
info: Loading fact xen
debug: Retrieved facts in 0.35 seconds
debug: Retrieving catalog
debug: Calling puppetmaster.getconfig
err: Could not retrieve catalog: Puppet::Parser::Compiler failed with error NameError: uninitialized constant ParamValue on node backup.nl.domain

I’ve tried the fix noted in #1510, but that didn’t seem to solve it.

Please let me know what I can do to help with this.


Related issues

related to Puppet - Bug #1510: storeconfig fails with Rails 2.1 Closed 08/13/2008

History

Updated by Tim Stoop almost 4 years ago

This is on Debian Etch with the puppet package from testing (0.24.5-2). The rails version on the puppetmaster is 2.1.0-2, but this is the only client effected by this problem. There are about 100+ other clients without this problem using the same platform and puppetmaster.

Updated by Brice Figureau over 3 years ago

Can you please show the trace in the puppetmaster logs (you should run it with —trace) ? You said you tried the fix of #1510, are you sure you tried it on the puppetmaster and not on the client? What does this client have that could be different from your others (like resource collect/export)?

Updated by James Turnbull over 3 years ago

  • Status changed from Unreviewed to Needs More Information
  • Assignee set to Brice Figureau

Updated by Luke Kanies over 3 years ago

If you’re still having this, can you provide a server-side stack trace? The client-side trace doesn’t help.

Updated by Tim Stoop over 3 years ago

  • Status changed from Needs More Information to Closed

Not experiencing this any more, unable to provide a trace. So closing it.

Updated by micah - over 3 years ago

  • Status changed from Closed to Re-opened
  • Assignee deleted (Brice Figureau)

I started to get this on one of my nodes recently. The only thing I can think of that may be related was that I installed the debian package: libactiverecord-ruby1.8 (2.1.2-1) as well as libactivesupport-ruby1.8 after I read on the mailing list that this can help with the memory on the puppetmaster, when using storedconfigs. Previously, I did not have that package installed at all.

I just removed those packages, (in the process this also removed: curl libbuilder-ruby1.8 libcurl3 libxml-simple-ruby), and restarted the puppetmaster, and the problem seems to have gone away.

Perhaps that means this bug report should be closed, rather than re-opened, but I dont know if this information uncovers some information that indicates a bug or not. If you feel it should be closed, by all means do so, others will still be able to find my solution through searches. If you are interested in some more debugging, let me know.

Updated by Luke Kanies over 3 years ago

If you can provide a trace, maybe we can fix it?

Otherwise, this should be closed.

Updated by James Turnbull almost 2 years ago

  • Status changed from Re-opened to Closed

Also available in: Atom PDF