pcp/redhat-bugzilla-2219731-hacluster-metrics.patch
Nathan Scott fef0a6b906 Resolve a corruption (zero file creation) in hacluster patch
Resolves: rhbz#2211263
Resolves: rhbz#2219731
Resolves: rhbz#2159207
2023-07-10 17:00:42 +10:00

750 lines
33 KiB
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

diff -Naurp pcp-5.3.7.orig/qa/1897.out pcp-5.3.7/qa/1897.out
--- pcp-5.3.7.orig/qa/1897.out 2023-07-10 16:51:15.049365731 +1000
+++ pcp-5.3.7/qa/1897.out 2023-07-10 16:52:18.069511419 +1000
@@ -376,12 +376,12 @@ is given as label metadata values for th
inst [2 or "node-2:test_clone_state"] value 1
inst [3 or "node-2:test_site"] value 1
-ha_cluster.pacemaker.nodes.status.dc PMID: 155.3.8 [Whether the node status is given as disconnected]
+ha_cluster.pacemaker.nodes.status.dc PMID: 155.3.8 [Whether the node status is given as the DC]
Data Type: 32-bit unsigned int InDom: 155.2 0x26c00002
Semantics: instant Units: count
Help:
-Whether the disconnected status is reported by the node in the cluster, a
-value of 1 confirms the node status as disconnected.
+Whether the DC status is reported by the node in the cluster, a
+value of 1 confirms the node status as the designated coordinator.
inst [0 or "node-1"] value 0
inst [1 or "node-2"] value 1
@@ -680,6 +680,632 @@ ha_cluster.drbd.split_brain
=== std err ===
=== filtered valgrind report ===
Memcheck, a memory error detector
+Command: pminfo -L -K clear -K add,155,PCP_PMDAS_DIR/hacluster/pmda_hacluster.so,hacluster_init -f ha_cluster.pacemaker.config_last_change ha_cluster.corosync.quorate ha_cluster.sbd.devices.path ha_cluster.drbd.split_brain
+LEAK SUMMARY:
+definitely lost: 0 bytes in 0 blocks
+indirectly lost: 0 bytes in 0 blocks
+ERROR SUMMARY: 0 errors from 0 contexts ...
+
+== done
+
+== Checking metric descriptors and values - hacluster-root-002.tgz
+
+ha_cluster.corosync.member_votes.local PMID: 155.6.1 [Votes that are local to this node]
+ Data Type: 32-bit unsigned int InDom: 155.5 0x26c00005
+ Semantics: instant Units: count
+Help:
+The quorum votes which are local to this node in the cluster.
+ inst [0 or "rhel9-node1"] value 1
+ inst [1 or "rhel9-node2"] value 0
+
+ha_cluster.corosync.member_votes.node_id PMID: 155.6.2 [Node ID]
+ Data Type: 64-bit unsigned int InDom: 155.5 0x26c00005
+ Semantics: instant Units: count
+Help:
+The full corosync ID for the nodes in the cluster.
+ inst [0 or "rhel9-node1"] value 1
+ inst [1 or "rhel9-node2"] value 2
+
+ha_cluster.corosync.member_votes.votes PMID: 155.6.0 [Quorum votes per node]
+ Data Type: 32-bit unsigned int InDom: 155.5 0x26c00005
+ Semantics: instant Units: count
+Help:
+The number of quorum votes allocated to each node in the cluster.
+ inst [0 or "rhel9-node1"] value 1
+ inst [1 or "rhel9-node2"] value 1
+
+ha_cluster.corosync.quorate PMID: 155.7.0 [Value given for quorate]
+ Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff
+ Semantics: instant Units: count
+Help:
+The value represents whether or not the cluster is quorate.
+ value 1
+
+ha_cluster.corosync.quorum_votes.expected_votes PMID: 155.7.1 [Expected vote count]
+ Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff
+ Semantics: instant Units: count
+Help:
+The number of expected quorum votes for the cluster.
+ value 2
+
+ha_cluster.corosync.quorum_votes.highest_expected PMID: 155.7.2 [Highest expected vote count]
+ Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff
+ Semantics: instant Units: count
+Help:
+The highest number of expected quorum votes for the cluster.
+ value 2
+
+ha_cluster.corosync.quorum_votes.quorum PMID: 155.7.4 [Whether cluster is quorate]
+ Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff
+ Semantics: instant Units: count
+Help:
+The value reported for the quorate for the cluster.
+ value 1
+
+ha_cluster.corosync.quorum_votes.total_votes PMID: 155.7.3 [Total number of votes]
+ Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff
+ Semantics: instant Units: count
+Help:
+The total number of quorum votes for the cluster.
+ value 2
+
+ha_cluster.corosync.ring_errors PMID: 155.7.5 [Number of faulty rings]
+ Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff
+ Semantics: instant Units: count
+Help:
+The total number of Corosync rings which are faulty.
+ value 0
+
+ha_cluster.corosync.rings.address PMID: 155.8.1 [IP Address for ring]
+ Data Type: string InDom: 155.6 0x26c00006
+ Semantics: instant Units: count
+Help:
+The IP address locally linked to this ring.
+ inst [0 or "0"] value "192.168.122.148"
+
+ha_cluster.corosync.rings.all PMID: 155.15.0 [Corosync rings information]
+ Data Type: 32-bit unsigned int InDom: 155.13 0x26c0000d
+ Semantics: instant Units: count
+Help:
+Value is 1 if a ring exists. The details of the corresponding ring
+is given as label metadata values for this metric.
+ inst [0 or "0"] value 1
+
+ha_cluster.corosync.rings.node_id PMID: 155.8.2 [ID of the local node]
+ Data Type: 64-bit unsigned int InDom: 155.6 0x26c00006
+ Semantics: instant Units: count
+Help:
+The internal Corosync node ID to the node matched to the ring.
+ inst [0 or "0"] value 1
+
+ha_cluster.corosync.rings.number PMID: 155.8.3 [Ring number]
+ Data Type: 32-bit unsigned int InDom: 155.6 0x26c00006
+ Semantics: instant Units: count
+Help:
+The number for the Corosync ring.
+ inst [0 or "0"] value 0
+
+ha_cluster.corosync.rings.ring_id PMID: 155.8.4 [Ring ID]
+ Data Type: string InDom: 155.6 0x26c00006
+ Semantics: instant Units: count
+Help:
+The internal Corosync ring ID, corresponds to the first node to join.
+ inst [0 or "0"] value "1.9"
+
+ha_cluster.corosync.rings.status PMID: 155.8.0 [Corosync ring status]
+ Data Type: 32-bit unsigned int InDom: 155.6 0x26c00006
+ Semantics: instant Units: count
+Help:
+The status for each Corosync ring in the cluster, a value of 1 is faulty and
+0 is healthy.
+ inst [0 or "0"] value 0
+
+ha_cluster.drbd.al_writes PMID: 155.10.6 [Writes to the activity log]
+ Data Type: 64-bit unsigned int InDom: 155.8 0x26c00008
+ Semantics: instant Units: count
+Help:
+Amount of writes to the activity log area of metadata by the DRBD
+resource:volume.
+No value(s) available!
+
+ha_cluster.drbd.bm_writes PMID: 155.10.7 [Writes to bitmap area]
+ Data Type: 64-bit unsigned int InDom: 155.8 0x26c00008
+ Semantics: instant Units: count
+Help:
+Amount of writes to the bitmap area of metadata by the DRBD resource:volume.
+No value(s) available!
+
+ha_cluster.drbd.connections.all PMID: 155.18.0 [DRBD Peer disk information]
+ Data Type: 32-bit unsigned int InDom: 155.16 0x26c00010
+ Semantics: instant Units: count
+Help:
+Value is 1 if a drbd peer connection exists. The details of the corresponding DRBD peer
+connection is given as label metadata values for this metric.
+No value(s) available!
+
+ha_cluster.drbd.connections.peer_disk_state PMID: 155.11.4 [Peer disk state]
+ Data Type: string InDom: 155.9 0x26c00009
+ Semantics: instant Units: count
+Help:
+The reported peer disk state for the connection.
+No value(s) available!
+
+ha_cluster.drbd.connections.peer_node_id PMID: 155.11.1 [The ID the connection is for]
+ Data Type: string InDom: 155.9 0x26c00009
+ Semantics: instant Units: count
+Help:
+The given peer node ID for which the connection is for.
+No value(s) available!
+
+ha_cluster.drbd.connections.peer_role PMID: 155.11.2 [Role of the connection]
+ Data Type: string InDom: 155.9 0x26c00009
+ Semantics: instant Units: count
+Help:
+The reported role type for the connection.
+No value(s) available!
+
+ha_cluster.drbd.connections.resource PMID: 155.11.0 [Resource that the connection is for]
+ Data Type: string InDom: 155.9 0x26c00009
+ Semantics: instant Units: count
+Help:
+The given resource that the DRBD connection is for each resource:volume.
+No value(s) available!
+
+ha_cluster.drbd.connections.volume PMID: 155.11.3 [Volume number]
+ Data Type: 32-bit unsigned int InDom: 155.9 0x26c00009
+ Semantics: instant Units: count
+Help:
+The reported volume for the connection.
+No value(s) available!
+
+ha_cluster.drbd.connections_pending PMID: 155.11.8 [Number of connections pending]
+ Data Type: 32-bit unsigned int InDom: 155.9 0x26c00009
+ Semantics: instant Units: count
+Help:
+The number of requests sent which have not yet been received by DRBD for the
+resource:volume.
+No value(s) available!
+
+ha_cluster.drbd.connections_received PMID: 155.11.6 [Volume of data received]
+ Data Type: 64-bit unsigned int InDom: 155.9 0x26c00009
+ Semantics: instant Units: count
+Help:
+The volume of data received via the network connection in KiB by DRBD for the
+resource:volume.
+No value(s) available!
+
+ha_cluster.drbd.connections_sent PMID: 155.11.7 [Volume of data sent]
+ Data Type: 64-bit unsigned int InDom: 155.9 0x26c00009
+ Semantics: instant Units: count
+Help:
+The volume of data sent via the network connection in KiB by DRBD for the
+resource:volume.
+No value(s) available!
+
+ha_cluster.drbd.connections_sync PMID: 155.11.5 [Connections in sync]
+ Data Type: float InDom: 155.9 0x26c00009
+ Semantics: instant Units: count
+Help:
+The number of DRBD connections in sync for each resource:volume, this value is
+between 0 to 100.
+No value(s) available!
+
+ha_cluster.drbd.connections_unacked PMID: 155.11.9 [Number of connection not acknowledged]
+ Data Type: 32-bit unsigned int InDom: 155.9 0x26c00009
+ Semantics: instant Units: count
+Help:
+The number of requests sent which have not yet been acknowledged by DRBD for
+the resource:volume.
+No value(s) available!
+
+ha_cluster.drbd.lower_pending PMID: 155.10.9 [Number of open requests]
+ Data Type: 64-bit unsigned int InDom: 155.8 0x26c00008
+ Semantics: instant Units: count
+Help:
+The number of open requests to the local I/O subsystem by DRBD for the
+resource:volume.
+No value(s) available!
+
+ha_cluster.drbd.quorum PMID: 155.10.10 [Quorum status of DRBD resource:volume]
+ Data Type: 32-bit unsigned int InDom: 155.8 0x26c00008
+ Semantics: instant Units: count
+Help:
+The Quorum status of the DRBD resource according to resource:volume, 1 is
+quorate and 0 is non-quorate.
+No value(s) available!
+
+ha_cluster.drbd.read PMID: 155.10.5 [Amount read by DRBD resource]
+ Data Type: 32-bit unsigned int InDom: 155.8 0x26c00008
+ Semantics: instant Units: count
+Help:
+Amount in KiB read by the DRBD resource:volume.
+No value(s) available!
+
+ha_cluster.drbd.resources.all PMID: 155.17.0 [DRBD resource information]
+ Data Type: 32-bit unsigned int InDom: 155.15 0x26c0000f
+ Semantics: instant Units: count
+Help:
+Value is 1 if a drbd resource exists. The details of the corresponding drbd resource
+is given as label metadata values for this metric.
+No value(s) available!
+
+ha_cluster.drbd.resources.disk_state PMID: 155.10.3 [Disk state]
+ Data Type: string InDom: 155.8 0x26c00008
+ Semantics: instant Units: count
+Help:
+The current reported disk state of for the resource:volume.
+No value(s) available!
+
+ha_cluster.drbd.resources.resource PMID: 155.10.0 [Name of the resource]
+ Data Type: string InDom: 155.8 0x26c00008
+ Semantics: instant Units: count
+Help:
+The name given for the DRBD resource for each resource:volume.
+No value(s) available!
+
+ha_cluster.drbd.resources.role PMID: 155.10.1 [Role of the resource]
+ Data Type: string InDom: 155.8 0x26c00008
+ Semantics: instant Units: count
+Help:
+The reported role for the DRBD resource for each resource:volume.
+No value(s) available!
+
+ha_cluster.drbd.resources.volume PMID: 155.10.2 [Volume of the resource]
+ Data Type: string InDom: 155.8 0x26c00008
+ Semantics: instant Units: count
+Help:
+The volume number of the resource for each resource:volume.
+No value(s) available!
+
+ha_cluster.drbd.split_brain PMID: 155.10.11 [Signal for split brain detection.]
+ Data Type: 32-bit unsigned int InDom: 155.8 0x26c00008
+ Semantics: instant Units: count
+Help:
+This metric signals if there has been a split brain occurring in DRBD for the
+resource:volume, value is 1 is a split brain has been detected.
+No value(s) available!
+
+ha_cluster.drbd.upper_pending PMID: 155.10.8 [Block I/O requests pending]
+ Data Type: 64-bit unsigned int InDom: 155.8 0x26c00008
+ Semantics: instant Units: count
+Help:
+The number of the block I/O requests forwarded but not yet answered by DRBD
+for the resource:volume.
+No value(s) available!
+
+ha_cluster.drbd.written PMID: 155.10.4 [Amount written to DRBD resource]
+ Data Type: 32-bit unsigned int InDom: 155.8 0x26c00008
+ Semantics: instant Units: count
+Help:
+Amount in KiB written to the DRBD resource:volume.
+No value(s) available!
+
+ha_cluster.pacemaker.config_last_change PMID: 155.0.0 [Unix timestamp corresponding to last Pacemaker configuration change]
+ Data Type: 64-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff
+ Semantics: instant Units: count
+Help:
+Unix timestamp in seconds corresponding to the last time that the Pacemaker
+configuration was changed on the system.
+ value 1687428694
+
+ha_cluster.pacemaker.fail_count PMID: 155.1.0 [The number of fail count recorded]
+ Data Type: 64-bit unsigned int InDom: 155.0 0x26c00000
+ Semantics: instant Units: count
+Help:
+The number of fail count per node and resource ID, the actual maximum value
+depends on Pacemaker internals.
+No value(s) available!
+
+ha_cluster.pacemaker.location_constraints.all PMID: 155.12.0 [Location constraint information]
+ Data Type: 32-bit unsigned int InDom: 155.10 0x26c0000a
+ Semantics: instant Units: count
+Help:
+Value is 1 if a location constraint exists. The details of the location constraint
+is given as label metadata values for this metric.
+No value(s) available!
+
+ha_cluster.pacemaker.location_constraints.node PMID: 155.2.0 [Node of the location constraint]
+ Data Type: string InDom: 155.1 0x26c00001
+ Semantics: instant Units: count
+Help:
+The node that the location constraint applies to in the cluster.
+No value(s) available!
+
+ha_cluster.pacemaker.location_constraints.resource PMID: 155.2.1 [Resource of the location constraint]
+ Data Type: string InDom: 155.1 0x26c00001
+ Semantics: instant Units: count
+Help:
+The resource that the location constraint applies to in the cluster.
+No value(s) available!
+
+ha_cluster.pacemaker.location_constraints.role PMID: 155.2.2 [Resource role of the location constraint]
+ Data Type: string InDom: 155.1 0x26c00001
+ Semantics: instant Units: count
+Help:
+The resource role that the location constraint applies to, if any.
+No value(s) available!
+
+ha_cluster.pacemaker.location_constraints.score PMID: 155.2.3 [Score of the location constraint]
+ Data Type: string InDom: 155.1 0x26c00001
+ Semantics: instant Units: count
+Help:
+The score given to the location constraint by Pacemaker, the value depends on
+Pacemaker internals.
+No value(s) available!
+
+ha_cluster.pacemaker.migration_threshold PMID: 155.1.1 [Migration threshold per node and resource ID]
+ Data Type: 64-bit unsigned int InDom: 155.0 0x26c00000
+ Semantics: instant Units: count
+Help:
+The value for the migration threshold per node and resource ID set by the
+Pacemaker cluster.
+No value(s) available!
+
+ha_cluster.pacemaker.node_attributes PMID: 155.4.0 [Metadata used by Resource Agents]
+ Data Type: string InDom: 155.3 0x26c00003
+ Semantics: instant Units: count
+Help:
+The raw values for the cluster metadata attributes and their value per node as
+used by the Resource Agents.
+No value(s) available!
+
+ha_cluster.pacemaker.node_attributes_all PMID: 155.13.0 [Metadata information]
+ Data Type: 32-bit unsigned int InDom: 155.11 0x26c0000b
+ Semantics: instant Units: count
+Help:
+Value is 1 if a node metadata exists. The details of the node metadata
+is given as label metadata values for this metric.
+No value(s) available!
+
+ha_cluster.pacemaker.nodes.status.dc PMID: 155.3.8 [Whether the node status is given as the DC]
+ Data Type: 32-bit unsigned int InDom: 155.2 0x26c00002
+ Semantics: instant Units: count
+Help:
+Whether the DC status is reported by the node in the cluster, a
+value of 1 confirms the node status as the designated coordinator.
+ inst [0 or "rhel9-node1"] value 0
+ inst [1 or "rhel9-node2"] value 1
+
+ha_cluster.pacemaker.nodes.status.expected_up PMID: 155.3.7 [Whether the node status is given as expected_up]
+ Data Type: 32-bit unsigned int InDom: 155.2 0x26c00002
+ Semantics: instant Units: count
+Help:
+Whether the expected_up status is reported by the node in the cluster, a
+value of 1 confirms the node status as expected_up.
+ inst [0 or "rhel9-node1"] value 1
+ inst [1 or "rhel9-node2"] value 1
+
+ha_cluster.pacemaker.nodes.status.maintenance PMID: 155.3.3 [Whether the node status is given as maintenance]
+ Data Type: 32-bit unsigned int InDom: 155.2 0x26c00002
+ Semantics: instant Units: count
+Help:
+Whether the maintenance status is reported by the node in the cluster, a
+value of 1 confirms the node status as online.
+ inst [0 or "rhel9-node1"] value 0
+ inst [1 or "rhel9-node2"] value 0
+
+ha_cluster.pacemaker.nodes.status.online PMID: 155.3.0 [Whether the node status is given as online]
+ Data Type: 32-bit unsigned int InDom: 155.2 0x26c00002
+ Semantics: instant Units: count
+Help:
+Whether the online status is reported by the node in the cluster, a value of
+1 confirms the node status as online.
+ inst [0 or "rhel9-node1"] value 1
+ inst [1 or "rhel9-node2"] value 1
+
+ha_cluster.pacemaker.nodes.status.pending PMID: 155.3.4 [Whether the node status is given as pending]
+ Data Type: 32-bit unsigned int InDom: 155.2 0x26c00002
+ Semantics: instant Units: count
+Help:
+Whether the pending status is reported by the node in the cluster, a value of
+1 confirms the node status as pending.
+ inst [0 or "rhel9-node1"] value 0
+ inst [1 or "rhel9-node2"] value 0
+
+ha_cluster.pacemaker.nodes.status.shutdown PMID: 155.3.6 [Whether the node status is given as shutdown]
+ Data Type: 32-bit unsigned int InDom: 155.2 0x26c00002
+ Semantics: instant Units: count
+Help:
+Whether the shutdown status is reported by the node in the cluster, a value
+of 1 confirms the node status as shutdown.
+ inst [0 or "rhel9-node1"] value 0
+ inst [1 or "rhel9-node2"] value 0
+
+ha_cluster.pacemaker.nodes.status.standby PMID: 155.3.1 [Whether the node status is given as standby]
+ Data Type: 32-bit unsigned int InDom: 155.2 0x26c00002
+ Semantics: instant Units: count
+Help:
+Whether the standby status is reported by the node in the cluster, a value of
+1 confirms the node status as standby.
+ inst [0 or "rhel9-node1"] value 0
+ inst [1 or "rhel9-node2"] value 0
+
+ha_cluster.pacemaker.nodes.status.standby_on_fail PMID: 155.3.2 [Whether the node status is given as standby_on_fail]
+ Data Type: 32-bit unsigned int InDom: 155.2 0x26c00002
+ Semantics: instant Units: count
+Help:
+Whether the standby_on_fail status is reported by the node in the cluster,
+a value of 1 confirms the node status as standby_on_fail.
+ inst [0 or "rhel9-node1"] value 0
+ inst [1 or "rhel9-node2"] value 0
+
+ha_cluster.pacemaker.nodes.status.unclean PMID: 155.3.5 [Whether the node status is given as unclean]
+ Data Type: 32-bit unsigned int InDom: 155.2 0x26c00002
+ Semantics: instant Units: count
+Help:
+Whether the unclean status is reported by the node in the cluster, a value of
+1 confirms the node status as unclean.
+ inst [0 or "rhel9-node1"] value 0
+ inst [1 or "rhel9-node2"] value 0
+
+ha_cluster.pacemaker.nodes.type PMID: 155.3.9 [The type given to the node]
+ Data Type: string InDom: 155.2 0x26c00002
+ Semantics: instant Units: count
+Help:
+The membership type given to the node in the Pacemaker cluster.
+ inst [0 or "rhel9-node1"] value "member"
+ inst [1 or "rhel9-node2"] value "member"
+
+ha_cluster.pacemaker.resources.agent PMID: 155.5.0 [The name of the resource agent for this resource]
+ Data Type: string InDom: 155.4 0x26c00004
+ Semantics: instant Units: count
+Help:
+The name given for the resource agent for the given resource instance in the
+cluster.
+No value(s) available!
+
+ha_cluster.pacemaker.resources.all PMID: 155.14.0 [Pacemaker resources information]
+ Data Type: 32-bit unsigned int InDom: 155.12 0x26c0000c
+ Semantics: instant Units: count
+Help:
+Value is 1 if a resources exists. The details of the resource
+is given as label metadata values for this metric.
+No value(s) available!
+
+ha_cluster.pacemaker.resources.clone PMID: 155.5.1 [The name of the clone given for this resource]
+ Data Type: string InDom: 155.4 0x26c00004
+ Semantics: instant Units: count
+Help:
+The name given for the clone for the given resource instance in the cluster,
+if any.
+No value(s) available!
+
+ha_cluster.pacemaker.resources.group PMID: 155.5.2 [The name of the group given for this resource]
+ Data Type: string InDom: 155.4 0x26c00004
+ Semantics: instant Units: count
+Help:
+The name given for the group for the given resource instance in the cluster,
+if any.
+No value(s) available!
+
+ha_cluster.pacemaker.resources.managed PMID: 155.5.3 [Value is either true or false]
+ Data Type: 32-bit unsigned int InDom: 155.4 0x26c00004
+ Semantics: instant Units: count
+Help:
+The value of whether the resource instance in the cluster is managed or not.
+No value(s) available!
+
+ha_cluster.pacemaker.resources.role PMID: 155.5.4 [The given role state]
+ Data Type: string InDom: 155.4 0x26c00004
+ Semantics: instant Units: count
+Help:
+The value of the given role state for the resource instance in the cluster.
+No value(s) available!
+
+ha_cluster.pacemaker.resources.status.active PMID: 155.5.5 [Whether the resources status is given as active]
+ Data Type: 32-bit unsigned int InDom: 155.4 0x26c00004
+ Semantics: instant Units: count
+Help:
+Whether the active status is reported by the resource in the cluster, a
+value of 1 confirms the resource status as active.
+No value(s) available!
+
+ha_cluster.pacemaker.resources.status.blocked PMID: 155.5.7 [Whether the resources status is given as blocked]
+ Data Type: 32-bit unsigned int InDom: 155.4 0x26c00004
+ Semantics: instant Units: count
+Help:
+Whether the blocked status is reported by the resource in the cluster, a
+value of 1 confirms the resource status as blocked.
+No value(s) available!
+
+ha_cluster.pacemaker.resources.status.failed PMID: 155.5.8 [Whether the resources status is given as failed]
+ Data Type: 32-bit unsigned int InDom: 155.4 0x26c00004
+ Semantics: instant Units: count
+Help:
+Whether the failed status is reported by the resource in the cluster, a
+value of 1 confirms the resource status as failed.
+No value(s) available!
+
+ha_cluster.pacemaker.resources.status.failure_ignored PMID: 155.5.9 [Whether the resources status is given as failure_ignored]
+ Data Type: 32-bit unsigned int InDom: 155.4 0x26c00004
+ Semantics: instant Units: count
+Help:
+Whether the failure_ignored status is reported by the resource in the
+cluster, a value of 1 confirms the resource status as failure_ignored.
+No value(s) available!
+
+ha_cluster.pacemaker.resources.status.orphaned PMID: 155.5.6 [Whether the resources status is given as orphaned]
+ Data Type: 32-bit unsigned int InDom: 155.4 0x26c00004
+ Semantics: instant Units: count
+Help:
+Whether the orphaned status is reported by the resource in the cluster, a
+value of 1 confirms the resource status as orphaned.
+No value(s) available!
+
+ha_cluster.pacemaker.stonith_enabled PMID: 155.0.1 [Whether stonith is enabled in the cluster]
+ Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff
+ Semantics: instant Units: count
+Help:
+Value returns as to whether stonith is enabled or disabled for the cluster.
+ value 0
+
+ha_cluster.sbd.all PMID: 155.16.0 [SBD device information]
+ Data Type: 32-bit unsigned int InDom: 155.14 0x26c0000e
+ Semantics: instant Units: count
+Help:
+Value is 1 if a sbd device exists. The details of the corresponding SBD device
+is given as label metadata values for this metric.
+No value(s) available!
+
+ha_cluster.sbd.devices.path PMID: 155.9.0 [Path of SBD device]
+ Data Type: string InDom: 155.7 0x26c00007
+ Semantics: instant Units: count
+Help:
+The full path given to each SBD device.
+No value(s) available!
+
+ha_cluster.sbd.devices.status PMID: 155.9.1 [Status of the SBD device]
+ Data Type: string InDom: 155.7 0x26c00007
+ Semantics: instant Units: count
+Help:
+The current status given for each of the SBD devices, the value is one of
+healthy or unhealthy.
+No value(s) available!
+
+ha_cluster.sbd.timeouts.allocate PMID: 155.9.3 [allocate timeout value]
+ Data Type: 32-bit unsigned int InDom: 155.7 0x26c00007
+ Semantics: instant Units: count
+Help:
+The value threshold for allocate timeouts for the given SBD device.
+No value(s) available!
+
+ha_cluster.sbd.timeouts.loop PMID: 155.9.4 [loop timeout value]
+ Data Type: 32-bit unsigned int InDom: 155.7 0x26c00007
+ Semantics: instant Units: count
+Help:
+The value threshold for loop timeouts for the given SBD device.
+No value(s) available!
+
+ha_cluster.sbd.timeouts.mgswait PMID: 155.9.2 [mgswait timeout value]
+ Data Type: 32-bit unsigned int InDom: 155.7 0x26c00007
+ Semantics: instant Units: count
+Help:
+The value threshold for msgwait timeouts for the given SBD device.
+No value(s) available!
+
+ha_cluster.sbd.timeouts.watchdog PMID: 155.9.5 [watchdog timeout value]
+ Data Type: 32-bit unsigned int InDom: 155.7 0x26c00007
+ Semantics: instant Units: count
+Help:
+The value threshold for watchdog timeouts for the given SBD device.
+No value(s) available!
+== Checking with valgrind - hacluster-root-002.tgz
+=== std out ===
+
+ha_cluster.pacemaker.config_last_change
+ value 1687428694
+
+ha_cluster.corosync.quorate
+ value 1
+
+ha_cluster.sbd.devices.path
+No value(s) available!
+
+ha_cluster.drbd.split_brain
+No value(s) available!
+=== std err ===
+=== filtered valgrind report ===
+Memcheck, a memory error detector
Command: pminfo -L -K clear -K add,155,PCP_PMDAS_DIR/hacluster/pmda_hacluster.so,hacluster_init -f ha_cluster.pacemaker.config_last_change ha_cluster.corosync.quorate ha_cluster.sbd.devices.path ha_cluster.drbd.split_brain
LEAK SUMMARY:
definitely lost: 0 bytes in 0 blocks
diff -Naurp pcp-5.3.7.orig/qa/hacluster/GNUmakefile pcp-5.3.7/qa/hacluster/GNUmakefile
--- pcp-5.3.7.orig/qa/hacluster/GNUmakefile 2023-07-10 16:51:15.069365777 +1000
+++ pcp-5.3.7/qa/hacluster/GNUmakefile 2023-07-10 16:52:18.069511419 +1000
@@ -8,7 +8,7 @@ default setup default_pcp:
install install_pcp: $(ROOTFILES)
$(INSTALL) -m 755 -d $(TESTDIR)
- $(INSTALL) -m 755 -f $(ROOTFILES) $(TESTDIR)/$(ROOTFILES)
+ $(INSTALL) -m 644 -f $(ROOTFILES) $(TESTDIR)
$(INSTALL) -m 644 -f GNUmakefile.install $(TESTDIR)/GNUmakefile
include $(BUILDRULES)
diff -Naurp pcp-5.3.7.orig/qa/hacluster/hacluster-root-002.tgz pcp-5.3.7/qa/hacluster/hacluster-root-002.tgz
--- pcp-5.3.7.orig/qa/hacluster/hacluster-root-002.tgz 1970-01-01 10:00:00.000000000 +1000
+++ pcp-5.3.7/qa/hacluster/hacluster-root-002.tgz 2023-07-10 16:53:58.649743937 +1000
@@ -0,0 +1,15 @@
+<1F><03>[[s<>6<16>k<EFBFBD>+<2B><>C<EFBFBD><43><EFBFBD> -ٵ*<2A><><1B>[o<><6F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>I<03><>Ě$X<02><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>@R<>,<2C>M<EFBFBD>I<EFBFBD>-<2D>dl <04>
<EFBFBD>N<EFBFBD><EFBFBD><EFBFBD>zO>0<>'<27><11><1E><><EFBFBD><EFBFBD><EFBFBD>< <0C><>Q<51>
<<3C><1B>O<EFBFBD><4F>'l<><6C>#(<28><>9cO2q<32>Su<53><75><EFBFBD><EFBFBD><EFBFBD>E<EFBFBD><45><EFBFBD>_r?<3F>D<><44>,<2C>=<3D><><EFBFBD>o<EFBFBD><6F>;<3B><06><> ؾ?<3F><> <20>ҮZ>*<2A>w<EFBFBD><77>p8<18><>?<3F><1F><>G}<7D><> <09>?"<0F><><EFBFBD><EFBFBD><EFBFBD><0F><>+TޛGiO<69><4F>l<EFBFBD>ղ<EFBFBD><D5B2><EFBFBD>f<EFBFBD><66><EFBFBD><EFBFBD><EFBFBD>;X<04><>d
+<2B><><>S<EFBFBD><53>;8<>z<0E><>qp-<2D>U<EFBFBD><55>S'<27><>H<EFBFBD><48><EFBFBD>ݣ<EFBFBD><DDA3><EFBFBD>D&}<7D><>8,-<2D>Y<EFBFBD><59>N5u<35>366+<2B><>3<EFBFBD><33>1W<31>]<5D><><EFBFBD>"<22>:<3A>˂<EFBFBD><CB82>H<EFBFBD><48><EFBFBD>A<<18><><EFBFBD><EFBFBD><EFBFBD>{G<0E>x\<5C>G<EFBFBD><1B><><EFBFBD>O<EFBFBD>TbP?<3F><>H<EFBFBD>`<60><><EFBFBD><EFBFBD>A<EFBFBD>D<EFBFBD>#Rj<52>-<2D><>p-d^$Sg<03>-<2D>(<28>:<3A><><EFBFBD>c_<>a<EFBFBD>(r<>#<23><>
+<2B>Av<>.В<><D092>Y<EFBFBD><59>L<EFBFBD>zM
+b<><62>d<EFBFBD><64><EFBFBD><EFBFBD>9<EFBFBD>\<5C><1A>T<EFBFBD>p2<70><32>x<EFBFBD>߿<EFBFBD>5<1C><><EFBFBD><EFBFBD><EFBFBD>\@<40><Sgg7P`5<><35>N<>}<7D>C<EFBFBD>[<5B>+<2B>]<5D>n<EFBFBD><6E>x<EFBFBD><78><EFBFBD>;rO<72><4F><EFBFBD><EFBFBD>s<EFBFBD>Q8<1C><><0E><><EFBFBD><EFBFBD><EFBFBD>*<2A><>Fi<46><69><EFBFBD><EFBFBD><EFBFBD>'[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>T<EFBFBD><54><EFBFBD>c$<24><>.!<21>V<EFBFBD><56>M<EFBFBD>j<EFBFBD><6A><EFBFBD>PZ<50><5A>{W<>|<1E><><EFBFBD>rg<72><67><EFBFBD>Q*K u3G<><47>"qw<71><77>-R<>7<EFBFBD>Lz<4C><EFBFBD>ޮ9OȍT}<7D>><19>ȳ,ᦷ<><E1A6B7>n<EFBFBD><6E>l<EFBFBD><6C><EFBFBD><EFBFBD>^<03>$J<16>/T<><14><><EFBFBD>Q<EFBFBD><51><EFBFBD>\<5C><>@<40><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Dh><3E>Z<EFBFBD>Ѽ<EFBFBD><D1BC><19><>"<22><03>B<EFBFBD>Vg<56><67><EFBFBD><EFBFBD><EFBFBD>JG<4A>M<EFBFBD>
+<2B>*<2A><>}Tj<54>)wo<77><6F>J<EFBFBD>]<5D><><EFBFBD><EFBFBD>`2A<32>хj<D185>}F+<2B>R#C<><43>}+x<08><17><><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><04><>Ţ<0E><><EFBFBD>gPj<50>"m<><6D>I<><12><>a<EFBFBD>L<EFBFBD>̈́<EFBFBD>EP<45>Ԓ<EFBFBD>3<08><><EFBFBD><EFBFBD><EFBFBD>:<3A>pc<<3C><><EFBFBD>&+<2B><>ܻ}<03><06>[<5B>VYi<59>`k<>T{<7B>q<EFBFBD><71><EFBFBD><EFBFBD>C~s5<73>$<24><><EFBFBD>yrW,<2C>v<EFBFBD><76>0a<30>i<EFBFBD>V<EFBFBD><56>/n<><6E>|7x<37><78><tq<74>?<3F><><06><><EFBFBD>Mz<4D><7A>M<EFBFBD><4D><EFBFBD>g<EFBFBD>*<2A>?<3F><10><>`<60><>/s<><73><EFBFBD> -e<>8}<7D>C<EFBFBD><43>w<EFBFBD>m<EFBFBD><6D><EFBFBD>c<EFBFBD><63>ǣ<EFBFBD>~[<5B> x<><78><EFBFBD>N<EFBFBD><f&<26>_<EFBFBD><5F><EFBFBD>!3<><33><EFBFBD>\<5C><>T<EFBFBD><54>w<EFBFBD><77><EFBFBD><EFBFBD>'}VY<>)<0F><><EFBFBD><EFBFBD>
NQ8<>x<>=<3D><><EFBFBD><EFBFBD><EFBFBD>۸<EFBFBD><DBB8>)<29><><EFBFBD><EFBFBD>&<26> <0C>Oc"<22><>J<EFBFBD>{"{<7B>&<26><><EFBFBD><1D><03>=<3D>o<EFBFBD><6F>G
+<0F><>f<><66><EFBFBD><11><>'G<>a<EFBFBD><61><1E><><1F><1D><> e<><65><EFBFBD><EFBFBD><EFBFBD>ށ<EFBFBD>9k<>e<01><><EFBFBD><EFBFBD><EFBFBD>_<><5F><EFBFBD>B<EFBFBD>v<EFBFBD>6
+D<>S<EFBFBD><53><EFBFBD>n<EFBFBD><16><>:<3A><>S<EFBFBD><53><EFBFBD><EFBFBD>5<EFBFBD><35>f<EFBFBD><EFBFBD><E8BC89><EFBFBD>Z<EFBFBD><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD>:<3A>k<><0F>cd<63>(k,Fl^<5E><>7<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD>X<EFBFBD><58><11><>d<EFBFBD>Y!<21><><18>|<1D>ŎPF<50><46>]<5D><13><><EFBFBD>2?<3F>c<EFBFBD><63><EFBFBD>4<EFBFBD><34>ZF<5A><46>a<EFBFBD><61><EFBFBD>2<EFBFBD><32>"&Q<15><>C n#_<>W<EFBFBD><57>:Mn<4D><6E><EFBFBD><EFBFBD>
kT<EFBFBD><EFBFBD><EFBFBD>7<EFBFBD><EFBFBD>ym|<7C><><EFBFBD>N<EFBFBD>G)<29><>G<1E>><14><><EFBFBD>qc<71>{L<><4C>м<EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD><07><><EFBFBD>"X9<19> <09>Qi=<3D>
<EFBFBD>Z<EFBFBD>Y<EFBFBD>ˤ1 f:/4<>E<EFBFBD>"`;<3B>f<EFBFBD><66>@<40><>p<EFBFBD><05>얹b4<62>N<EFBFBD><4E><EFBFBD><EFBFBD><EFBFBD>߷m<DFB7>DI<><49>u<EFBFBD><75><01><EFBFBD><7F>:<3A>3<1B><>E<EFBFBD>S<EFBFBD><18>H1B<31>1<EFBFBD>m<EFBFBD><6D> <0B>5<EFBFBD>d<EFBFBD><64>.vC<03>Y5-<2D><08><><EFBFBD>f5ڭ<35>ޤ!!<21>a<>Ɉ<EFBFBD><C988>Q<EFBFBD>N<EFBFBD><4E><EFBFBD><EFBFBD>K<EFBFBD>.<2E><1F><1A>7<06>w<EFBFBD><77><EFBFBD>f<EFBFBD><66><EFBFBD><EFBFBD>Bͪy<14>[ZP<5A>!!<21><>[<5B>K<EFBFBD><4B><EFBFBD>wX)3<>4<1F>H7<><37><EFBFBD>ʑc9<63>d;<03>JU<4A><55>$h<><68>j<EFBFBD>Zivw<76>Y<EFBFBD>5YB<59>A<EFBFBD>I}<7D>&<26>d<EFBFBD>K<EFBFBD><4B><EFBFBD>q\<5C><>T<EFBFBD><54>!O:<3A><>v<:<3A><><EFBFBD><EFBFBD>D"<22>J<EFBFBD><4A>P<EFBFBD>>,<2C>
D<EFBFBD><EFBFBD>fGe{<7B><><EFBFBD>5<EFBFBD><35>v<EFBFBD><76>o<EFBFBD>c<EFBFBD>@v<>SID<49><44>`<60>n<EFBFBD>d>Ϡ_<1E><>rC<72>z-i<00><><EFBFBD>E<EFBFBD>ǂ<EFBFBD>ǖ<><C796><EFBFBD><EFBFBD>e<EFBFBD> <0B><><EFBFBD><EFBFBD><EFBFBD>F- <1D><><EFBFBD>PU<50><55>D+#<05><>7ll<6C>tZs<5A><73><EFBFBD>ʙS<CA99>]<5D><>x<EFBFBD>_U<11><><EFBFBD><EFBFBD>Cc<43>m<EFBFBD><6D><EFBFBD>v<><76>{f<>dc<64>'9g<39><67><EFBFBD>j|<1A><>1<1A>{<7B><>h<EFBFBD>ڠ<EFBFBD><DAA0>'<27>'<27><>h<EFBFBD>m<><6D>pp<70><70>a<EFBFBD>cxb<0E><><EFBFBD><EFBFBD><EFBFBD>}u1f<31><66>9<EFBFBD><1C><><EFBFBD><EFBFBD>g<EFBFBD>?^<5E><>`
+<2B><12>z <0B><14><><16>[RBb<42>R<EFBFBD>O&<26>Q[[b<>P<EFBFBD>/<2F>|0<>9mL(˼<>.<2E>ۚ6'<08><><EFBFBD>S<EFBFBD> <0B>2<EFBFBD><32><EFBFBD><06><><EFBFBD><EFBFBD>8W"<22><><EFBFBD>p<EFBFBD>xڰ4<05><>Z<EFBFBD><5A>P<EFBFBD>ܒaM<61>q<EFBFBD><71><EFBFBD><00>9<EFBFBD>`󐑠.Rś<>}?C<14><><EFBFBD>g/.^<5E>}{<7B>fJH6Db<44><62>3<1E><>Z<1D><10>|<7C><>}b5g4<><34><EFBFBD>4<EFBFBD><34>e<05>К<D995>׈ęc<C499>Q<EFBFBD><51><10>sMz<4D>c<EFBFBD>2<EFBFBD><32><06>$
+Y<>ي+dJMu<4D>m$ <15><19>1a<31>Z<EFBFBD><5A>+f<>0<EFBFBD>D<EFBFBD>YJ<59><4A> WR yu}<7D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD><69><EFBFBD>2YϪF<CFAA>[B<><42><EFBFBD><EFBFBD>jR'<27>!ˆe<C288><65><14><>f<EFBFBD>H<EFBFBD>$j<>B<EFBFBD><42>H,P\
+l<>k<EFBFBD>><3E><>9<EFBFBD><39><EFBFBD><EFBFBD>d<EFBFBD>5 <09>F<EFBFBD>eeh23H<33>xlp)<29>B<EFBFBD>Kd1<64>C<00>4<EFBFBD><34>]<'}<7D><12>1RJo<14>P?<3F>r<EFBFBD>Rd!<12>N,[r%jN<6A><4E><EFBFBD><EFBFBD><EFBFBD>9v<><76>#<23>
+a*@v<1B><><EFBFBD>R<EFBFBD><52>%<25>4<>h<EFBFBD><68>8<EFBFBD><38>"I<><49><EFBFBD>as<61><73><EFBFBD>Ah<41><11><1C>/<2F>e^<5E><1C>;c<>V#<23>J<EFBFBD>,B<>>X,Q<0E><>n<EFBFBD><1F><><EFBFBD>5n<> <1C>%<25><10>KW<4B>I;/E<>8<EFBFBD><38><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?è<>h#<23>e<EFBFBD>k<EFBFBD>Cs<43><73>C8+<2B>Du<44><75><EFBFBD><EFBFBD>Ǝ<1B><><EFBFBD><EFBFBD>b<EFBFBD>D"U<>j<EFBFBD>e~r33\<5C><12> %<25>F__<5F>
+V<>:<3A><><EFBFBD>Aj<41>1
+<2B><>Q<EFBFBD><51><EFBFBD>s`<60>H<EFBFBD><48><19><> <0C>c<EFBFBD><63><EFBFBD><EFBFBD><EFBFBD>b<EFBFBD><62><EFBFBD>"_,<2C><>b<EFBFBD>Qv<51>3<EFBFBD>q<EFBFBD>"<22>*@<40>?d<>Z<EFBFBD>8 <0C><>S<EFBFBD>1<EFBFBD> V<><56>%*<2A><><EFBFBD>ٵ=wEh<45><68>o<EFBFBD>w
<EFBFBD>L<EFBFBD><EFBFBD><03><>V<19><>X<06>p<EFBFBD><70>,8<><38><EFBFBD>C<EFBFBD><43><EFBFBD> <*<2A>M<EFBFBD><4D>֌<10><><EFBFBD> "<22>\<5C><><EFBFBD><E2BBB3><EFBFBD>N<EFBFBD>w<EFBFBD>w<EFBFBD><77>br<62><72>z<EFBFBD>u<EFBFBD><75>C<19><>`m㯵Js&-<2D><><10><>V;<3B>)
<EFBFBD><EFBFBD><EFBFBD>ߜ<><DF9C>E<><45>6<EFBFBD>
<EFBFBD><02><>0<EFBFBD>
B<1A><17>~e<><65><EFBFBD>j<><6A><EFBFBD>}A:<3A><><EFBFBD><EFBFBD>Լ<EFBFBD>_<EFBFBD>o<>uR<>@9<>^<5E><><EFBFBD>S7<53>2T5"<22>H<EFBFBD>q=&<26>Pi<50>h<>%<25><>_<EFBFBD><5F><EFBFBD><17> 0V<>
hD<1F><1C>O<EFBFBD>)<29><>ֈB<0<01><>Vd
7 <0B>CUi<55><19>J<EFBFBD>)<11><><EFBFBD><10><><EFBFBD>2<EFBFBD>Qt<51><74><EFBFBD><EFBFBD><EFBFBD>Tjœ<6A>G<0E><><EFBFBD>( <0B>a<><61>^\]r<>r)<29>8 ƈ<18><><EFBFBD>_<EFBFBD><5F><EFBFBD><EFBFBD>@h<><68>@dpPi<50>R<EFBFBD><52><EFBFBD><EFBFBD>juW<75>a<EFBFBD><61>d#<23>L]<5D>z7<7A><37><EFBFBD><EFBFBD>F<EFBFBD>3
<EFBFBD>%<25><>8H3<48><[<5B>p}<7D><><EFBFBD><EFBFBD><EFBFBD><7F><EFBFBD>w<EFBFBD><77>"<22>/m4<6D>Uƙo<C699>E<1B><>[<5B>4}E<>J7<4A><37>f<EFBFBD><05><1C><>57a<37>E<EFBFBD><45>q<EFBFBD>y@W<>M<EFBFBD><4D>rI7F<37>#<23><><EFBFBD><1A>"<22><>A<EFBFBD>ǀY<01><><EFBFBD><EFBFBD><03>Օ<EFBFBD>\nx%<25><>Dw<44><77><EFBFBD> <09><><EFBFBD>y<EFBFBD><79>2<14><>Q3?Y<><59>e<0E><>ϹZE<><45>&ðk<C3B0><6B><17><><EFBFBD><EFBFBD>92%<25>Et[<5B><><EFBFBD>8D<38><44>b%<25>e<EFBFBD>j<EFBFBD><6A>&<26><>04&P<>5<EFBFBD>nkx<6B>j<EFBFBD><6A>U6E<13>6;<3B>&<1C><> <0B>n#^pL<70>R<EFBFBD>d}<7D>2>ITP<54><50><EFBFBD><EFBFBD>cS<63>ԣ<02>V<EFBFBD> <20>pg<70><67>
<EFBFBD>ʀ<EFBFBD>
+<2B>1ƞi<C69E><69><EFBFBD><EFBFBD>a <0B><>i<>BH"X><3E>L<EFBFBD><4C><EFBFBD><EFBFBD>ً<EFBFBD><D98B>ׯ<EFBFBD>MCz<43><7A>J; <02><>
+d<>j@a<>y<EFBFBD>d))<29><><EFBFBD><EFBFBD>j<EFBFBD>i<EFBFBD><69><EFBFBD>Z<EFBFBD><5A><18><><EFBFBD><05><0<11>Q'<27>~<7E><1B>a<EFBFBD><61><EFBFBD>><3E>#o<><6F><EFBFBD><EFBFBD>ǀ<>Ȣ<EFBFBD>G<EFBFBD>;<3B><>G~<7E>ci<63><69><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1l<31><6C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Zh<5A><68>Zh<5A><68>Zh<5A><68>Zh<5A><68>Zh<5A><68>Zh<5A><68><EFBFBD>/<2F>/<2F><>VHP
\ No newline at end of file
diff -Naurp pcp-5.3.7.orig/src/pmdas/hacluster/help pcp-5.3.7/src/pmdas/hacluster/help
--- pcp-5.3.7.orig/src/pmdas/hacluster/help 2023-07-10 16:51:15.069365777 +1000
+++ pcp-5.3.7/src/pmdas/hacluster/help 2023-07-10 16:52:18.069511419 +1000
@@ -103,9 +103,9 @@ of 1 confirms the node status as shutdow
Whether the expected_up status is reported by the node in the cluster, a
value of 1 confirms the node status as expected_up.
-@ ha_cluster.pacemaker.nodes.status.dc Whether the node status is given as disconnected
-Whether the disconnected status is reported by the node in the cluster, a
-value of 1 confirms the node status as disconnected.
+@ ha_cluster.pacemaker.nodes.status.dc Whether the node status is given as the DC
+Whether the DC status is reported by the node in the cluster, a
+value of 1 confirms the node status as the designated coordinator.
@ ha_cluster.pacemaker.resources.agent The name of the resource agent for this resource
The name given for the resource agent for the given resource instance in the
diff -Naurp pcp-5.3.7.orig/src/pmdas/hacluster/pacemaker.c pcp-5.3.7/src/pmdas/hacluster/pacemaker.c
--- pcp-5.3.7.orig/src/pmdas/hacluster/pacemaker.c 2023-07-10 16:51:15.069365777 +1000
+++ pcp-5.3.7/src/pmdas/hacluster/pacemaker.c 2023-07-10 16:52:18.069511419 +1000
@@ -534,18 +534,33 @@ hacluster_refresh_pacemaker_nodes(const
/* Collect our node names */
if (found_nodes && strstr(buffer, node_name)) {
- sscanf(buffer, "%*s %*s %*s online=\"%9[^\"]\" standby=\"%9[^\"]\" standby_onfail=\"%9[^\"]\" maintenance=\"%9[^\"]\" pending=\"%9[^\"]\" unclean=\"%9[^\"]\" shutdown=\"%9[^\"]\" expected_up=\"%9[^\"]\" is_dc =\"%9[^\"]\" %*s type=\"%9[^\"]\"",
- online,
- standby,
- standby_on_fail,
- maintenance,
- pending,
- unclean,
- shutdown,
- expected_up,
- dc,
- nodes->type
- );
+ if(strstr(buffer, "feature_set")) {
+ sscanf(buffer, "%*s %*s %*s online=\"%9[^\"]\" standby=\"%9[^\"]\" standby_onfail=\"%9[^\"]\" maintenance=\"%9[^\"]\" pending=\"%9[^\"]\" unclean=\"%9[^\"]\" %*s %*s shutdown=\"%9[^\"]\" expected_up=\"%9[^\"]\" is_dc =\"%9[^\"]\" %*s type=\"%9[^\"]\"",
+ online,
+ standby,
+ standby_on_fail,
+ maintenance,
+ pending,
+ unclean,
+ shutdown,
+ expected_up,
+ dc,
+ nodes->type
+ );
+ } else {
+ sscanf(buffer, "%*s %*s %*s online=\"%9[^\"]\" standby=\"%9[^\"]\" standby_onfail=\"%9[^\"]\" maintenance=\"%9[^\"]\" pending=\"%9[^\"]\" unclean=\"%9[^\"]\" shutdown=\"%9[^\"]\" expected_up=\"%9[^\"]\" is_dc =\"%9[^\"]\" %*s type=\"%9[^\"]\"",
+ online,
+ standby,
+ standby_on_fail,
+ maintenance,
+ pending,
+ unclean,
+ shutdown,
+ expected_up,
+ dc,
+ nodes->type
+ );
+ }
nodes->online = bool_convert(online);
nodes->standby = bool_convert(standby);