Issue #21922 has been updated by James Glenn.
Affected Puppet version changed from 3.2.3 to 3.3.1
This is the best I could come up with. puppet agent never throws the error when
running manually. I see the error every *other* time the daemon runs. I added
<pre>--verbose --debug</pre> to my /etc/init.d/puppet script.
<pre>
[root@PCentOS08 ~]# tail -f /var/log/messages &
[1] 32173
Oct 24 12:17:05 PCentOS08 puppet-agent[29148]: Caching catalog for
pcentos08.vml.lan
Oct 24 12:17:07 PCentOS08 puppet-agent[29148]: Applying configuration version
'1382629785'
Oct 24 12:17:14 PCentOS08 puppet-agent[29148]: Finished catalog run in 8.60
seconds
[root@PCentOS08 ~]# /etc/init.d/puppet restart
Stopping puppet agent: Oct 24 12:51:34 PCentOS08 puppet-agent[25338]: Caught
TERM; calling stop
[ OK ]
Starting puppet agent: Debug: Puppet::Type::User::ProviderPw: file pw does not
exist
Debug: Puppet::Type::User::ProviderLdap: true value when expecting false
Debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dsimport
does not exist
Debug: Puppet::Type::User::ProviderUser_role_add: file rolemod does not exist
Debug: Using settings: adding file resource 'certdir':
'File[/var/lib/puppet/ssl/certs]{:ensure=>:directory, :loglevel=>:debug,
:links=>:follow, :backup=>false, :owner=>"puppet",
:path=>"/var/lib/puppet/ssl/certs"}'
Debug: Using settings: adding file resource 'lastrunreport':
'File[/var/lib/puppet/state/last_run_report.yaml]{:ensure=>:file,
:loglevel=>:debug, :links=>:follow, :backup=>false, :mode=>"640",
:path=>"/var/lib/puppet/state/last_run_report.yaml"}'
Debug: Using settings: adding file resource 'requestdir':
'File[/var/lib/puppet/ssl/certificate_requests]{:ensure=>:directory,
:loglevel=>:debug, :links=>:follow, :backup=>false, :owner=>"puppet",
:path=>"/var/lib/puppet/ssl/certificate_requests"}'
Debug: Using settings: adding file resource 'clientyamldir':
'File[/var/lib/puppet/client_yaml]{:ensure=>:directory, :loglevel=>:debug,
:links=>:follow, :backup=>false, :mode=>"750",
:path=>"/var/lib/puppet/client_yaml"}'
Debug: Using settings: adding file resource 'hostprivkey':
'File[/var/lib/puppet/ssl/private_keys/pcentos08.vml.lan.pem]{:ensure=>:file,
:loglevel=>:debug, :links=>:follow, :backup=>false, :owner=>"puppet",
:mode=>"600", :path=>"/var/lib/puppet/ssl/private_keys/pcentos08.vml.lan.pem"}'
Debug: Using settings: adding file resource 'resourcefile':
'File[/var/lib/puppet/state/resources.txt]{:ensure=>:file, :loglevel=>:debug,
:links=>:follow, :backup=>false, :owner=>"root", :mode=>"640",
:path=>"/var/lib/puppet/state/resources.txt"}'
Debug: Using settings: adding file resource 'statedir':
'File[/var/lib/puppet/state]{:ensure=>:directory, :loglevel=>:debug,
:links=>:follow, :backup=>false, :mode=>"1755", :path=>"/var/lib/puppet/state"}'
Debug: Using settings: adding file resource 'vardir':
'File[/var/lib/puppet]{:ensure=>:directory, :loglevel=>:debug, :links=>:follow,
:backup=>false, :path=>"/var/lib/puppet"}'
Debug: Puppet::Type::Group::ProviderPw: file pw does not exist
Debug: Puppet::Type::Group::ProviderLdap: true value when expecting false
Debug: Puppet::Type::Group::ProviderDirectoryservice: file /usr/bin/dscl does
not exist
Debug: Using settings: adding file resource 'rundir':
'File[/var/run/puppet]{:ensure=>:directory, :loglevel=>:debug,
:group=>"puppet", :links=>:follow, :backup=>false, :owner=>"puppet",
:mode=>"755", :path=>"/var/run/puppet"}'
Debug: Using settings: adding file resource 'ssldir':
'File[/var/lib/puppet/ssl]{:ensure=>:directory, :loglevel=>:debug,
:links=>:follow, :backup=>false, :owner=>"puppet", :mode=>"771",
:path=>"/var/lib/puppet/ssl"}'
Debug: Using settings: adding file resource 'privatekeydir':
'File[/var/lib/puppet/ssl/private_keys]{:ensure=>:directory, :loglevel=>:debug,
:links=>:follow, :backup=>false, :owner=>"puppet", :mode=>"750",
:path=>"/var/lib/puppet/ssl/private_keys"}'
Debug: Using settings: adding file resource 'plugindest':
'File[/var/lib/puppet/lib]{:ensure=>:directory, :loglevel=>:debug,
:links=>:follow, :backup=>false, :path=>"/var/lib/puppet/lib"}'
Debug: Using settings: adding file resource 'client_datadir':
'File[/var/lib/puppet/client_data]{:ensure=>:directory, :loglevel=>:debug,
:links=>:follow, :backup=>false, :mode=>"750",
:path=>"/var/lib/puppet/client_data"}'
Debug: Using settings: adding file resource 'hostpubkey':
'File[/var/lib/puppet/ssl/public_keys/pcentos08.vml.lan.pem]{:ensure=>:file,
:loglevel=>:debug, :links=>:follow, :backup=>false, :owner=>"puppet",
:mode=>"644", :path=>"/var/lib/puppet/ssl/public_keys/pcentos08.vml.lan.pem"}'
Debug: Using settings: adding file resource 'logdir':
'File[/var/log/puppet]{:ensure=>:directory, :loglevel=>:debug,
:group=>"puppet", :links=>:follow, :backup=>false, :owner=>"puppet",
:mode=>"750", :path=>"/var/log/puppet"}'
Debug: Using settings: adding file resource 'clientbucketdir':
'File[/var/lib/puppet/clientbucket]{:ensure=>:directory, :loglevel=>:debug,
:links=>:follow, :backup=>false, :mode=>"750",
:path=>"/var/lib/puppet/clientbucket"}'
Debug: Using settings: adding file resource 'lastrunfile':
'File[/var/lib/puppet/state/last_run_summary.yaml]{:ensure=>:file,
:loglevel=>:debug, :links=>:follow, :backup=>false, :mode=>"644",
:path=>"/var/lib/puppet/state/last_run_summary.yaml"}'
Debug: Using settings: adding file resource 'publickeydir':
'File[/var/lib/puppet/ssl/public_keys]{:ensure=>:directory, :loglevel=>:debug,
:links=>:follow, :backup=>false, :owner=>"puppet",
:path=>"/var/lib/puppet/ssl/public_keys"}'
Debug: Using settings: adding file resource 'graphdir':
'File[/var/lib/puppet/state/graphs]{:ensure=>:directory, :loglevel=>:debug,
:links=>:follow, :backup=>false, :path=>"/var/lib/puppet/state/graphs"}'
Debug: Using settings: adding file resource 'privatedir':
'File[/var/lib/puppet/ssl/private]{:ensure=>:directory, :loglevel=>:debug,
:links=>:follow, :backup=>false, :owner=>"puppet", :mode=>"750",
:path=>"/var/lib/puppet/ssl/private"}'
Debug: Using settings: adding file resource 'statefile':
'File[/var/lib/puppet/state/state.yaml]{:ensure=>:file, :loglevel=>:debug,
:links=>:follow, :backup=>false, :mode=>"660",
:path=>"/var/lib/puppet/state/state.yaml"}'
Debug: Using settings: adding file resource 'hostcert':
'File[/var/lib/puppet/ssl/certs/pcentos08.vml.lan.pem]{:ensure=>:file,
:loglevel=>:debug, :links=>:follow, :backup=>false, :owner=>"puppet",
:mode=>"644", :path=>"/var/lib/puppet/ssl/certs/pcentos08.vml.lan.pem"}'
Debug: Using settings: adding file resource 'classfile':
'File[/var/lib/puppet/classes.txt]{:ensure=>:file, :loglevel=>:debug,
:links=>:follow, :backup=>false, :owner=>"root", :mode=>"640",
:path=>"/var/lib/puppet/classes.txt"}'
Debug: Using settings: adding file resource 'localcacert':
'File[/var/lib/puppet/ssl/certs/ca.pem]{:ensure=>:file, :loglevel=>:debug,
:links=>:follow, :backup=>false, :owner=>"puppet", :mode=>"644",
:path=>"/var/lib/puppet/ssl/certs/ca.pem"}'
Debug: Using settings: adding file resource 'confdir':
'File[/etc/puppet]{:ensure=>:directory, :loglevel=>:debug, :links=>:follow,
:backup=>false, :path=>"/etc/puppet"}'
Debug: Using settings: adding file resource 'hostcrl':
'File[/var/lib/puppet/ssl/crl.pem]{:ensure=>:file, :loglevel=>:debug,
:links=>:follow, :backup=>false, :owner=>"puppet", :mode=>"644",
:path=>"/var/lib/puppet/ssl/crl.pem"}'
Debug: /File[/var/lib/puppet/classes.txt]: Autorequiring File[/var/lib/puppet]
Debug: /File[/var/lib/puppet/ssl/public_keys/pcentos08.vml.lan.pem]:
Autorequiring File[/var/lib/puppet/ssl/public_keys]
Debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring
File[/var/lib/puppet/ssl/certs]
Debug: /File[/var/lib/puppet/state/graphs]: Autorequiring
File[/var/lib/puppet/state]
Debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring
File[/var/lib/puppet/ssl]
Debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
Debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl]
Debug: /File[/var/lib/puppet/ssl/private]: Autorequiring
File[/var/lib/puppet/ssl]
Debug: /File[/var/lib/puppet/ssl/private_keys/pcentos08.vml.lan.pem]:
Autorequiring File[/var/lib/puppet/ssl/private_keys]
Debug: /File[/var/lib/puppet/state/resources.txt]: Autorequiring
File[/var/lib/puppet/state]
Debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet]
Debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
Debug: /File[/var/lib/puppet/state/last_run_report.yaml]: Autorequiring
File[/var/lib/puppet/state]
Debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet]
Debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring
File[/var/lib/puppet/ssl]
Debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring
File[/var/lib/puppet/state]
Debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/puppet]
Debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet]
Debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring
File[/var/lib/puppet/ssl]
Debug: /File[/var/lib/puppet/state/last_run_summary.yaml]: Autorequiring
File[/var/lib/puppet/state]
Debug: /File[/var/lib/puppet/ssl/certs/pcentos08.vml.lan.pem]: Autorequiring
File[/var/lib/puppet/ssl/certs]
Debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring
File[/var/lib/puppet/ssl]
Debug: Finishing transaction 69913018473620
Oct 24 12:51:36 PCentOS08 puppet-agent[32218]: Reopening log files
[ OK ]
[root@PCentOS08 ~]# Oct 24 12:51:36 PCentOS08 puppet-agent[32218]: Starting
Puppet client version 3.3.1
Oct 24 12:52:56 PCentOS08 ntpd[12419]: time reset +0.643302 s
Oct 24 12:55:05 PCentOS08 puppet-agent[32431]: Could not autoload
puppet/util/instrumentation/listeners/performance: Class Performance is already
defined in Puppet::Util::Instrumentation
Oct 24 12:55:05 PCentOS08 puppet-agent[32431]: Failed to apply catalog: Could
not autoload puppet/util/instrumentation/listeners/performance: Class
Performance is already defined in Puppet::Util::Instrumentation
Oct 24 13:24:08 PCentOS08 puppet-agent[2136]: Retrieving plugin
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/bios_smbversion.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/monitor_id.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/facter_dot_d.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/postgres_default_version.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/os_installdate.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/os_architecture.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/iptables_version.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/videocard_currentrefreshrate.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/pe_version.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/videocard_driver_version.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/bios_releasedate.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/soundcard_manufacturer.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/puppet_confdir.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/concat_basedir.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/motherboard_product.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/motherboard_serialnumber.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/monitor_resolution.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/motherboard_manufacturer.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/ip6tables_version.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/videocard_memory.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/root_home.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/ipaddress.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/bios_manufacturer.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/monitor_description.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/puppet_vardir.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/bios_description.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/motherboard_version.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/iptables_persistent_version.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/videocard_maxrefreshrate.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/videocard_description.rb
Oct 24 13:24:11 PCentOS08 puppet-agent[2136]: Loading facts in
/var/lib/puppet/lib/facter/soundcard_description.rb
Oct 24 13:24:15 PCentOS08 puppet-agent[2136]: Caching catalog for
pcentos08.vml.lan
Oct 24 13:24:17 PCentOS08 puppet-agent[2136]: Applying configuration version
'1382637682'
Oct 24 13:24:27 PCentOS08 puppet-agent[2136]: Finished catalog run in 11.95
seconds
</pre>
----------------------------------------
Bug #21922: Forced to kill and restart Puppet demon after update to 3.2.3
https://projects.puppetlabs.com/issues/21922#change-99124
* Author: Vincent Gallissot
* Status: Needs More Information
* Priority: Normal
* Assignee: Vincent Gallissot
* Category: Red Hat
* Target version:
* Affected Puppet version: 3.3.1
* Keywords: fedora18 puppet3.2.3 class autoload
* Branch:
----------------------------------------
I just updated to Puppet 3.2.3-1 using yum.puppetlabs.com as repo.
It worked fine at the beginning but after a random time, each of my Fedora18
node became unworking. Here is the error I got in Puppet Dashboard 1.2.23 :
<pre>
err Failed to apply catalog: Could not autoload
puppet/util/instrumentation/listeners/log: Class Log is already defined in
Puppet::Util::Instrumentation Puppet 2013-07-24 08:12 CEST
err Could not autoload puppet/util/instrumentation/listeners/log: Class Log
is already defined in Puppet::Util::Instrumentation Puppet
2013-07-24 08:12 CEST
</pre>
It's the same error on every nodes. To repair it, I kill puppet process and
start it again : "systemctl start puppet.service".
The node packages :
<pre>
[root@node27 ~]# rpm -qa | egrep "(puppet|hiera|facter|ruby)"
ruby-1.9.3.448-31.fc18.x86_64
ruby-irb-1.9.3.448-31.fc18.noarch
rubygems-1.8.25-6.fc18.noarch
ruby-libs-1.9.3.448-31.fc18.x86_64
hiera-1.2.1-1.fc18.noarch
ruby-augeas-0.4.1-4.fc18.x86_64
rubygem-io-console-0.3-31.fc18.x86_64
facter-1.7.2-1.fc18.x86_64
libselinux-ruby-2.1.12-7.3.fc18.x86_64
rubygem-json-1.6.8-1.fc18.x86_64
rubygem-rdoc-3.12-6.fc18.noarch
ruby-rgen-0.6.5-1.fc18.noarch
puppet-3.2.3-1.fc18.noarch
ruby-shadow-1.4.1-17.fc18.x86_64
rubygem-bigdecimal-1.1.0-31.fc18.x86_64
OS is Fedora Core 18 x86_64 :
[root@node27 ~]# uname -r
3.9.6-200.fc18.x86_64
</pre>
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.