Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
pacemaker.32036
bsc#1182313-0004-Fix-scheduler-handle-cleaned-m...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsc#1182313-0004-Fix-scheduler-handle-cleaned-migrate_from-history-co.patch of Package pacemaker.32036
From ad9fd9548f02a38885fa36765af9742a5a88576e Mon Sep 17 00:00:00 2001 From: Ken Gaillot <kgaillot@redhat.com> Date: Wed, 1 Feb 2023 17:12:13 -0600 Subject: [PATCH 4/5] Fix: scheduler: handle cleaned migrate_from history correctly Fixes T623 --- lib/pengine/unpack.c | 9 +++++++++ 1 file changed, 9 insertions(+) Index: pacemaker-2.1.5+20221208.a3f44794f/lib/pengine/unpack.c =================================================================== --- pacemaker-2.1.5+20221208.a3f44794f.orig/lib/pengine/unpack.c +++ pacemaker-2.1.5+20221208.a3f44794f/lib/pengine/unpack.c @@ -2932,6 +2932,14 @@ unpack_migrate_to_success(pe_resource_t pe__clear_resource_flags(rsc, pe_rsc_allow_migrate); } + /* If there is no history at all for the resource on an online target, then + * it was likely cleaned. Just return, and we'll schedule a probe. Once we + * have the probe result, it will be reflected in target_newer_state. + */ + } else if ((target_node != NULL) && target_node->details->online + && unknown_on_node(rsc, target)) { + return; + } else { // Pending, or complete but erased /* If the resource has newer state on the target, this migrate_to no * longer matters for the target.
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