Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-15-SP4:Update
pacemaker
pacemaker#3409-0007-Log-scheduler-log-unknown-n...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker#3409-0007-Log-scheduler-log-unknown-nodes-in-location-constrai.patch of Package pacemaker
From 723be0bc814a66e27aea34d86f1dc7eaebc90cee Mon Sep 17 00:00:00 2001 From: Ken Gaillot <kgaillot@redhat.com> Date: Wed, 20 Mar 2024 15:33:24 -0500 Subject: [PATCH 7/7] Log: scheduler: log unknown nodes in location constraints Fixes T784 (CLBZ#5415) --- lib/pacemaker/pcmk_sched_location.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) Index: pacemaker-2.1.2+20211124.ada5c3b36/lib/pacemaker/pcmk_sched_location.c =================================================================== --- pacemaker-2.1.2+20211124.ada5c3b36.orig/lib/pacemaker/pcmk_sched_location.c +++ pacemaker-2.1.2+20211124.ada5c3b36/lib/pacemaker/pcmk_sched_location.c @@ -221,7 +221,10 @@ unpack_rsc_location(xmlNode *xml_obj, pe int score_i = char2score(score); pe_node_t *match = pe_find_node(data_set->nodes, node); - if (!match) { + if (match == NULL) { + crm_info("Ignoring location constraint %s " + "because '%s' is not a known node", + id ? id : "without ID", node); return; } location = pcmk__new_location(id, rsc_lh, score_i, discovery, match,
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