Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
pacemaker.13547
pacemaker-libpe_status-limit-resource-type-chec...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-libpe_status-limit-resource-type-check-to-primitives.patch of Package pacemaker.13547
commit 39441fa1dfe625cf00af463269052d4c2dafaa16 Author: Ken Gaillot <kgaillot@redhat.com> Date: Fri Dec 8 17:16:55 2017 -0600 Low: libpe_status: limit resource type check to primitives diff --git a/lib/pengine/complex.c b/lib/pengine/complex.c index d58d6beb8..86f290c34 100644 --- a/lib/pengine/complex.c +++ b/lib/pengine/complex.c @@ -784,7 +784,9 @@ common_unpack(xmlNode * xml_obj, resource_t ** rsc, if(is_set((*rsc)->flags, pe_rsc_fence_device)) { value = "quorum"; - } else if (safe_str_eq(crm_element_value((*rsc)->xml, XML_AGENT_ATTR_CLASS), "ocf") + } else if (((*rsc)->variant == pe_native) + && safe_str_eq(crm_element_value((*rsc)->xml, XML_AGENT_ATTR_CLASS), + "ocf") && safe_str_eq(crm_element_value((*rsc)->xml, XML_AGENT_ATTR_PROVIDER), "pacemaker") && safe_str_eq(crm_element_value((*rsc)->xml, XML_ATTR_TYPE), "remote") ) {
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