Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
pacemaker
pacemaker-crm_resource-target-role-promotion.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-crm_resource-target-role-promotion.patch of Package pacemaker
commit 63428fc34dcb864acb788419c5c8f8604ba0bdd0 Author: Lars Ellenberg <lars.ellenberg@linbit.com> Date: Thu Jun 2 15:08:35 2016 +0200 crm_resource: don't pretend that target-role:started would prevent promotion diff --git a/tools/crm_resource_runtime.c b/tools/crm_resource_runtime.c index 6d8a94d..8e13e91 100644 --- a/tools/crm_resource_runtime.c +++ b/tools/crm_resource_runtime.c @@ -707,7 +707,7 @@ cli_resource_check(cib_t * cib_conn, resource_t *rsc) printf("\n * The configuration specifies that '%s' should remain stopped\n", parent->id); need_nl++; - } else if(parent->variant > pe_clone && role != RSC_ROLE_MASTER) { + } else if(parent->variant > pe_clone && role == RSC_ROLE_SLAVE) { printf("\n * The configuration specifies that '%s' should not be promoted\n", parent->id); need_nl++; }
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