Issue #2143 has been reported by cedric.jeanneret.
----------------------------------------
Bug #2143: puppet reports wrong error to puppetmaster
http://projects.reductivelabs.com/issues/2143
Author: cedric.jeanneret
Status: Unreviewed
Priority: Normal
Assigned to:
Category: reports
Target version:
Complexity: Unknown
Affected version: 0.24.7
Keywords: report puppetmaster syslog
Hello,
We've configured puppet so that client [aka puppetd] sends its logs to the
master. I've discovered something weird:
In master's syslog:
<pre>
puppetmasterd[9341]: (//Node[toto]/tmpl-dev-tomcat-6/User[admin]/groups)
change from www-data,tomcat-friends,tomcat-users,Domain Users,www-data to
Domain Users,tomcat-friends,tomcat-users,www-data failed: Invalid value Domain
Users,tomcat-friends,tomcat-users,www-data: Groups must be comma-separated
puppetmasterd[9341]:
(//Node[toto]/tmpl-dev-tomcat-6/mw-tomcat-6/java::v6/Os::Backported_package[sun-java6-plugin]/Package[sun-java6-plugin]/ensure)
change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=--force-confold install sun-java6-plugin' returned 100: Reading
package lists... Building dependency tree... E: Package sun-java6-plugin has no
installation candidate Package sun-java6-plugin is not available, but is
referred to by another package. This may mean that the package is missing, has
been obsoleted, or is only available from another source
puppetmasterd[9341]:
(//Node[toto]/tmpl-dev-tomcat-6/os-c2c-dev/os-c2c-extended/os-c2c/c2c::puppet-client/File[/usr/local/bin/launch-puppet])
Failed to retrieve current state of resource: No specified source was found
from puppet:///c2c/usr/local/bin/launch-puppet
puppetmasterd[9341]:
(//Node[toto]/tmpl-dev-tomcat-6/os-c2c-dev/os-c2c-extended/os-c2c/c2c::puppet-client/Cron[puppetd])
Dependency file[/usr/local/bin/launch-puppet] has 1 failures
puppetmasterd[9341]:
(//Node[toto]/tmpl-dev-tomcat-6/os-c2c-dev/os-c2c-extended/os-c2c/c2c::puppet-client/Cron[puppetd])
Skipping because of failed dependencies
</pre>
And on the node "toto" :
<pre>
puppetd -t --trace
info: Loading fact environment
info: Loading fact veid
info: Loading fact manufacturer
info: Loading fact mysqlpasswd
info: Loading fact localsid
info: Loading fact vmware
info: Retrieving plugins
notice: /File[/var/lib/puppet/lib]/checksum: checksum changed '{mtime}Thu Sep
18 10:28:58 +0200 2008' to '{mtime}Fri Feb 06 12:20:33 +0100 2009'
notice: /File[/var/lib/puppet/lib/puppet]/checksum: checksum changed
'{mtime}Thu Sep 18 10:28:58 +0200 2008' to '{mtime}Fri Nov 28 19:03:06 +0100
2008'
notice: /File[/var/lib/puppet/lib/puppet/provider]/checksum: checksum changed
'{mtime}Thu Sep 18 10:28:58 +0200 2008' to '{mtime}Fri Nov 28 19:03:06 +0100
2008'
notice: /File[/var/lib/puppet/lib/puppet/provider/ssh_authorized_key]/checksum:
checksum changed '{mtime}Thu Sep 18 10:28:59 +0200 2008' to '{mtime}Fri Nov 28
15:33:06 +0100 2008'
notice:
/File[/var/lib/puppet/lib/puppet/provider/ssh_authorized_key/parsed.rb]/checksum:
checksum changed '{md5}b3189e9b22714205278074fd35c6dfc1' to
'{md5}cc746511e84344b43e1529f59cedf912'
info: Retrieving facts
info: Loading fact environment
info: Loading fact veid
info: Loading fact manufacturer
info: Loading fact mysqlpasswd
info: Loading fact localsid
info: Loading fact vmware
/usr/lib/ruby/1.8/puppet/parameter.rb:279:in `fail'
/usr/lib/ruby/1.8/puppet/type.rb:1534:in `validate_relationship'
/usr/lib/ruby/1.8/puppet/type.rb:1531:in `each'
/usr/lib/ruby/1.8/puppet/type.rb:1531:in `validate_relationship'
/usr/lib/ruby/1.8/puppet/type.rb:2385:in `finish'
/usr/lib/ruby/1.8/puppet/type.rb:2383:in `collect'
/usr/lib/ruby/1.8/puppet/type.rb:2383:in `finish'
/usr/lib/ruby/1.8/puppet/node/catalog.rb:281:in `finalize'
/usr/lib/ruby/1.8/puppet/node/catalog.rb:281:in `each'
/usr/lib/ruby/1.8/puppet/node/catalog.rb:281:in `finalize'
/usr/lib/ruby/1.8/puppet/transportable.rb:211:in `to_catalog'
/usr/lib/ruby/1.8/puppet/network/client/master.rb:172:in `getconfig'
/usr/lib/ruby/1.8/puppet/network/client/master.rb:245:in `run'
/usr/lib/ruby/1.8/puppet/util.rb:425:in `thinmark'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib/ruby/1.8/benchmark.rb:307:in `realtime'
/usr/lib/ruby/1.8/puppet/util.rb:424:in `thinmark'
/usr/lib/ruby/1.8/puppet/network/client/master.rb:244:in `run'
/usr/lib/ruby/1.8/sync.rb:229:in `synchronize'
/usr/lib/ruby/1.8/puppet/network/client/master.rb:237:in `run'
/usr/sbin/puppetd:417
warning: Not using cache on failed catalog
warning: Configuration could not be instantiated: Could not find dependency
Package[apache2] for Exec[/usr/sbin/a2enmod mod_python] at
/etc/puppetmaster/modules/apache/manifests/definitions/module.pp:9
</pre>
As you can see, errors aren't the same. Errors present in master's syslog are
old one (about one month...), but reported as from the last puppetd run on
"toto"...
Any idea?
Thanks in advance.
Regards,
C.
--
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://reductivelabs.com/redmine/my/account
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---