Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
pacemaker.8397
bug-1053463_pacemaker-remote-resource-returns-s...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bug-1053463_pacemaker-remote-resource-returns-set_key-failure.patch of Package pacemaker.8397
commit 993c57ba5bd3df64d57f05a75cb34e51a7a604cc Author: Gao,Yan <ygao@suse.com> Date: Tue Aug 22 12:20:02 2017 +0200 Fix: liblrmd: Make sure the operation of a remote resource returns if setup of the key fails Previously, if the operation of a remote resource failed on setting up the key, it'd become forever in-flight operation and never return. diff --git a/lib/lrmd/lrmd_client.c b/lib/lrmd/lrmd_client.c index 72aacb7de..5c99e74a1 100644 --- a/lib/lrmd/lrmd_client.c +++ b/lib/lrmd/lrmd_client.c @@ -1154,8 +1154,12 @@ lrmd_tcp_connect_cb(void *userdata, int sock) * to avoid all blocking code in the client. */ native->sock = sock; - if (lrmd_tls_set_key(&psk_key) != 0) { + rc = lrmd_tls_set_key(&psk_key); + if (rc != 0) { + crm_warn("Setup of the key failed (rc=%d) for remote node %s:%d", + rc, native->server, native->port); lrmd_tls_connection_destroy(lrmd); + report_async_connection_result(lrmd, rc); return; }
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