77 lines
3.5 KiB
Diff
77 lines
3.5 KiB
Diff
|
commit b802c689cdad03a185c5c6689741e2a4db8d5924
|
||
|
Author: Gao,Yan <ygao@suse.com>
|
||
|
Date: Thu Mar 14 09:41:53 2013 +0800
|
||
|
|
||
|
Log: Change some messages to notice level (bnc#806256)
|
||
|
|
||
|
diff --git a/crmd/callbacks.c b/crmd/callbacks.c
|
||
|
index a7830d3..d80cff0 100644
|
||
|
--- a/crmd/callbacks.c
|
||
|
+++ b/crmd/callbacks.c
|
||
|
@@ -179,7 +179,7 @@ peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *d
|
||
|
const char *task = crm_element_value(down->xml, XML_LRM_ATTR_TASK);
|
||
|
|
||
|
if (alive && safe_str_eq(task, CRM_OP_FENCE)) {
|
||
|
- crm_info("Node return implies stonith of %s (action %d) completed", node->uname,
|
||
|
+ crm_notice("Node return implies stonith of %s (action %d) completed", node->uname,
|
||
|
down->id);
|
||
|
erase_status_tag(node->uname, XML_CIB_TAG_LRM, cib_scope_local);
|
||
|
erase_status_tag(node->uname, XML_TAG_TRANSIENT_NODEATTRS, cib_scope_local);
|
||
|
diff --git a/crmd/membership.c b/crmd/membership.c
|
||
|
index e435e21..b3c34ae 100644
|
||
|
--- a/crmd/membership.c
|
||
|
+++ b/crmd/membership.c
|
||
|
@@ -322,7 +322,7 @@ crm_update_quorum(gboolean quorum, gboolean force_update)
|
||
|
set_uuid(update, XML_ATTR_DC_UUID, fsa_our_uname);
|
||
|
|
||
|
fsa_cib_update(XML_TAG_CIB, update, call_options, call_id, NULL);
|
||
|
- crm_debug("Updating quorum status to %s (call=%d)", quorum ? "true" : "false", call_id);
|
||
|
+ crm_notice("Updating quorum status to %s (call=%d)", quorum ? "true" : "false", call_id);
|
||
|
fsa_register_cib_callback(call_id, FALSE, NULL, cib_quorum_update_complete);
|
||
|
free_xml(update);
|
||
|
}
|
||
|
diff --git a/crmd/tengine.c b/crmd/tengine.c
|
||
|
index 9ff458c..f22e87f 100644
|
||
|
--- a/crmd/tengine.c
|
||
|
+++ b/crmd/tengine.c
|
||
|
@@ -208,7 +208,7 @@ do_te_invoke(long long action,
|
||
|
destroy_graph(transition_graph);
|
||
|
transition_graph = unpack_graph(graph_data, graph_input);
|
||
|
CRM_CHECK(transition_graph != NULL, transition_graph = create_blank_graph(); return);
|
||
|
- crm_info("Processing graph %d (ref=%s) derived from %s", transition_graph->id, ref,
|
||
|
+ crm_notice("Processing graph %d (ref=%s) derived from %s", transition_graph->id, ref,
|
||
|
graph_input);
|
||
|
|
||
|
value = crm_element_value(graph_data, "failed-stop-offset");
|
||
|
diff --git a/fencing/commands.c b/fencing/commands.c
|
||
|
index 026371a..d1ad657 100644
|
||
|
--- a/fencing/commands.c
|
||
|
+++ b/fencing/commands.c
|
||
|
@@ -1098,9 +1098,11 @@ can_fence_host_with_device(stonith_device_t * dev, struct device_search_s *searc
|
||
|
}
|
||
|
|
||
|
if (safe_str_eq(host, alias)) {
|
||
|
- crm_info("%s can%s fence %s: %s", dev->id, can ? "" : " not", host, check_type);
|
||
|
+ do_crm_log(can ? LOG_INFO : LOG_NOTICE,
|
||
|
+ "%s can%s fence %s: %s", dev->id, can ? "" : " not", host, check_type);
|
||
|
} else {
|
||
|
- crm_info("%s can%s fence %s (aka. '%s'): %s", dev->id, can ? "" : " not", host, alias,
|
||
|
+ do_crm_log(can ? LOG_INFO : LOG_NOTICE,
|
||
|
+ "%s can%s fence %s (aka. '%s'): %s", dev->id, can ? "" : " not", host, alias,
|
||
|
check_type);
|
||
|
}
|
||
|
|
||
|
diff --git a/fencing/remote.c b/fencing/remote.c
|
||
|
index 15a52b7..98dc1f9 100644
|
||
|
--- a/fencing/remote.c
|
||
|
+++ b/fencing/remote.c
|
||
|
@@ -340,7 +340,7 @@ remote_op_timeout(gpointer userdata)
|
||
|
return FALSE;
|
||
|
}
|
||
|
|
||
|
- crm_debug("Action %s (%s) for %s (%s) timed out",
|
||
|
+ crm_notice("Action %s (%s) for %s (%s) timed out",
|
||
|
op->action, op->id, op->target, op->client_name);
|
||
|
op->state = st_failed;
|
||
|
remote_op_done(op, NULL, -ETIME, FALSE);
|