On Wednesday, January 8, 2014 11:15:24 AM UTC+1, Felix.Frank wrote:
> can you reproduce this using puppet agent --one-time?
>
"puppet agent --onetime" always fails, just like "puppet agent --test".
> If not, you may have to activate debug logging in your background agent.
I added "PUPPET_EXTRA_OPTS=--debug" in /etc/sysconfig/puppet, but the
output in /var/log/messages is not much different AFAICT:
Jan 9 10:19:09 hostname puppet-agent[21589]: Retrieving plugin
Jan 9 10:19:11 hostname puppet-agent[21589]: Caching catalog for
hostname.testlab
Jan 9 10:19:11 hostname puppet-agent[21589]: Applying configuration
version '1389175620'
Jan 9 10:19:12 hostname puppet-agent[21589]: Finished catalog run in 0.78
seconds
Jan 9 10:49:12 hostname puppet-agent[21589]: Retrieving plugin
Jan 9 10:49:14 hostname puppet-agent[21589]: Caching catalog for
hostname.testlab
Jan 9 10:49:14 hostname puppet-agent[21589]: Applying configuration
version '1389175620'
Jan 9 10:49:14 hostname puppet-agent[21589]:
(/Stage[main]/Test::Testrepo/Mount[repomount]/ensure) defined 'ensure' as
'mounted'
Jan 9 10:49:14 hostname puppet-agent[21589]: FileBucket got a duplicate
file {md5}750b1c78de9911d1a9b5cdcc7e33703d
Jan 9 10:49:14 hostname puppet-agent[21589]:
(/Stage[main]/Test::Testrepo/Mount[repomount]) Could not evaluate: Field
'device' is required
Jan 9 10:49:14 hostname puppet-agent[21589]:
(/Stage[main]/Test::Testrepo/Yumrepo[test-lab]) Dependency Mount[repomount]
has failures: true
Jan 9 10:49:14 hostname puppet-agent[21589]:
(/Stage[main]/Test::Testrepo/Yumrepo[test-lab]) Skipping because of failed
dependencies
Jan 9 10:49:14 hostname puppet-agent[21589]: Finished catalog run in 0.52
seconds
(This log shows a first run with no errors, and a second one with the error)
Any clues or suggestions to try?
Thank you very much.
Marco
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/b957ced4-e64d-4004-8458-2966f5c53182%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.