Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
pacemaker
pacemaker-libcrmcommon-pengine-improve-log-mess...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-libcrmcommon-pengine-improve-log-messages.patch of Package pacemaker
commit 1612cc62273a711870c87bc8a3c078a10f8ba057 Author: Ken Gaillot <kgaillot@redhat.com> Date: Mon Aug 21 17:40:53 2017 -0500 Log: libcrmcommon,pengine: improve log messages diff --git a/lib/common/remote.c b/lib/common/remote.c index ad9cea839..b6623e968 100644 --- a/lib/common/remote.c +++ b/lib/common/remote.c @@ -241,10 +241,12 @@ crm_send_tls(gnutls_session_t * session, const char *buf, size_t len) rc = gnutls_record_send(*session, unsent, len); if (rc == GNUTLS_E_INTERRUPTED || rc == GNUTLS_E_AGAIN) { - crm_debug("Retry"); + crm_trace("Retrying to send %llu bytes", + (unsigned long long) len); } else if (rc < 0) { - crm_err("Connection terminated rc = %d", rc); + crm_err("Connection terminated: %s " CRM_XS " rc=%d", + gnutls_strerror(rc), rc); break; } else if (rc < len) { diff --git a/pengine/native.c b/pengine/native.c index 81b62437b..7f6aaf984 100644 --- a/pengine/native.c +++ b/pengine/native.c @@ -519,7 +519,7 @@ native_color(resource_t * rsc, node_t * prefer, pe_working_set_t * data_set) reason = "active"; } pe_rsc_info(rsc, "Unmanaged resource %s allocated to %s: %s", rsc->id, - assign_to ? assign_to->details->uname : "'nowhere'", reason); + (assign_to? assign_to->details->uname : "no node"), reason); native_assign_node(rsc, NULL, assign_to, TRUE); } else if (is_set(data_set->flags, pe_flag_stop_everything)) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor