File pacemaker-cib-warning-legacy-diff-fails.patch of Package pacemaker.14737
commit df497ff980a95e2833856b8204f3d191e0613641
Author: Ken Gaillot <kgaillot@redhat.com>
Date: Thu Jan 19 10:20:07 2017 -0600
Log: cib: improve warning when legacy diff fails
diff --git a/cib/messages.c b/cib/messages.c
index 4e704dc61..65f57b198 100644
--- a/cib/messages.c
+++ b/cib/messages.c
@@ -383,7 +383,8 @@ cib_server_process_diff(const char *op, int options, const char *section, xmlNod
}
} else if(rc != pcmk_ok && cib_legacy_mode()) {
- crm_warn("Something went wrong in compatibility mode, requesting full refresh");
+ crm_warn("Requesting full CIB refresh because update failed: %s"
+ CRM_XS " rc=%d", pcmk_strerror(rc), rc);
xml_log_patchset(LOG_INFO, __FUNCTION__, input);
free_xml(*result_cib);
*result_cib = NULL;