4e53bea076
The command 'crm node show' is used on jammy to retrieve the list of nodes defined in a cluster, although this command also includes the properties set on a node (e.g. standby=off) which breaks the current logic parsing. This change uses a regular expresion to filter out all the lines from the output that don't start with a non-white character (^\S+). Change-Id: I3e00daa1b877a7faae1370f08b2d9c5bd7795c5f Closes-Bug: #1987685 Related-Bug: #1972022 |
||
---|---|---|
.. | ||
config-changed | ||
ha-relation-changed | ||
ha-relation-joined | ||
hanode-relation-changed | ||
hanode-relation-departed | ||
hanode-relation-joined | ||
hooks.py | ||
install | ||
install_deps | ||
install.real | ||
nrpe-external-master-relation-changed | ||
nrpe-external-master-relation-joined | ||
pacemaker-remote-relation-changed | ||
pacemaker-remote-relation-joined | ||
pcmk.py | ||
peer-availability-relation-changed | ||
peer-availability-relation-joined | ||
post-series-upgrade | ||
pre-series-upgrade | ||
start | ||
stop | ||
update-status | ||
upgrade-charm | ||
upgrade-charm.real | ||
utils.py |