Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
pacemaker.8750
pacemaker-libcib-get-remoteness-correctly-from-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-libcib-get-remoteness-correctly-from-node-status.patch of Package pacemaker.8750
commit 15b39e19f2946a89bd4f4ebe110d43c6bb0fbf73 Author: Ken Gaillot <kgaillot@redhat.com> Date: Tue Jun 20 17:18:06 2017 -0500 Fix: libcib: get remoteness correctly from node status diff --git a/lib/cib/cib_attrs.c b/lib/cib/cib_attrs.c index 0f5d5a718..da5ca8519 100644 --- a/lib/cib/cib_attrs.c +++ b/lib/cib/cib_attrs.c @@ -452,7 +452,9 @@ get_uuid_from_result(xmlNode *result, char **uuid, int *is_remote) /* Result is <node_state> tag from <status> section */ parsed_uuid = crm_element_value(result, XML_ATTR_UNAME); - crm_element_value_int(result, F_ATTRD_IS_REMOTE, &parsed_is_remote); + if (crm_is_true(crm_element_value(result, XML_NODE_IS_REMOTE))) { + parsed_is_remote = TRUE; + } } if (parsed_uuid) { @@ -472,7 +474,7 @@ get_uuid_from_result(xmlNode *result, char **uuid, int *is_remote) * - cluster or remote node in nodes section * - remote node in resources section * - guest node in resources section - * - orphaned remote node in status section + * - orphaned remote node or bundle guest node in status section */ #define XPATH_NODE \ "/" XML_TAG_CIB "/" XML_CIB_TAG_CONFIGURATION "/" XML_CIB_TAG_NODES \
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