8446b38347
hacluster uses the command "crm configure get-property <CMD>" to obtain
a property of the cluster, although "get-property" has been deprecated
in favor of "get_property", since crmsh-4.2.1 a warning is printed to
stdout[0] breaking the parsing.
# crm configure get-property maintenance-mode 2>/dev/null
WARNING: This command 'get-property' is deprecated, please use 'get_property'
INFO: "get-property" is accepted as "get_property"
true
[0]
|
||
---|---|---|
.. | ||
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 |