list_nodes() recently had some changes to run 'crm node show'
in jammy+ instead of 'crm node status'. The difference is that
'crm node show' returns the pacemaker-remote nodes in addition
to the hacluster nodes. This change limits the nodes returned
by list_nodes() to the hacluster nodes (ie. the nodes that
have a node ID).
Reviewed: https:/ /review. opendev. org/c/openstack /charm- hacluster/ +/863138 /opendev. org/openstack/ charm-hacluster /commit/ a03b0b2a87e8667 da2f43c4e5f827d 9ff8843307
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit a03b0b2a87e8667 da2f43c4e5f827d 9ff8843307
Author: Corey Bryant <email address hidden>
Date: Tue Nov 1 11:53:21 2022 +0100
Only return hacluster nodes from list_nodes()
list_nodes() recently had some changes to run 'crm node show'
in jammy+ instead of 'crm node status'. The difference is that
'crm node show' returns the pacemaker-remote nodes in addition
to the hacluster nodes. This change limits the nodes returned
by list_nodes() to the hacluster nodes (ie. the nodes that
have a node ID).
Closes-Bug: #1995295 49f79167f8b75c1 304b598b918
Change-Id: Ia405d4270f56c9