Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
pacemaker.21297
bsc#1180618-0001-Fix-crmd-update-crm_peer_cache...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsc#1180618-0001-Fix-crmd-update-crm_peer_cache.patch of Package pacemaker.21297
From 0ec714adc44e6fddefd049f5ff25a3f526ed8f99 Mon Sep 17 00:00:00 2001 From: root <Aleksei Burlakov> Date: Mon, 8 Feb 2021 15:38:27 +0000 Subject: [PATCH] Fix: crmd: update crm_peer_cache This should make crm_node -l working correctly after restarting a node --- daemons/controld/controld_callbacks.c | 11 +++++++++++ 1 file changed, 11 insertions(+) Index: pacemaker-2.0.4+20200616.2deceaa3a/daemons/controld/controld_callbacks.c =================================================================== --- pacemaker-2.0.4+20200616.2deceaa3a.orig/daemons/controld/controld_callbacks.c +++ pacemaker-2.0.4+20200616.2deceaa3a/daemons/controld/controld_callbacks.c @@ -170,6 +170,17 @@ peer_update_callback(enum crm_status_typ if (!appeared) { controld_remove_voter(node->uname); + } else if (!AM_I_DC && !is_remote) { + /* + * This is a hack until we can send to a nodeid and/or we fix node name lookups + * These messages are ignored in crmd_ha_msg_filter() + */ + xmlNode *query = create_request(CRM_OP_HELLO, NULL, NULL, CRM_SYSTEM_CRMD, CRM_SYSTEM_CRMD, NULL); + + crm_debug("Broadcasting our uname because of node %u", node->id); + send_cluster_message(node, crm_msg_crmd, query, FALSE); + + free_xml(query); } if (is_not_set(fsa_input_register, R_CIB_CONNECTED)) {
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