Issue #7084 has been updated by Nigel Kersten.

Priority changed from Normal to Urgent

This is one of the highest priority tickets before 2.7.0 release.  Have we had 
any progress in the last 2 days?
----------------------------------------
Bug #7084: Spurious logging about Whit events:
https://projects.puppetlabs.com/issues/7084

Author: Dan Bode
Status: Accepted
Priority: Urgent
Assignee: Jesse Wolfe
Category: 
Target version: 
Affected Puppet version: 2.7.0rc1
Keywords: whit
Branch: http://github.com/jes5199/puppet/tree/ticket/next/7084


in the next branch, at commit e852580cc09ebead2ef1f8d385338ebea645308a

I see what appears to be spurious logging about Whit events:

<pre>
rm //var/lib/puppet/state/{last_run_summary,last_run_report}.yaml
rm: remove regular file `//var/lib/puppet/state/last_run_summary.yaml'? y
rm: remove regular file `//var/lib/puppet/state/last_run_report.yaml'? y
[root@mypuppetmaster manifests]# cat flopper.pp 
notify { 'foo': }
[root@mypuppetmaster manifests]# puppet apply flopper.pp 
notice: foo
notice: /Stage[main]//Notify[foo]/message: defined 'message' as 'foo'
notice: /Whit[completed_main]: Triggered 'refresh' from 1 events
notice: /Whit[completed_main]: Triggered 'refresh' from 1 events
notice: Finished catalog run in 0.17 seconds
[root@mypuppetmaster manifests]# puppet apply flopper.pp 
notice: /Whit[completed_/var/lib/puppet/state/last_run_summary.yaml]: Triggered 
'refresh' from 1 events
notice: /Whit[completed_/var/lib/puppet/state/last_run_report.yaml]: Triggered 
'refresh' from 1 events
notice: foo
notice: /Stage[main]//Notify[foo]/message: defined 'message' as 'foo'
notice: /Whit[completed_main]: Triggered 'refresh' from 1 events
notice: /Whit[completed_main]: Triggered 'refresh' from 1 events
notice: Finished catalog run in 0.18 seconds
</pre>

There is quite a bit of logging here I dont understand:

1. The creation of the last_run* files triggers an event from the Whit
2. There is some kind of Whit[completed] event that I do not understand

If I manage a file, I see another whit event
<pre>
cat sloppy.pp
# cat sloppy.pp 
file { '/tmp/foo':
  content => 'bar'
}
# puppet apply sloppy.pp
notice: /Stage[main]//File[/tmp/foo]/content: content changed 
'{md5}f9d900b378f3389d07fd328278715788' to 
'{md5}37b51d194a7513e45b56f6524f2d51f2'
notice: /Whit[completed_/tmp/foo]: Triggered 'refresh' from 1 events
notice: /Whit[completed_main]: Triggered 'refresh' from 1 events
notice: /Whit[completed_main]: Triggered 'refresh' from 1 events
notice: Finished catalog run in 0.24 seconds
</pre>

I get other messages if I have a class:

<pre>
# puppet apply troppy.pp 
notice: foo
notice: /Stage[main]/Foo/Notify[foo]/message: defined 'message' as 'foo'
notice: /Whit[completed_Foo]: Triggered 'refresh' from 1 events
notice: /Whit[completed_main]: Triggered 'refresh' from 1 events
notice: Finished catalog run in 0.18 seconds
[root@mypuppetmaster manifests]# cat troppy.pp 
class foo ($one = 'default'){
  notify{'foo':}
}

class { 'foo': }
</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 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.

Reply via email to