File bug-986931_pacemaker-crm_mon-crm_diff_update_v2-log-1.patch of Package pacemaker.3577

commit 3844f09fcbe0a7eb8501d3193cb50768735d303c
Author: Gao,Yan <ygao@suse.com>
Date:   Wed Jun 29 15:03:24 2016 +0200

    Log: crm_mon: Do not log errors for the known CIB changes that should be ignored

diff --git a/tools/crm_mon.c b/tools/crm_mon.c
index 0eb4192..d05be79 100644
--- a/tools/crm_mon.c
+++ b/tools/crm_mon.c
@@ -3922,8 +3922,16 @@ static void crm_diff_update_v2(const char *event, xmlNode * msg)
             handle_rsc_op(match, local_node);
             free(local_node);
 
+        } else if(strcmp(name, XML_TAG_TRANSIENT_NODEATTRS) == 0
+                  || strcmp(name, XML_TAG_ATTR_SETS) == 0
+                  || strcmp(name, XML_CIB_TAG_NVPAIR) == 0
+                  || strcmp(name, XML_CIB_TAG_TICKETS) == 0
+                  || strcmp(name, XML_CIB_TAG_TICKET_STATE) == 0) {
+            crm_trace("Ignoring %s operation for %s %p, %s", op, xpath, match, name);
+
         } else {
-            crm_err("Ignoring %s operation for %s %p, %s", op, xpath, match, name);
+            crm_err("Unable to process unrecognized CIB change: %s operation for %s %p, %s",
+                    op, xpath, match, name);
         }
     }
 }
openSUSE Build Service is sponsored by