Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
pacemaker.29789
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.29789
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(+) diff --git a/daemons/controld/controld_callbacks.c b/daemons/controld/controld_callbacks.c index 782104e4e..af24856ae 100644 --- a/daemons/controld/controld_callbacks.c +++ b/daemons/controld/controld_callbacks.c @@ -171,6 +171,17 @@ peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *d 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 (!pcmk_is_set(fsa_input_register, R_CIB_CONNECTED)) { -- 2.26.2
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