[Pacemaker] "Sending flush op to all hosts for" for stale entries

Andrew Beekhof andrew at beekhof.net
Mon Apr 4 04:56:26 EDT 2011


On Wed, Mar 23, 2011 at 1:08 AM, AP <pacemaker at inml.weebeastie.net> wrote:
> Hi,
>
> I have a whole bunch of attrd_trigger_update's for things that no longer
> exist as shown below. How do I get rid of them? Most of the resources
> they pertain to no longer exist and it's beginning to get a mite spammy
> here.

This should resolve your issue:

diff -r eca8364c0ab4 tools/attrd.c
--- a/tools/attrd.c	Tue Mar 22 13:31:27 2011 +0100
+++ b/tools/attrd.c	Mon Apr 04 10:54:57 2011 +0200
@@ -448,7 +448,10 @@ attrd_cib_connection_destroy(gpointer us
 static void
 update_for_hash_entry(gpointer key, gpointer value, gpointer user_data)
 {
+    attr_hash_entry_t *entry = value;
+    if(entry->value != NULL) {
 	attrd_timer_callback(value);
+    }
 }

 static void


>
> I've tried cleanups but that doesn't work as the resource no longer exists.
> Deleting the failcount also does not do it.
>
> Pacemaker 1.1.5 is in use with corosync 1.3.0.
>
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-vd_vg.test12 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vg.test5 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-conph_vg.test1:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-conph_vg.test1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: master-p-drbd_vg.test12:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: master-p-drbd_vg.test12:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vg.test11 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vg.test12 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vmh.test1:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-con_vg.test1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-con_vg.test2 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-con_vg.test3 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vg.test2:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vg.test2:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-con_vg.test5 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vg.test3:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vg.test3:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-conph_vg.test3:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vg.test11 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: master-p-drbd_vg.test3:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: master-p-drbd_vg.test3:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vg.test12 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vg.test12:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vg.test12:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-vd_vg.test11 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vmh.test1:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-vd_vmh.test1 (1300683796)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: terminate (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vmh.test1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: master-p-drbd_vg.test5:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: master-p-drbd_vg.test5:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vg.test5:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vg.test5:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vmh.test1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-drbd_vmh.test1:0 (1300834187)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-vd_vg.test2:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: master-p-drbd_vg.test1:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-drbd_vmh.test1:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-drbd_vg.test1:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-drbd_vg.test1:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vg.test12:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vg.test12:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: master-p-drbd_vg.test1:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-libvirtd:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-libvirtd:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-vd_vg.test11 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vg.test1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-con_vg.test12 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vg.test3 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: master-p-drbd_vg.test11:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: master-p-drbd_vg.test11:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vg.test5 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-vd_vg.test12 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vg.test2 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-consoleph_vg.test1:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-consoleph_vg.test1:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: shutdown (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vg.test1:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vg.test2:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vg.test2:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: master-p-drbd_vg.test2:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vg.test1:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-drbd_vg.test12:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-con_vmh.test1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: master-p-drbd_vg.test2:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-vd_vmh.test1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-libvirtd:2 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vg.test11:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vg.test11:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: probe_complete (true)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-libvirtd:0 (1300683727)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-last-failure-p-conph_vg.test3 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vg.test3:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vg.test3:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-libvirtd:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: master-p-drbd_vmh.test1:0 (10000)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: master-p-drbd_vmh.test1:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-console_vg.test1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-con_vg.test11 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vg.test5:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vg.test11:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vg.test11:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-consoleph_vg.test1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vmh.test1:0 (1)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vmh.test1:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-conph_vg.test5:1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-vd_vg.test1 (1300671654)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-vd_vg.test2 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-vd_vg.test3 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-vd_vg.test1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-vd_vg.test2 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-vd_vg.test3 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-drbd_vg.test2:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-vd_vg.test5 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-last-failure-p-conph_vg.test3:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-vd_vg.test12 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-drbd_vg.test11:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: last-failure-p-conph_vg.test2 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vg.test1:0 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vg.test1 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vg.test2 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vg.test3 (<null>)
> Mar 23 09:49:47 breadnut attrd: [849]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-p-drbd_vg.test1:1 (<null>)
>
> ap
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>




More information about the Pacemaker mailing list